feat: 实现TCP Server
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
<?php
|
||||
|
||||
namespace app\model;
|
||||
|
||||
use support\Model;
|
||||
|
||||
/**
|
||||
* EctActions 模型
|
||||
* 表说明:ect_actions 数据表模型
|
||||
* 对应数据表:ect_actions
|
||||
* @property int $action_id action_id(非空,主键)
|
||||
* @property string $reader_no reader_no 读卡器号码(原始数据)
|
||||
* @property int $reader_id reader_id 读卡器ID
|
||||
* @property int $action_type action_type 0诊疗 1手工洗 2机洗 3 手工洗(晨洗)4机洗(晨洗)5手工洗(加强)6机洗(加强)
|
||||
* @property string $action_type_name action_type_name
|
||||
* @property string $process_order process_order
|
||||
* @property string $process_name process_name 流程名称
|
||||
* @property string $op_batchno op_batchno 编号 年月日0001
|
||||
* @property int $op_enhance op_enhance 0 普通洗 1 加强洗
|
||||
* @property int $op_morning op_morning 0 普通洗 1 晨洗
|
||||
* @property int $opuser_type opuser_type 0 医生 1 洗消工
|
||||
* @property int $opuser_id opuser_id 操作人ID:诊疗医生ID,或,清洗工ID
|
||||
* @property string $opuser_rfid opuser_rfid 操作人RFID
|
||||
* @property string $opuser_name opuser_name 姓名
|
||||
* @property int $endoscope_id endoscope_id 内镜ID
|
||||
* @property string $endoscope_rfid endoscope_rfid 内镜RFID
|
||||
* @property string $endoscope_name endoscope_name 内镜名称
|
||||
* @property int $patient_id patient_id 病人ID
|
||||
* @property string $patient_code patient_code 病人编号
|
||||
* @property string $patient_name patient_name 病人姓名
|
||||
* @property string $created_at created_at 写入数据表时间
|
||||
* @property string $op_starttime op_starttime(非空)
|
||||
* @property int $op_duration op_duration 流程持续时间(秒)
|
||||
* @property string $op_endtime op_endtime 流程结束时间
|
||||
* @property int $action2cycle action2cycle
|
||||
*/
|
||||
class EctActions extends Model
|
||||
{
|
||||
/**
|
||||
* 数据表名
|
||||
* @var string
|
||||
*/
|
||||
protected $table = 'ect_actions';
|
||||
|
||||
/**
|
||||
* 主键字段名
|
||||
* @var string
|
||||
*/
|
||||
protected $primaryKey = 'action_id';
|
||||
|
||||
/**
|
||||
* 关闭自动时间戳
|
||||
* @var bool
|
||||
*/
|
||||
public $timestamps = false;
|
||||
|
||||
/**
|
||||
* 允许批量赋值所有字段
|
||||
* @var array
|
||||
*/
|
||||
protected $guarded = [];
|
||||
}
|
||||
Reference in New Issue
Block a user