<?php
 namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Country extends Model { use HasFactory; protected $fillable = [ 'common_name', 'native_name', 'a2_iso', 'a3_iso', 'default_currency_id', 'capital_id', 'region', 'subregion', 'default_language_id', 'coordinates', ]; public function cities() { return $this->hasMany(City::class); } } 