feat:dish

This commit is contained in:
LAPTOP-7SGDREK0\shiweijun
2025-02-06 15:30:15 +08:00
parent c0b032d706
commit c0dffe3dc7
5 changed files with 228 additions and 8 deletions

View File

@@ -17,7 +17,6 @@ use Hyperf\DbConnection\Model\Model;
* @property string $side_dish
* @property string $flavor
* @property int $cycle_id
* @property int $status
* @property int $city_id
* @property int $kitchen_id
* @property int $chef_id
@@ -40,7 +39,7 @@ class Dish extends Model
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['id' => 'integer', 'pre_quantity' => 'integer', 'cycle_id' => 'integer', 'status' => 'integer', 'city_id' => 'integer','kitchen_id' => 'integer', 'chef_id' => 'integer', 'is_del' => 'integer'];
protected array $casts = ['id' => 'integer', 'pre_quantity' => 'integer', 'cycle_id' => 'integer', 'city_id' => 'integer','kitchen_id' => 'integer', 'chef_id' => 'integer', 'is_del' => 'integer'];
const string CREATED_AT = 'create_time';