diff --git a/app/Model/Chef.php b/app/Model/Chef.php index 761f072..a04a59e 100644 --- a/app/Model/Chef.php +++ b/app/Model/Chef.php @@ -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';