<?php

namespace App\Models;

use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;

class Admin extends Authenticatable
{
    use Notifiable;

    protected $fillable = ['nombre', 'email', 'password', 'avatar', 'activo'];

    protected $hidden = ['password', 'remember_token'];

    protected $casts = ['activo' => 'boolean'];
}
