package cn.huge.module.thirdByRmtj.consts;
|
|
/**
|
* @title: 调解相关常量枚举类
|
* @description: 调解相关常量枚举类
|
* @company: hugeinfo
|
* @author: liyj
|
* @time: 2021-11-05 16:51:48
|
* @version: 1.0.0
|
*/
|
public enum RmtjMzEnum {
|
|
/**
|
* 对应纠纷进度
|
*/
|
MZ_1("09_00005-1", "01"),
|
MZ_2("09_00005-2", "02"),
|
MZ_3("09_00005-3", "03"),
|
MZ_4("09_00005-4", "04"),
|
MZ_5("09_00005-5", "02"),
|
MZ_6("09_00005-6", "06"),
|
MZ_7("09_00005-7", "07"),
|
MZ_8("09_00005-8", "08"),
|
MZ_9("09_00005-9", "09"),
|
MZ_10("09_00005-10", "10"),
|
MZ_11("09_00005-11", "11"),
|
MZ_12("09_00005-12", "12"),
|
MZ_13("09_00005-13", "13"),
|
MZ_14("09_00005-14", "14"),
|
MZ_15("09_00005-15", "15"),
|
MZ_16("09_00005-16", "16"),
|
MZ_17("09_00005-17", "17"),
|
MZ_18("09_00005-18", "18"),
|
MZ_19("09_00005-19", "19"),
|
MZ_20("09_00005-20", "20"),
|
MZ_21("09_00005-21", "21"),
|
MZ_22("09_00005-22", "22"),
|
MZ_23("09_00005-23", "23"),
|
MZ_24("09_00005-24", "24"),
|
MZ_25("09_00005-25", "25"),
|
MZ_26("09_00005-26", "26"),
|
MZ_27("09_00005-27", "27"),
|
MZ_28("09_00005-28", "28"),
|
MZ_29("09_00005-29", "29"),
|
MZ_30("09_00005-30", "30"),
|
MZ_31("09_00005-31", "31"),
|
MZ_32("09_00005-32", "32"),
|
MZ_33("09_00005-33", "33"),
|
MZ_34("09_00005-34", "34"),
|
MZ_35("09_00005-35", "35"),
|
MZ_36("09_00005-36", "36"),
|
MZ_37("09_00005-37", "37"),
|
MZ_38("09_00005-38", "38"),
|
MZ_39("09_00005-39", "39"),
|
MZ_40("09_00005-40", "40"),
|
MZ_41("09_00005-41", "41"),
|
MZ_42("09_00005-42", "42"),
|
MZ_43("09_00005-43", "43"),
|
MZ_44("09_00005-44", "44"),
|
MZ_45("09_00005-45", "45"),
|
MZ_46("09_00005-46", "46"),
|
MZ_47("09_00005-47", "47"),
|
MZ_48("09_00005-48", "48"),
|
MZ_49("09_00005-49", "49"),
|
MZ_50("09_00005-50", "50"),
|
MZ_51("09_00005-51", "51"),
|
MZ_52("09_00005-52", "52"),
|
MZ_53("09_00005-53", "53"),
|
MZ_54("09_00005-54", "54"),
|
MZ_55("09_00005-55", "55"),
|
MZ_56("09_00005-56", "56"),
|
MZ_57("09_00005-57", "01"),
|
MZ_58("09_00005-58", "01"),
|
MZ_59("09_00005-59", "01"),
|
MZ_60("09_00005-60", "01");
|
|
/**
|
* 代码编号
|
*/
|
private String index;
|
|
/**
|
* 描述
|
*/
|
private String code;
|
|
public String getIndex() {
|
return index;
|
}
|
|
public void setIndex(String index) {
|
this.index = index;
|
}
|
|
public String getCode() {
|
return code;
|
}
|
|
public void setCode(String code) {
|
this.code = code;
|
}
|
|
/**
|
* 构造方法
|
* @param index
|
* @param code
|
*/
|
RmtjMzEnum(String index, String code) {
|
this.index = index;
|
this.code = code;
|
}
|
|
/**
|
* 静态方法
|
* @param index
|
* @return
|
*/
|
public static String getCode(String index) {
|
for (RmtjMzEnum constantEnum : RmtjMzEnum.values()) {
|
if (constantEnum.getIndex().equals(index)) {
|
return constantEnum.code;
|
}
|
}
|
return null;
|
}
|
}
|