*/ use HasFactory, Notifiable, HasRoles; public const ROLE_ADMIN = 'admin'; public const ROLE_KAUNTER = 'petugas_kaunter'; public const ROLE_CABUTAN = 'petugas_cabutan'; protected $fillable = [ 'name', 'email', 'password', ]; protected $hidden = [ 'password', 'remember_token', ]; protected function casts(): array { return [ 'email_verified_at' => 'datetime', 'password' => 'hashed', ]; } }