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
@@ -0,0 +1,53 @@
<?php
namespace plugin\admin\app\model;
use plugin\admin\app\model\Base;
/**
* OpmDsWarnRecord 模型
* 表说明:opm_ds_warn_record 数据表模型
* 对应数据表:opm_ds_warn_record
* @property int $id id(非空,主键,默认值:1)
* @property int $hospital_id hospital_id
* @property int $cycle_id cycle_id
* @property int $device_id device_id
* @property string $warn_data warn_data
* @property string $notifier notifier
* @property string $notification_time notification_time
* @property int $status status 1报警 2处理
* @property string $action action 处置方法
* @property string $action_name action_name 处置人员
* @property string $action_time action_time 处置时间
* @property int $type type 1 温度 2压力 3时间
* @property string $created_at created_at
* @property int $notifier_type notifier_type 1短信 2电话 3微信(默认值:1)
* @property int $level level 1 初级 2中级 3高级(默认值:1)
* @property int $is_sync is_sync(默认值:1
*/
class OpmDsWarnRecord extends Base
{
/**
* 数据表名
* @var string
*/
protected $table = 'opm_ds_warn_record';
/**
* 主键字段名
* @var string
*/
protected $pk = 'id';
/**
* 关闭自动时间戳(如需开启请改为 true,需确保表有 create_time/update_time 字段)
* @var bool
*/
protected $autoWriteTimestamp = false;
/**
* 字段严格检查(false=允许操作未定义字段)
* @var bool
*/
protected $strict = false;
}