net.wicp.tams.cas.bean.constant.ColsSysPermissions Maven / Gradle / Ivy
package net.wicp.tams.cas.bean.constant;
import java.lang.String;
public enum ColsSysPermissions {
id("id","权限编号"),
name("name","权限名"),
optType("opt_type","操作类型,data:数据,url:功能"),
dataPattern("data_pattern","数据权限有的模式:all,like,equal,expression"),
dataValue("data_value","数据权限的值,跟模式搭配使用"),
urlPattern("url_pattern","功能权限的模式:*:全部地址 pre:前缀模式,regular:正则表达式"),
urlValue("url_value","功能权限用的值"),
tenantId("tenant_id","租户id");
public static final String tb = "sys_permissions";
private final String desc;
private final String oriColName;
private ColsSysPermissions(String oriColName, String desc) {
this.oriColName = oriColName;
this.desc = desc;
}
public String getDesc() {
return this.desc;
}
public String getOriColName() {
return this.oriColName;
}
}