Files
aibuddytool/app/Models/CountryLocale.php
Charles T ded1643e5f Add (post manage)
Add (post country viewing)
2023-07-28 02:29:11 +08:00

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',
];
}