This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
site-base/app/Models/Old/Country.php
Deon George 33658e37a3
WIP: Standard backend theme page and login
Signed-off-by: Deon George <deon@leenooks.net>
2017-12-12 16:28:49 +11:00

18 lines
280 B
PHP

<?php
namespace App\Models\Old;
use Illuminate\Database\Eloquent\Model;
class Country extends Model
{
protected $table = 'ab_country';
/**
* The currency this country belongs to
*/
public function currency()
{
return $this->belongsTo('App\Models\Old\Currency');
}
}