52 lines
1.4 KiB
PHP
52 lines
1.4 KiB
PHP
<?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;
|
||
} |