<?php

namespace Modules\Admin\app\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
use Spatie\Permission\Traits\HasRoles;

class User extends Model
{
    use HasApiTokens, HasFactory, Notifiable;
    use HasRoles;

    public function __construct()
    {
        $this->table = 'users';
        $this->guarded = [];
        $this->hidden = [
            'password',
            'forgot_code',
        ];
    }
}
