45 lines
812 B
PHP
45 lines
812 B
PHP
<?php
|
|
|
|
/**
|
|
* Created by Reliese Model.
|
|
*/
|
|
|
|
namespace App\Models;
|
|
|
|
use Carbon\Carbon;
|
|
use GeneaLabs\LaravelModelCaching\Traits\Cachable;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
|
|
/**
|
|
* Class CountryLocale
|
|
*
|
|
* @property int $id
|
|
* @property string $name
|
|
* @property string $slug
|
|
* @property string $i18n
|
|
* @property bool $enabled
|
|
* @property string|null $deleted_at
|
|
* @property Carbon|null $created_at
|
|
* @property Carbon|null $updated_at
|
|
*/
|
|
class CountryLocale extends Model
|
|
{
|
|
use SoftDeletes, Cachable;
|
|
|
|
protected $table = 'country_locales';
|
|
|
|
protected $casts = [
|
|
'enabled' => 'bool',
|
|
];
|
|
|
|
protected $fillable = [
|
|
'name',
|
|
'slug',
|
|
'i18n',
|
|
'lang',
|
|
'country_iso',
|
|
'enabled',
|
|
];
|
|
}
|