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