/** * The attributes that should be hidden for serialization. * * @var array */ protected $hidden = [ 'password', 'remember_token', ]; /** * The attributes that should be cast. * * @var array */ protected $casts = [ 'email_verified_at' => 'datetime', 'password' => 'hashed', ]; protected $fillable = [ 'name', 'email', 'password', ]; // Define relationships if needed public function forms() { return $this->hasMany(Form::class); } public function responses() { return $this->hasMany(Response::class); } }