|
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Foundation\Auth\User as Authenticatable;
|
|
|
|
class AdminModel extends Authenticatable
|
|
{
|
|
protected $table = 'users';
|
|
|
|
protected $fillable = [
|
|
'name', 'email', 'password', 'tipe_pengguna',
|
|
];
|
|
|
|
protected $hidden = [
|
|
'password',
|
|
];
|
|
}
|