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', 'email',
'password', 'password',
'status', 'status',
'last_login_at',
]; ];
protected $hidden = [ protected $hidden = [
@@ -31,4 +32,6 @@ class Admin extends Authenticatable
{ {
return $this->hasOne(AdminPermission::class); return $this->hasOne(AdminPermission::class);
} }
} }
+4 -2
View File
@@ -12,7 +12,7 @@ use Illuminate\Database\Eloquent\Model;
/** /**
* Class File * Class File
* *
* @property int $id * @property int $id
* @property string $name * @property string $name
* @property string $extension * @property string $extension
@@ -21,7 +21,6 @@ use Illuminate\Database\Eloquent\Model;
* @property string $path * @property string $path
* @property Carbon $created_at * @property Carbon $created_at
* @property Carbon $updated_at * @property Carbon $updated_at
*
* @property Collection|Flight[] $flights * @property Collection|Flight[] $flights
* @property Collection|Tour[] $tours * @property Collection|Tour[] $tours
* @property Collection|User[] $users * @property Collection|User[] $users
@@ -58,4 +57,7 @@ class File extends Model
{ {
return $this->hasMany(User::class); return $this->hasMany(User::class);
} }
} }