'datetime', ]; // Method untuk memeriksa peran pengguna public function hasRole($role) { return $this->role === $role; } public function bookings() { return $this->hasMany(Booking::class, 'id_user', 'id_user'); } }