权限管理与测试
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
namespace plugin\admin\app\model;
|
||||
|
||||
use plugin\admin\app\model\Base;
|
||||
|
||||
/**
|
||||
* @property integer $id (主键)
|
||||
* @property string $organ_name 医院
|
||||
* @property string $sort_name 分院
|
||||
* @property string $dept_name 科室
|
||||
* @property string $collection_name 收集点
|
||||
* @property string $recl_name 收集人
|
||||
* @property string $recl_idcard 收集idcard
|
||||
* @property string $recl_time 收集时间
|
||||
* @property string $waste_status 医废状态
|
||||
* @property string $waste_type 医废类型
|
||||
* @property string $weight 重量
|
||||
* @property string $deposit_name 暂存点
|
||||
* @property string $in_ware_name 入库人
|
||||
* @property string $in_ware_idcard 入库idcard
|
||||
* @property string $in_ware_time 入库时间
|
||||
* @property string $out_ware_name 出库人
|
||||
* @property string $out_ware_idcard 出库idcard
|
||||
* @property string $out_ware_time 出库时间
|
||||
* @property string $hand_name 交接人
|
||||
* @property string $hand_idcard 交接idcard
|
||||
* @property string $hand_time 交接时间
|
||||
* @property string $comp_recl_name 转运人
|
||||
* @property string $comp_recl_idcard 转运idcard
|
||||
* @property string $comp_recl_time 转运时间
|
||||
* @property string $ribbon_code 医废编码
|
||||
* @property string $box_code 周转箱编码
|
||||
* @property string $recl_batch 科室收集完,收集人员和科室交接批次
|
||||
* @property string $comp_batch 出库、转运批次
|
||||
* @property string $in_ware_batch 入库批次
|
||||
* @property string $department_batch 科室人员收集完,和护工的交接
|
||||
* @property string $created_at
|
||||
* @property integer $is_push 注释:0,推送过;1:未推送
|
||||
* @property integer $is_pull 注释:0,拉取过;1:未拉取
|
||||
* @property string $scale
|
||||
* @property integer $is_report 0上报完成 1收集上报 2入库上报 3出库上报
|
||||
* @property string $tie_code 轧带编码
|
||||
* @property string $b_scale
|
||||
* @property integer $sign
|
||||
*/
|
||||
class OpmMwInfoDatum extends Base
|
||||
{
|
||||
/**
|
||||
* The table associated with the model.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $table = 'opm_mw_info_data';
|
||||
|
||||
/**
|
||||
* The primary key associated with the table.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $primaryKey = 'id';
|
||||
/**
|
||||
* Indicates if the model should be timestamped.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $timestamps = false;
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
namespace plugin\admin\app\model;
|
||||
|
||||
use plugin\admin\app\model\Base;
|
||||
|
||||
/**
|
||||
* @property integer $id 主键ID(主键)
|
||||
* @property string $table 需要鉴权的表名
|
||||
* @property string $field 用于鉴权的字段名
|
||||
* @property string $admin_attr 对应用户属性的键(如hospitals)
|
||||
* @property string $admin_attr_map 属性映射转换(如opm_mw_department.id...opm_mw_department.name)
|
||||
* @property string $action 鉴权运算符(=,>,<,in,like等)
|
||||
* @property integer $sort 排序(越小越靠前)
|
||||
* @property integer $status 状态:1启用 0禁用
|
||||
* @property string $remark 备注说明
|
||||
* @property mixed $created_at 创建时间
|
||||
* @property mixed $updated_at 更新时间
|
||||
*/
|
||||
class OpmMwPermissionRule extends Base
|
||||
{
|
||||
/**
|
||||
* The table associated with the model.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $table = 'opm_mw_permission_rules';
|
||||
|
||||
/**
|
||||
* The primary key associated with the table.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $primaryKey = 'id';
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user