22 lines
371 B
PHP
22 lines
371 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 = 'admins';
|
|
|
|
protected $fillable = [
|
|
'username', 'email', 'password',
|
|
];
|
|
|
|
protected $hidden = [
|
|
'password', 'remember_token',
|
|
];
|
|
}
|