|HighscoreCache newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|HighscoreCache newQuery() * @method static \Illuminate\Database\Eloquent\Builder|HighscoreCache query() * @method static \Illuminate\Database\Eloquent\Builder|HighscoreCache whereDate($value) * @method static \Illuminate\Database\Eloquent\Builder|HighscoreCache whereEmpire($value) * @method static \Illuminate\Database\Eloquent\Builder|HighscoreCache whereExp($value) * @method static \Illuminate\Database\Eloquent\Builder|HighscoreCache whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|HighscoreCache whereJob($value) * @method static \Illuminate\Database\Eloquent\Builder|HighscoreCache whereLevel($value) * @method static \Illuminate\Database\Eloquent\Builder|HighscoreCache whereName($value) * @mixin \Eloquent */ class HighscoreCache extends Model { /** * Indicates if the model should be timestamped. * * @var bool */ public $timestamps = false; /** * The table associated with the model. * * @var string */ protected $table = 'highscore_cache'; /** * The primary key for the model. * * @var string */ protected $primaryKey = 'id'; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ ]; /** * The attributes that should be hidden for serialization. * * @var array */ protected $hidden = [ ]; /** * The attributes that should be cast. * * @var array */ protected $casts = [ 'job' => CharacterClassEnum::class, 'empire' => EmpireEnum::class, 'date' => 'datetime', ]; }