This commit is contained in:
zimoyin
2026-04-06 20:48:32 +08:00
parent 76e9f24aa7
commit 13fd9c5f0a
77 changed files with 6034 additions and 42 deletions
+68
View File
@@ -0,0 +1,68 @@
<?php
namespace plugin\admin\app\model;
use plugin\admin\app\model\Base;
/**
* OpmDsDevice 模型
* 表说明:opm_ds_device 数据表模型
* 对应数据表:opm_ds_device
* @property string $id id(非空,主键)
* @property int $hospital_id hospital_id 医院ID
* @property int $department_id department_id 科室ID
* @property string $name name 设备名称
* @property int $type type 1网关 2消毒灭菌器
* @property string $manufacturer manufacturer 制造单位
* @property int $status status 1正常 2离线 3报警
* @property string $description description 描述
* @property string $created_at created_at 创建时间
* @property string $buy_time buy_time 购买时间
* @property string $device_code device_code 设备编码
* @property string $device_type device_type 设备类型
* @property string $limitPressure limitPressure 灭菌锅最高压力(默认值:0.25)
* @property string $volume volume 容量(默认值:0.094
* @property string $limitTemperature limitTemperature 最高温度(默认值:150
* @property string $workPressure workPressure 工作压力(默认值:0.142
* @property string $year year(默认值:5
* @property string $monitorPerson monitorPerson 监管人
* @property string $phone phone(默认值:18730306171
* @property int $sensor_id sensor_id
* @property string $potUuid potUuid 灭菌锅唯一标识(长度36位)
* @property string $category category 产品类别
* @property string $pressure pressure 设计压力 例子(-0.1/0.28MPa
* @property string $testPressure testPressure 试压力
* @property string $temperature temperature 设计温度
* @property string $weight weight 自重
* @property string $material material 材料
* @property string $workMedium workMedium 工作介质
* @property string $productStandard productStandard 产品标准
* @property string $manufactureLicenseLevel manufactureLicenseLevel 制造许可级别
* @property string $manufactureLicenseCode manufactureLicenseCode 制造许可编码
*/
class OpmDsDevice extends Base
{
/**
* 数据表名
* @var string
*/
protected $table = 'opm_ds_device';
/**
* 主键字段名
* @var string
*/
protected $pk = 'id';
/**
* 关闭自动时间戳(如需开启请改为 true,需确保表有 create_time/update_time 字段)
* @var bool
*/
protected $autoWriteTimestamp = false;
/**
* 字段严格检查(false=允许操作未定义字段)
* @var bool
*/
protected $strict = false;
}