|RefineProto newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|RefineProto newQuery() * @method static \Illuminate\Database\Eloquent\Builder|RefineProto query() * @method static \Illuminate\Database\Eloquent\Builder|RefineProto whereCost($value) * @method static \Illuminate\Database\Eloquent\Builder|RefineProto whereCount0($value) * @method static \Illuminate\Database\Eloquent\Builder|RefineProto whereCount1($value) * @method static \Illuminate\Database\Eloquent\Builder|RefineProto whereCount2($value) * @method static \Illuminate\Database\Eloquent\Builder|RefineProto whereCount3($value) * @method static \Illuminate\Database\Eloquent\Builder|RefineProto whereCount4($value) * @method static \Illuminate\Database\Eloquent\Builder|RefineProto whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|RefineProto whereProb($value) * @method static \Illuminate\Database\Eloquent\Builder|RefineProto whereResultVnum($value) * @method static \Illuminate\Database\Eloquent\Builder|RefineProto whereSrcVnum($value) * @method static \Illuminate\Database\Eloquent\Builder|RefineProto whereVnum0($value) * @method static \Illuminate\Database\Eloquent\Builder|RefineProto whereVnum1($value) * @method static \Illuminate\Database\Eloquent\Builder|RefineProto whereVnum2($value) * @method static \Illuminate\Database\Eloquent\Builder|RefineProto whereVnum3($value) * @method static \Illuminate\Database\Eloquent\Builder|RefineProto whereVnum4($value) * @mixin \Eloquent */ class RefineProto extends Model { /** * Indicates if the model should be timestamped. * * @var bool */ public $timestamps = false; /** * The table associated with the model. * * @var string */ protected $table = 'refine_proto'; /** * 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 = [ ]; public function item0(): BelongsTo { return $this->belongsTo(ItemProto::class, 'vnum0'); } public function item1(): BelongsTo { return $this->belongsTo(ItemProto::class, 'vnum1'); } public function item2(): BelongsTo { return $this->belongsTo(ItemProto::class, 'vnum2'); } public function item3(): BelongsTo { return $this->belongsTo(ItemProto::class, 'vnum3'); } public function item4(): BelongsTo { return $this->belongsTo(ItemProto::class, 'vnum4'); } }