<?php
namespace App\Models\Inventory;
use App\Traits\BelongsToStore;
use Illuminate\Database\Eloquent\Model;
class Material extends Model
{
    use BelongsToStore;
    protected $fillable = ['store_id','name','code','category','unit','spec','min_stock','shelf_life_days','status'];
    protected function casts(): array { return ['min_stock'=>'integer','shelf_life_days'=>'integer','status'=>'integer']; }
}
