67 lines
1.4 KiB
PHP
67 lines
1.4 KiB
PHP
<?php
|
|
|
|
namespace App\Models\Game\Common;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* @property int $mKey
|
|
* @property string $mValue
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|Locale newModelQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|Locale newQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|Locale query()
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|Locale whereMKey($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|Locale whereMValue($value)
|
|
* @mixin \Eloquent
|
|
*/
|
|
class Locale extends Model
|
|
{
|
|
/**
|
|
* Indicates if the model should be timestamped.
|
|
*
|
|
* @var bool
|
|
*/
|
|
public $timestamps = false;
|
|
|
|
/**
|
|
* The table associated with the model.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $table = 'locale';
|
|
|
|
/**
|
|
* The primary key for the model.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $primaryKey = 'mKey';
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array<int, string>
|
|
*/
|
|
protected $fillable = [
|
|
'mKey', 'mValue',
|
|
];
|
|
|
|
/**
|
|
* The attributes that should be hidden for serialization.
|
|
*
|
|
* @var array<int, string>
|
|
*/
|
|
protected $hidden = [
|
|
|
|
];
|
|
|
|
/**
|
|
* The attributes that should be cast.
|
|
*
|
|
* @var array<string, string>
|
|
*/
|
|
protected $casts = [
|
|
|
|
];
|
|
}
|