*/ protected $fillable = [ 'tenant_id', 'user_role', 'username', 'firstname', 'nickname', 'lastname', 'local_group_id', 'membership_id', 'address_1', 'address_2', 'postcode', 'city', 'email', 'phone', 'birthday', 'medications', 'allergies', 'intolerances', 'eating_habits', 'swimming_permission', 'first_aid_permission', 'bank_account_iban', 'password', ]; /** * The attributes that should be hidden for serialization. * * @var list */ protected $hidden = [ 'remember_token', ]; /** * Get the attributes that should be cast. * * @return array */ protected function casts(): array { return [ 'email_verified_at' => 'datetime', 'password' => 'hashed', ]; } }