This commit is contained in:
Laucha1312
2026-06-04 15:14:46 -03:00
parent ed94601e34
commit 0841794c50
76 changed files with 0 additions and 7737 deletions
-36
View File
@@ -1,36 +0,0 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class AdminUser extends Model
{
protected $table = 'admin_users';
protected $primaryKey = 'id';
public $timestamps = false;
protected $fillable = [
'username',
'password',
'role',
'id_club',
'reset_token',
'reset_expira',
];
public function club()
{
return $this->belongsTo(Club::class, 'id_club', 'id_club');
}
protected $hidden = [
'password',
'reset_token',
];
protected $casts = [
'role' => 'integer',
'reset_expira' => 'datetime',
];
}