feat : deliver
This commit is contained in:
@@ -8,7 +8,8 @@ use Hyperf\Database\Model\Collection;
|
||||
use Hyperf\DbConnection\Model\Model;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
* @property int $id
|
||||
* @property int $kitchen_id
|
||||
* @property string $name
|
||||
* @property int $type
|
||||
* @property string $code_value
|
||||
@@ -31,7 +32,7 @@ class Printer extends Model
|
||||
/**
|
||||
* The attributes that should be cast to native types.
|
||||
*/
|
||||
protected array $casts = ['id' => 'integer', 'type' => 'integer'];
|
||||
protected array $casts = ['id' => 'integer', 'type' => 'integer','kitchen_id' => 'integer'];
|
||||
|
||||
const CREATED_AT = 'create_time';
|
||||
const UPDATED_AT = 'update_time';
|
||||
|
||||
Reference in New Issue
Block a user