feat : deliver

This commit is contained in:
2025-04-03 16:39:34 +08:00
parent 41b9993f36
commit 45d65ad4e2
3 changed files with 128 additions and 2 deletions

View File

@@ -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';