mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
28 lines
485 B
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;
|
|
}
|
|
}
|