init
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
namespace plugin\admin\app\model;
|
||||
|
||||
use support\Model;
|
||||
|
||||
/**
|
||||
* OpmDsReportLog 模型
|
||||
* 表说明:opm_ds_report_log 数据表模型
|
||||
* 对应数据表:opm_ds_report_log
|
||||
* @property string $id id(非空,主键)
|
||||
* @property string $manufactor manufactor
|
||||
* @property string $hospital hospital
|
||||
* @property string $url url
|
||||
* @property string $json json
|
||||
* @property string $status status
|
||||
* @property string $link link
|
||||
* @property string $created_at created_at
|
||||
* @property int $is_push is_push(默认值:1)
|
||||
* @property string $resu resu
|
||||
* @property string $type type
|
||||
*/
|
||||
class OpmDsReportLog extends Model
|
||||
{
|
||||
/**
|
||||
* 数据表名
|
||||
* @var string
|
||||
*/
|
||||
protected $table = 'opm_ds_report_log';
|
||||
|
||||
/**
|
||||
* 主键字段名
|
||||
* @var string
|
||||
*/
|
||||
protected $pk = 'id';
|
||||
|
||||
/**
|
||||
* 关闭自动时间戳(如需开启请改为 true,需确保表有 create_time/update_time 字段)
|
||||
* @var bool
|
||||
*/
|
||||
protected $autoWriteTimestamp = false;
|
||||
|
||||
/**
|
||||
* 字段严格检查(false=允许操作未定义字段)
|
||||
* @var bool
|
||||
*/
|
||||
protected $strict = false;
|
||||
}
|
||||
Reference in New Issue
Block a user