mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 18:57:34 -05: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;
 | 
						|
    }
 | 
						|
}
 |