From d0191dbabdf1073586eb3fcfc4fd87b6fb004254 Mon Sep 17 00:00:00 2001 From: josh Date: Fri, 3 Apr 2026 13:57:25 +1000 Subject: [PATCH] Add countries and regions --- app/Models/Continent.php | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 app/Models/Continent.php 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); + } +}