init
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
namespace plugin\admin\app\model;
|
||||
|
||||
use plugin\admin\app\model\Base;
|
||||
|
||||
/**
|
||||
* OpmDsCamera 模型
|
||||
* 表说明:opm_ds_camera 数据表模型
|
||||
* 对应数据表:opm_ds_camera
|
||||
* @property string $id id(非空,主键)
|
||||
* @property int $hospital_id hospital_id
|
||||
* @property int $department_id department_id
|
||||
* @property string $url url
|
||||
* @property string $name name
|
||||
* @property string $created_at created_at
|
||||
*/
|
||||
class OpmDsCamera extends Base
|
||||
{
|
||||
/**
|
||||
* 数据表名
|
||||
* @var string
|
||||
*/
|
||||
protected $table = 'opm_ds_camera';
|
||||
|
||||
/**
|
||||
* 主键字段名
|
||||
* @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