Files
zimoyin 1a84e92384 init
2026-04-03 11:32:19 +08:00

67 lines
2.1 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
namespace plugin\admin\app\model;
use plugin\admin\app\model\Base;
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 Base
{
/**
* 数据表名
* @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;
}