47 lines
1.1 KiB
PHP
47 lines
1.1 KiB
PHP
<?php
|
||
|
||
namespace plugin\admin\app\model;
|
||
|
||
use support\Model;
|
||
|
||
/**
|
||
* OpmDsReportData 模型
|
||
* 表说明:opm_ds_report_data 数据表模型
|
||
* 对应数据表:opm_ds_report_data
|
||
* @property string $id id(非空,主键)
|
||
* @property int $sensor_id sensor_id
|
||
* @property int $cycle_id cycle_id
|
||
* @property int $run_id run_id
|
||
* @property string $name name
|
||
* @property string $temperature temperature
|
||
* @property string $pressure pressure
|
||
* @property string $sensor_time sensor_time
|
||
* @property int $is_push is_push(默认值:1)
|
||
* @property int $hospital_id hospital_id
|
||
*/
|
||
class OpmDsReportData extends Model
|
||
{
|
||
/**
|
||
* 数据表名
|
||
* @var string
|
||
*/
|
||
protected $table = 'opm_ds_report_data';
|
||
|
||
/**
|
||
* 主键字段名
|
||
* @var string
|
||
*/
|
||
protected $pk = 'id';
|
||
|
||
/**
|
||
* 关闭自动时间戳(如需开启请改为 true,需确保表有 create_time/update_time 字段)
|
||
* @var bool
|
||
*/
|
||
protected $autoWriteTimestamp = false;
|
||
|
||
/**
|
||
* 字段严格检查(false=允许操作未定义字段)
|
||
* @var bool
|
||
*/
|
||
protected $strict = false;
|
||
} |