'datetime', 'status' => 'int' ]; protected $hidden = [ 'password' ]; protected $fillable = [ 'first_name', 'last_name', 'email', 'mobile', 'password', 'national_code', 'birth_date', 'status' ]; public function comments() { return $this->hasMany(Comment::class); } public function favorites() { return $this->hasMany(Favorite::class); } }