feat:chef

This commit is contained in:
LAPTOP-7SGDREK0\shiweijun
2025-02-11 14:18:51 +08:00
parent 6fd4f1b455
commit f0cab985d4

View File

@@ -12,7 +12,8 @@ use Hyperf\DbConnection\Model\Model;
* @property int $id
* @property int $user_id
* @property string $profile
* @property string $specialties
* @property string $specialties
* @property int $kitchen_id
* @property int $is_del
* @property string $create_time
* @property string $update_time
@@ -32,7 +33,7 @@ class Chef extends Model
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['id' => 'integer', 'user_id' => 'integer', 'is_del' => 'integer'];
protected array $casts = ['id' => 'integer', 'user_id' => 'integer', 'kitchen_id' => 'integer', 'is_del' => 'integer'];
const string CREATED_AT = 'create_time';