feat : catering

This commit is contained in:
2025-03-13 15:08:26 +08:00
parent d461790c2f
commit 3aa241350c
10 changed files with 530 additions and 11 deletions

38
app/Model/Printer.php Normal file
View File

@@ -0,0 +1,38 @@
<?php
declare(strict_types=1);
namespace App\Model;
use Hyperf\Database\Model\Collection;
use Hyperf\DbConnection\Model\Model;
/**
* @property int $id
* @property string $name
* @property int $type
* @property string $code_value
* @property string $create_time
* @property string $update_time
*/
class Printer extends Model
{
/**
* The table associated with the model.
*/
protected ?string $table = 'printer';
/**
* The attributes that are mass assignable.
*/
protected array $fillable = [];
protected array $guarded = [];
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['id' => 'integer', 'type' => 'integer'];
const CREATED_AT = 'create_time';
const UPDATED_AT = 'update_time';
}