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

43 lines
648 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;
/**
* Class Country
*/
2015-03-16 22:45:25 +01:00
class Country extends Eloquent
{
/**
* @var bool
*/
2015-07-02 22:21:29 +02:00
public $timestamps = false;
2015-03-16 22:45:25 +01:00
/**
* @var array
*/
protected $visible = [
'id',
'name',
'swap_postal_code',
'swap_currency_symbol',
'thousand_separator',
'decimal_separator'
];
/**
* @var array
*/
protected $casts = [
'swap_postal_code' => 'boolean',
'swap_currency_symbol' => 'boolean',
];
2015-07-02 22:21:29 +02:00
/**
* @return mixed
*/
2015-07-02 22:21:29 +02:00
public function getName()
{
return $this->name;
}
2015-03-16 22:45:25 +01:00
}