83 lines
2.3 KiB
PHP
83 lines
2.3 KiB
PHP
<?php
|
|
|
|
namespace App\Models\Game\Player;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* @property int $id
|
|
* @property int $map_index
|
|
* @property int $x
|
|
* @property int $y
|
|
* @property int $width
|
|
* @property int $height
|
|
* @property int|null $guild_id
|
|
* @property int $guild_level_limit
|
|
* @property int $price
|
|
* @property string $enable
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|Land newModelQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|Land newQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|Land query()
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|Land whereEnable($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|Land whereGuildId($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|Land whereGuildLevelLimit($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|Land whereHeight($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|Land whereId($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|Land whereMapIndex($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|Land wherePrice($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|Land whereWidth($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|Land whereX($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|Land whereY($value)
|
|
* @mixin \Eloquent
|
|
*/
|
|
class Land extends Model
|
|
{
|
|
/**
|
|
* Indicates if the model should be timestamped.
|
|
*
|
|
* @var bool
|
|
*/
|
|
public $timestamps = false;
|
|
|
|
/**
|
|
* The table associated with the model.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $table = 'land';
|
|
|
|
/**
|
|
* The primary key for the model.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $primaryKey = 'id';
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array<int, string>
|
|
*/
|
|
protected $fillable = [
|
|
|
|
];
|
|
|
|
/**
|
|
* 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 = [
|
|
|
|
];
|
|
}
|