|
|
@ -16,4 +16,9 @@ class Supplier extends BaseModel |
|
|
$this->attributes['password'] = password_hash($value, PASSWORD_BCRYPT); |
|
|
$this->attributes['password'] = password_hash($value, PASSWORD_BCRYPT); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function agentProductItem() |
|
|
|
|
|
{ |
|
|
|
|
|
return $this->hasMany(AgentProductItem::class); |
|
|
|
|
|
} |
|
|
} |
|
|
} |