Files
aibuddytool/app/Models/CountryLocale.php
2023-10-01 00:35:27 +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 Cachable, SoftDeletes;
protected $table = 'country_locales';
protected $casts = [
'enabled' => 'bool',
];
protected $fillable = [
'name',
'slug',
'i18n',
'lang',
'country_iso',
'enabled',
];
}