feat: final updates

This commit is contained in:
2026-08-22 11:11:28 -07:00
parent 618a3d4cd9
commit d4bb1b9414
43 changed files with 1136 additions and 375 deletions
+7 -3
View File
@@ -11,11 +11,11 @@ use Illuminate\Database\Eloquent\Model;
/**
* Class City
*
*
* @property int $id
* @property int $province_id
* @property string $name
*
*
* @property Province $province
* @property Collection|User[] $users
*
@@ -24,7 +24,6 @@ use Illuminate\Database\Eloquent\Model;
class City extends Model
{
protected $table = 'cities';
public $timestamps = false;
public static $snakeAttributes = false;
protected $casts = [
@@ -45,4 +44,9 @@ class City extends Model
{
return $this->hasMany(User::class);
}
public function airports()
{
return $this->hasMany(Airport::class);
}
}