You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
772 B
38 lines
772 B
<?php |
|
|
|
namespace App\Models; |
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory; |
|
use Illuminate\Notifications\Notifiable; |
|
use Illuminate\Foundation\Auth\User as Authenticatable; |
|
use Laravel\Sanctum\HasApiTokens; |
|
|
|
class Usuario extends Authenticatable |
|
{ |
|
use HasApiTokens, HasFactory, Notifiable; |
|
|
|
protected $table = 'pbx_usuarios'; |
|
public $timestamps = false; |
|
|
|
/** |
|
* The attributes that are mass assignable. |
|
* |
|
* @var array<int, string> |
|
*/ |
|
protected $fillable = [ |
|
'nome', |
|
'email', |
|
'apelido', |
|
'senha', |
|
'matricula' |
|
]; |
|
|
|
/** |
|
* The attributes that should be hidden for serialization. |
|
* |
|
* @var array<int, string> |
|
*/ |
|
protected $hidden = [ |
|
'senha', |
|
]; |
|
}
|
|
|