57 lines
1.7 KiB
PHP
57 lines
1.7 KiB
PHP
<?php
|
||
|
||
namespace plugin\admin\app\model;
|
||
|
||
|
||
/**
|
||
* OpmMwDepartment 模型
|
||
* 表说明:opm_mw_department 数据表模型
|
||
* 对应数据表:opm_mw_department
|
||
* @property string $id id(非空,主键)
|
||
* @property int $organ_id organ_id
|
||
* @property int $sort_id sort_id
|
||
* @property string $dept_name dept_name
|
||
* @property string $description description
|
||
* @property string $dept_code dept_code
|
||
* @property string $dept_det_code dept_det_code
|
||
* @property string $dept_det_name dept_det_name
|
||
* @property string $coll_type coll_type 归集方式 0:本院产生,1:外院归集(默认值:1)
|
||
* @property string $handover_code handover_code 科室的交接码,每一个科室有一个交接码
|
||
* @property string $created_at created_at
|
||
* @property int $collection_id collection_id
|
||
* @property int $card_id card_id
|
||
* @property int $storey_id storey_id 属于那栋楼
|
||
* @property int $floor_id floor_id 属于那一层
|
||
* @property int $is_sync is_sync 是否同步(默认值:1)
|
||
* @property string $type type
|
||
* @property string $report_dep_id report_dep_id
|
||
* @property int $is_report is_report(默认值:1)
|
||
* @property string $deptId deptId
|
||
* @property int $s_report s_report(默认值:1)
|
||
*/
|
||
class OpmMwDepartment extends Base
|
||
{
|
||
/**
|
||
* 数据表名
|
||
* @var string
|
||
*/
|
||
protected $table = 'opm_mw_department';
|
||
|
||
/**
|
||
* 主键字段名
|
||
* @var string
|
||
*/
|
||
protected $pk = 'id';
|
||
|
||
/**
|
||
* 关闭自动时间戳(如需开启请改为 true,需确保表有 create_time/update_time 字段)
|
||
* @var bool
|
||
*/
|
||
protected $autoWriteTimestamp = false;
|
||
|
||
/**
|
||
* 字段严格检查(false=允许操作未定义字段)
|
||
* @var bool
|
||
*/
|
||
protected $strict = false;
|
||
} |