diff --git a/app/Models/Admin.php b/app/Models/Admin.php index 47babe5..b7e8cd3 100644 --- a/app/Models/Admin.php +++ b/app/Models/Admin.php @@ -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); } + + } diff --git a/app/Models/File.php b/app/Models/File.php index 96adc2e..859477f 100644 --- a/app/Models/File.php +++ b/app/Models/File.php @@ -12,7 +12,7 @@ use Illuminate\Database\Eloquent\Model; /** * Class File - * + * * @property int $id * @property string $name * @property string $extension @@ -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); } + + + }