-- 数据库大全:企业内容管理系统-管理员角色表
-- 来源:YesApi.cn
CREATE TABLE `yesapi_ey_auth_role` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`yesapi_ey_auth_role_name` varchar(255) NULL COMMENT '角色名',
`pid` int(10) NULL DEFAULT '0' COMMENT '父角色ID',
`remark` text NULL COMMENT '备注信息',
`grade` smallint(5) NULL DEFAULT '0' COMMENT '级别',
`yesapi_ey_auth_role_language` text NULL COMMENT '多语言权限',
`online_update` tinyint(1) NULL DEFAULT '0' COMMENT '在线升级',
`only_oneself` tinyint(1) NULL DEFAULT '0' COMMENT '只看自己发布',
`cud` varchar(255) NULL COMMENT '增改删',
`permission` text NULL COMMENT '已允许的权限',
`built_in` tinyint(1) NULL DEFAULT '0' COMMENT '内置用户组,1表示内置',
`sort_order` int(10) NULL DEFAULT '0' COMMENT '排序号',
`yesapi_ey_auth_role_status` tinyint(1) NULL DEFAULT '1' COMMENT '状态(1=正常,0=屏蔽)',
`admin_id` int(10) NULL DEFAULT '0' COMMENT '操作管理员ID',
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '企业内容管理系统-管理员角色表';