*/ protected $fillable = [ 'first_name', 'last_name', 'middle_name', 'email', 'phone', 'photo', 'password', ]; /** * The attributes that should be hidden for serialization. * * @var array */ protected $hidden = [ 'password', ]; public function feedback() { return $this->hasMany(Feedback::class); } public function offers() { return $this->hasMany(Offer::class); } }