fix: update models

This commit is contained in:
2026-08-19 15:43:35 -07:00
parent 5d9fca2753
commit dc77f3b50f
2 changed files with 7 additions and 2 deletions
+3
View File
@@ -16,6 +16,7 @@ class Admin extends Authenticatable
'email',
'password',
'status',
'last_login_at',
];
protected $hidden = [
@@ -31,4 +32,6 @@ class Admin extends Authenticatable
{
return $this->hasOne(AdminPermission::class);
}
}
+3 -1
View File
@@ -21,7 +21,6 @@ use Illuminate\Database\Eloquent\Model;
* @property string $path
* @property Carbon $created_at
* @property Carbon $updated_at
*
* @property Collection|Flight[] $flights
* @property Collection|Tour[] $tours
* @property Collection|User[] $users
@@ -58,4 +57,7 @@ class File extends Model
{
return $this->hasMany(User::class);
}
}