|Stock newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|Stock newQuery() * @method static \Illuminate\Database\Eloquent\Builder|Stock query() * @method static \Illuminate\Database\Eloquent\Builder|Stock whereBarcode($value) * @method static \Illuminate\Database\Eloquent\Builder|Stock whereBrand($value) * @method static \Illuminate\Database\Eloquent\Builder|Stock whereCategory($value) * @method static \Illuminate\Database\Eloquent\Builder|Stock whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Stock whereDate($value) * @method static \Illuminate\Database\Eloquent\Builder|Stock whereDiscount($value) * @method static \Illuminate\Database\Eloquent\Builder|Stock whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|Stock whereInWayFromClient($value) * @method static \Illuminate\Database\Eloquent\Builder|Stock whereInWayToClient($value) * @method static \Illuminate\Database\Eloquent\Builder|Stock whereIsRealization($value) * @method static \Illuminate\Database\Eloquent\Builder|Stock whereIsSupply($value) * @method static \Illuminate\Database\Eloquent\Builder|Stock whereLastChangeDate($value) * @method static \Illuminate\Database\Eloquent\Builder|Stock whereNmId($value) * @method static \Illuminate\Database\Eloquent\Builder|Stock wherePrice($value) * @method static \Illuminate\Database\Eloquent\Builder|Stock whereQuantity($value) * @method static \Illuminate\Database\Eloquent\Builder|Stock whereQuantityFull($value) * @method static \Illuminate\Database\Eloquent\Builder|Stock whereScCode($value) * @method static \Illuminate\Database\Eloquent\Builder|Stock whereSubject($value) * @method static \Illuminate\Database\Eloquent\Builder|Stock whereSupplierArticle($value) * @method static \Illuminate\Database\Eloquent\Builder|Stock whereTechSize($value) * @method static \Illuminate\Database\Eloquent\Builder|Stock whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Stock whereWarehouseName($value) * @mixin \Eloquent */ class Stock extends Model { protected $table = 'stocks'; protected $fillable = [ 'date', 'last_change_date', 'supplier_article', 'tech_size', 'barcode', 'quantity', 'is_supply', 'is_realization', 'quantity_full', 'warehouse_name', 'in_way_to_client', 'in_way_from_client', 'nm_id', 'subject', 'category', 'brand', 'sc_code', 'price', 'discount', ]; protected function casts(): array { return [ 'date' => 'date', 'last_change_date' => 'date', 'is_supply' => 'boolean', 'is_realization' => 'boolean', 'quantity' => 'integer', 'quantity_full' => 'integer', 'in_way_to_client' => 'integer', 'in_way_from_client' => 'integer', 'nm_id' => 'integer', ]; } }