Files
dsserver/plugin/admin/app/model/OpmDsCycle.php
T
zimoyin 13fd9c5f0a init
2026-04-06 20:48:32 +08:00

52 lines
1.4 KiB
PHP
Raw 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;
/**
* OpmDsCycle 模型
* 表说明:opm_ds_cycle 数据表模型
* 对应数据表:opm_ds_cycle
* @property string $id id(非空,主键)
* @property int $hospital_id hospital_id
* @property int $department_id department_id
* @property int $device_id device_id
* @property int $sensor_id sensor_id
* @property string $pack pack
* @property string $operation operation
* @property string $start_time start_time
* @property string $end_time end_time
* @property string $created_at created_at
* @property int $is_warn is_warn 1 正常 2预警(默认值:1)
* @property int $is_sync is_sync(默认值:1
* @property int $is_tag is_tag 周期检验 0未检验 1已检验(默认值:0)
* @property string $description description 问题描述
* @property int $is_mark is_mark 0 默认未标注 1 已标注(默认值:0)
*/
class OpmDsCycle extends Base
{
/**
* 数据表名
* @var string
*/
protected $table = 'opm_ds_cycle';
/**
* 主键字段名
* @var string
*/
protected $pk = 'id';
/**
* 关闭自动时间戳(如需开启请改为 true,需确保表有 create_time/update_time 字段)
* @var bool
*/
protected $autoWriteTimestamp = false;
/**
* 字段严格检查(false=允许操作未定义字段)
* @var bool
*/
protected $strict = false;
}