feat: 实现TCP Server
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
namespace app\model;
|
||||
|
||||
use support\Model;
|
||||
|
||||
/**
|
||||
* EctMetaFacilities 模型
|
||||
* 表说明:设施表
|
||||
* 对应数据表:ect_meta_facilities
|
||||
* @property string $facility_id facility_id(非空,主键)
|
||||
* @property string $facility_name facility_name 槽/清洗机名称
|
||||
* @property string $facility_description facility_description 描述
|
||||
* @property string $extend_brand extend_brand 品牌
|
||||
* @property string $extend_model extend_model 型号
|
||||
* @property string $created_at created_at 创建时间
|
||||
* @property int $facility_type facility_type 1 工作站 2 洗消槽 3 清洗机 4 诊疗主机 5 镜柜 6 结束 7测漏 8 免干燥
|
||||
* @property int $facility_parent_id facility_parent_id 父ID
|
||||
* @property int $reader_id reader_id 读卡器ID
|
||||
* @property int $process_id process_id 流程ID
|
||||
* @property int $process_order process_order 流程顺序
|
||||
* @property string $status status 1.启用 2.禁用
|
||||
* @property string $department_id department_id 所属科室ID
|
||||
* @property int $detection_device_id detection_device_id
|
||||
*/
|
||||
class EctMetaFacilities extends Model
|
||||
{
|
||||
/**
|
||||
* 数据表名
|
||||
* @var string
|
||||
*/
|
||||
protected $table = 'ect_meta_facilities';
|
||||
|
||||
/**
|
||||
* 主键字段名
|
||||
* @var string
|
||||
*/
|
||||
protected $primaryKey = 'facility_id';
|
||||
|
||||
/**
|
||||
* 关闭自动时间戳
|
||||
* @var bool
|
||||
*/
|
||||
public $timestamps = false;
|
||||
|
||||
/**
|
||||
* 允许批量赋值所有字段
|
||||
* @var array
|
||||
*/
|
||||
protected $guarded = [];
|
||||
}
|
||||
Reference in New Issue
Block a user