package com.vci.ubcs.omd.constant;
|
|
import java.util.HashMap;
|
import java.util.Map;
|
|
/**
|
* Description:
|
*
|
* @author LiHang
|
* @date 2023/4/27
|
*/
|
public class BtmTypeFieldConstant {
|
|
public static Map<String, String> USER_TABLE_COMPATIBILITY_BTM_MAP;
|
|
public static Map<String, String> USER_TABLE_COMPATIBILITY_FIELD_MAP;
|
|
public static final Boolean DEFAULT_QUERY_SECRET;
|
|
public static final Boolean DEFAULT_QUERY_DATA_RIGHT;
|
|
public static final Map<String, String> REVISION_MANAGE_FIELD_MAP;
|
|
public static final Map<String, String> BASIC_FIELD_MAP;
|
|
public static final Map<String, String> BASE_MODEL_COMPATIBILITY_MAP;
|
|
public static final Map<String, String> LIFECYCLE_MANAGE_FIELD_MAP;
|
|
public static final Map<String, String> SECRET_MANAGE_FIELD_MAP;
|
|
public static final Map<String, String> LINK_TYPE_FIELD_MAP;
|
|
static {
|
USER_TABLE_COMPATIBILITY_BTM_MAP = new HashMap();
|
USER_TABLE_COMPATIBILITY_FIELD_MAP = new HashMap();
|
DEFAULT_QUERY_SECRET = true;
|
DEFAULT_QUERY_DATA_RIGHT = false;
|
REVISION_MANAGE_FIELD_MAP = new HashMap() {
|
{
|
this.put("nameoid", "对象主键");
|
this.put("revisionoid", "版本主键");
|
this.put("lastr", "是否最新版本");
|
this.put("firstr", "是否最老版本");
|
this.put("lastv", "是否最新版次");
|
this.put("firstv", "是否最老版次");
|
this.put("revisionrule", "版本规则");
|
this.put("revisionseq", "版本排序号");
|
this.put("revisionvalue", "版本值");
|
this.put("versionrule", "版次规则");
|
this.put("versionseq", "版次排序号");
|
this.put("versionvalue", "版次值");
|
this.put("checkinby", "签入人");
|
this.put("checkintime", "签入时间");
|
this.put("checkoutby", "签出人");
|
this.put("checkouttime", "签出时间");
|
this.put("copyfromversion", "拷贝版本来源");
|
}
|
};
|
BASIC_FIELD_MAP = new HashMap() {
|
{
|
this.put("oid", "主键");
|
this.put("btmname", "业务类型的名称");
|
this.put("id", "编号");
|
this.put("name", "名称");
|
this.put("description", "描述");
|
this.put("creator", "创建人");
|
this.put("createtime", "创建时间");
|
this.put("lastmodifier", "最后时间人");
|
this.put("lastmodifytime", "最后修改时间");
|
this.put("ts", "时间戳");
|
this.put("owner", "拥有者");
|
}
|
};
|
BASE_MODEL_COMPATIBILITY_MAP = new HashMap() {
|
{
|
this.put("lastr", "lastr");
|
this.put("firstr", "firstr");
|
this.put("lastv", "lastv");
|
this.put("firstv", "firstv");
|
}
|
};
|
LIFECYCLE_MANAGE_FIELD_MAP = new HashMap() {
|
{
|
this.put("lcstatus", "生命周期值");
|
}
|
};
|
SECRET_MANAGE_FIELD_MAP = new HashMap() {
|
{
|
this.put("secretgrade", "密级值");
|
}
|
};
|
LINK_TYPE_FIELD_MAP = new HashMap() {
|
{
|
this.put("oid", "主键");
|
this.put("creator", "创建人");
|
this.put("createtime", "创建时间");
|
this.put("lastmodifier", "最后时间人");
|
this.put("lastmodifytime", "最后修改时间");
|
this.put("f_oid", "from端主键");
|
this.put("f_revisionoid", "from端版本主键");
|
this.put("f_nameoid", "from端对象主键");
|
this.put("f_btmname", "from端业务类型");
|
this.put("t_oid", "to端主键");
|
this.put("t_revisionoid", "to端版本主键");
|
this.put("t_nameoid", "to端对象主键");
|
this.put("t_btmname", "to端业务类型");
|
this.put("ts", "时间戳");
|
}
|
};
|
}
|
}
|