diff --git a/app/Models/Continent.php b/app/Models/Continent.php new file mode 100644 index 0000000..1daa59e --- /dev/null +++ b/app/Models/Continent.php @@ -0,0 +1,25 @@ +hasMany(Country::class); + } + + public function regions(): HasMany + { + return $this->hasMany(Region::class); + } +}