feat:material_application

This commit is contained in:
LAPTOP-7SGDREK0\shiweijun
2025-02-07 15:29:56 +08:00
parent f5667baa6e
commit 33595961d8
3 changed files with 10 additions and 14 deletions

View File

@@ -11,7 +11,8 @@ use Hyperf\DbConnection\Model\Model;
* @property int $id
* @property int $material_id
* @property int $dish_id
* @property int $num
* @property string $number
* @property string $al_number
* @property string $processing
* @property int $status
* @property int $city_id
@@ -36,7 +37,7 @@ class MaterialApplication extends Model
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['id' => 'integer', 'material_id' => 'integer', 'dish_id' => 'integer', 'num' => 'integer', 'status' => 'integer', 'city_id' => 'integer', 'kitchen_id' => 'integer', 'operator_id' => 'integer', 'is_del' => 'integer'];
protected array $casts = ['id' => 'integer', 'material_id' => 'integer', 'dish_id' => 'integer', 'status' => 'integer', 'city_id' => 'integer', 'kitchen_id' => 'integer', 'operator_id' => 'integer', 'is_del' => 'integer'];
const CREATED_AT = 'create_time';