mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -04:00
build version 400
This commit is contained in:
16
app/Models/Country.php
Normal file
16
app/Models/Country.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
namespace Crater\Models;
|
||||
|
||||
use Crater\Models\Address;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Country extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
public function address()
|
||||
{
|
||||
return $this->hasMany(Address::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user