This commit is contained in:
LAPTOP-7SGDREK0\shiweijun
2025-02-18 17:15:00 +08:00
parent a314c6153e
commit 39924b5780
8 changed files with 20 additions and 22 deletions

View File

@@ -16,7 +16,7 @@ use Hyperf\DbConnection\Model\Model;
* @property string $price
* @property string $side_dish
* @property string $flavor
* @property int $cycle_id
* @property string $date
* @property int $city_id
* @property int $kitchen_id
* @property int $chef_id
@@ -39,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', 'city_id' => 'integer','kitchen_id' => 'integer', 'chef_id' => 'integer', 'is_del' => 'integer'];
protected array $casts = ['id' => 'integer', 'pre_quantity' => 'integer', 'city_id' => 'integer','kitchen_id' => 'integer', 'chef_id' => 'integer', 'is_del' => 'integer'];
const string CREATED_AT = 'create_time';