1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 13:42:49 +01:00
invoiceninja/app/Models/Country.php

28 lines
485 B
PHP
Raw Normal View History

2015-03-18 00:39:03 +01:00
<?php namespace App\Models;
2015-03-16 22:45:25 +01:00
2015-03-26 07:24:02 +01:00
use Eloquent;
2015-03-16 22:45:25 +01:00
class Country extends Eloquent
{
2015-07-02 22:21:29 +02:00
public $timestamps = false;
2015-03-16 22:45:25 +01:00
protected $visible = [
'id',
'name',
'swap_postal_code',
'swap_currency_symbol',
'thousand_separator',
'decimal_separator'
];
protected $casts = [
'swap_postal_code' => 'boolean',
'swap_currency_symbol' => 'boolean',
];
2015-07-02 22:21:29 +02:00
public function getName()
{
return $this->name;
}
2015-03-16 22:45:25 +01:00
}