feat: update user and flight models and add comment and admin models

This commit is contained in:
2026-08-18 09:28:06 +03:30
parent bb4196cc1b
commit 7cdfcdbef2
5 changed files with 198 additions and 31 deletions
+4
View File
@@ -104,4 +104,8 @@ class User extends Authenticate
{
return $this->hasMany(Passenger::class);
}
public function comments()
{
return $this->hasMany(Comment::class, 'user_id');
}
}