invoiceninja/app/Models/Country.php

16 lines
245 B
PHP
Raw Normal View History

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