1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 08:51:34 +02:00
invoiceninja/app/Models/Country.php

28 lines
485 B
PHP

<?php namespace App\Models;
use Eloquent;
class Country extends Eloquent
{
public $timestamps = false;
protected $visible = [
'id',
'name',
'swap_postal_code',
'swap_currency_symbol',
'thousand_separator',
'decimal_separator'
];
protected $casts = [
'swap_postal_code' => 'boolean',
'swap_currency_symbol' => 'boolean',
];
public function getName()
{
return $this->name;
}
}