Files
zimoyin 13fd9c5f0a init
2026-04-06 20:48:32 +08:00

56 lines
1.9 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
namespace plugin\admin\app\model;
use plugin\admin\app\model\Base;
/**
* OpmDsSensor 模型
* 表说明:opm_ds_sensor 数据表模型
* 对应数据表:opm_ds_sensor
* @property string $id id(非空,主键)
* @property int $hospital_id hospital_id 医院ID
* @property int $department_id department_id 科室ID
* @property string $sn sn 传感器SN
* @property int $type type 类型
* @property string $created_at created_at
* @property string $fixed_p fixed_p 温度标准值
* @property string $per_p per_p 压力标准值
* @property string $coding coding 设备编码
* @property string $monitorType monitorType 监测类型编码(默认值:1100)
* @property string $monitorSubType monitorSubType 监测子类型编码(默认值:1101,1102)
* @property string $model model 设备型号(默认值:OPM-DT1000
* @property string $manufactor manufactor 生产厂家(默认值:北京智感云科技有限公司)
* @property string $testContent testContent 监测内容(默认值:监测灭菌锅的温度,压力值)
* @property string $sendCycle sendCycle 发送频率(默认值:15
* @property string $patrolCycle patrolCycle 巡检周期(默认值:100
* @property string $repairCycle repairCycle 检修周期(默认值:100
* @property string $note note 备注
* @property int $is_report is_report(默认值:1
*/
class OpmDsSensor extends Base
{
/**
* 数据表名
* @var string
*/
protected $table = 'opm_ds_sensor';
/**
* 主键字段名
* @var string
*/
protected $pk = 'id';
/**
* 关闭自动时间戳(如需开启请改为 true,需确保表有 create_time/update_time 字段)
* @var bool
*/
protected $autoWriteTimestamp = false;
/**
* 字段严格检查(false=允许操作未定义字段)
* @var bool
*/
protected $strict = false;
}