feat:chef
This commit is contained in:
@@ -12,7 +12,8 @@ use Hyperf\DbConnection\Model\Model;
|
|||||||
* @property int $id
|
* @property int $id
|
||||||
* @property int $user_id
|
* @property int $user_id
|
||||||
* @property string $profile
|
* @property string $profile
|
||||||
* @property string $specialties
|
* @property string $specialties
|
||||||
|
* @property int $kitchen_id
|
||||||
* @property int $is_del
|
* @property int $is_del
|
||||||
* @property string $create_time
|
* @property string $create_time
|
||||||
* @property string $update_time
|
* @property string $update_time
|
||||||
@@ -32,7 +33,7 @@ class Chef extends Model
|
|||||||
/**
|
/**
|
||||||
* The attributes that should be cast to native types.
|
* 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';
|
const string CREATED_AT = 'create_time';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user