30 行
946 B
PHP
可执行文件
30 行
946 B
PHP
可执行文件
<?php
|
|
|
|
namespace Common\Model;
|
|
|
|
use Think\Model;
|
|
|
|
//[1.8.50]
|
|
|
|
/**
|
|
* 权限列表
|
|
* Class JurisdictionListModel
|
|
* @package Common\Model
|
|
*/
|
|
class JurisdictionListModel extends BaseModel
|
|
{
|
|
protected $tableName = 'jurisdiction_list';
|
|
protected $fields = [
|
|
'id',//int(11) NOT NULL AUTO_INCREMENT,
|
|
'path',//varchar(255) NOT NULL,
|
|
'name',//varchar(255) NOT NULL,
|
|
'type',//tinyint(1) DEFAULT '1',
|
|
'pid',//int(11) DEFAULT '0',
|
|
'user_type',//tinyint(1) DEFAULT '1' COMMENT '1合伙人 2代理商 3商户 4门店 5导购员 6收银员',
|
|
'sort',//int(4) DEFAULT '1' COMMENT '排序的序号(正序)',
|
|
'is_menu',//tinyint(2) DEFAULT NULL COMMENT '是否是菜单栏 1是 0不是',
|
|
'tips',//varchar(255) DEFAULT NULL COMMENT '节点提示',
|
|
'limit_id',//varchar(255) DEFAULT NULL COMMENT '限制的下一级角色的权限ID列表,英文逗号拼接',
|
|
];
|
|
|
|
} |