*/ use HasFactory, HasPanelShield, HasRoles, Notifiable; /** * Get the attributes that should be cast. * * @return array */ protected function casts(): array { return [ 'email_verified_at' => 'datetime', 'password' => 'hashed', ]; } public function department(): BelongsTo { return $this->belongsTo(Department::class); } }