<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Auth\User as Authenticatable;
class Admin extends Authenticatable
{
protected $fillable = [
"name",
"lastname",
"email",
"phone",
"status",
"role",
"permissions",
"password",
"created_by",
];
protected $table = 'admin_users';
protected $casts = [
'permissions' => 'array',
];
protected $hidden = [
'password',
];
}