21 lines
391 B
PHP
21 lines
391 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Foundation\Auth\User as Authenticatable;
|
|
use Illuminate\Notifications\Notifiable;
|
|
|
|
class Admin extends Authenticatable
|
|
{
|
|
use Notifiable;
|
|
|
|
protected $table = 'admin'; // Nama tabel di database
|
|
protected $fillable = [
|
|
'name', 'email', 'password',
|
|
];
|
|
|
|
protected $hidden = [
|
|
'password', 'remember_token',
|
|
];
|
|
}
|