init
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace app\model;
|
||||
|
||||
use support\Model;
|
||||
|
||||
/**
|
||||
* OpmMwHospital 模型
|
||||
* 表说明:opm_mw_hospital 数据表模型
|
||||
* 对应数据表:opm_mw_hospital
|
||||
* @property string $id id(非空,主键)
|
||||
* @property int $area_id area_id
|
||||
* @property string $organ_name organ_name
|
||||
* @property string $former_name former_name
|
||||
* @property string $sql_host sql_host
|
||||
* @property string $sql_database sql_database
|
||||
* @property string $sql_port sql_port
|
||||
* @property string $sql_account sql_account
|
||||
* @property string $sql_password sql_password
|
||||
* @property string $organ_code organ_code
|
||||
* @property string $organ_level organ_level 0未定级 1一级 2二级 3三级
|
||||
* @property string $grade grade 0未定级 1甲级 2乙级
|
||||
* @property string $contacts_idcard contacts_idcard
|
||||
* @property string $phone phone
|
||||
* @property string $region_code region_code
|
||||
* @property string $address address
|
||||
* @property string $person_name person_name
|
||||
* @property string $created_at created_at
|
||||
* @property string $mobile mobile
|
||||
* @property string $push_url push_url
|
||||
* @property int $is_true is_true(默认值:1)
|
||||
* @property string $dealer dealer 经销商
|
||||
* @property string $dealer_mobile dealer_mobile 经销商联系电话
|
||||
* @property string $leader leader 医院负责人
|
||||
* @property string $leader_mobile leader_mobile 医院负责人电话
|
||||
* @property string $warranty_period warranty_period 质保期
|
||||
* @property int $is_report is_report(默认值:1)
|
||||
* @property string $url2 url2
|
||||
* @property int $is_push is_push(默认值:0)
|
||||
*/
|
||||
class OpmMwHospital extends Model
|
||||
{
|
||||
/**
|
||||
* 数据表名
|
||||
* @var string
|
||||
*/
|
||||
protected $table = 'opm_mw_hospital';
|
||||
|
||||
/**
|
||||
* 主键字段名
|
||||
* @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