web/app/Models/Game/Player/Banword.php

65 lines
1.3 KiB
PHP

<?php
namespace App\Models\Game\Player;
use Illuminate\Database\Eloquent\Model;
/**
* @property int $word
* @method static \Illuminate\Database\Eloquent\Builder<static>|Banword newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder<static>|Banword newQuery()
* @method static \Illuminate\Database\Eloquent\Builder<static>|Banword query()
* @method static \Illuminate\Database\Eloquent\Builder<static>|Banword whereWord($value)
* @mixin \Eloquent
*/
class Banword extends Model
{
/**
* Indicates if the model should be timestamped.
*
* @var bool
*/
public $timestamps = false;
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'banword';
/**
* The primary key for the model.
*
* @var string
*/
protected $primaryKey = 'word';
/**
* The attributes that are mass assignable.
*
* @var array<int, string>
*/
protected $fillable = [
'word',
];
/**
* 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 = [
];
}