package cn.huge.module.casebook.consts;
|
|
import cn.huge.module.mediate.constant.CaseBaseConstsEnum;
|
|
/**
|
* @title: 调解相关常量枚举类
|
* @description: 调解相关常量枚举类
|
* @company: hugeinfo
|
* @author: liyj
|
* @time: 2021-11-05 16:51:48
|
* @version: 1.0.0
|
*/
|
public enum ByCaseConstsEnum {
|
|
/**
|
* 纠纷来源,22_00036-1:地方政府委托移送,22_00036-2:依申请调解,22_00036-3:主动调解,22_00036-4:法援委托移送,
|
* 22_00036-5:检察院委托移送,22_00036-6:公安机关委托移送,22_00036-7:信访记录委托移送,22_00036-8:劳动站移交,
|
* 22_00036-9:派出所移交,22_00036-10:其他部门委托移送,22_00036-11:接受委托移送调解
|
*/
|
CASE_SOURCE_1("22_00036-1", "地方政府委托移送"),
|
CASE_SOURCE_2("22_00036-2", "依申请调解"),
|
CASE_SOURCE_3("22_00036-3", "主动调解"),
|
CASE_SOURCE_4("22_00036-4", "法援委托移送"),
|
CASE_SOURCE_5("22_00036-5", "检察院委托移送"),
|
CASE_SOURCE_6("22_00036-6", "公安机关委托移送"),
|
CASE_SOURCE_7("22_00036-7", "信访记录委托移送"),
|
CASE_SOURCE_8("22_00036-8", "劳动站移交"),
|
CASE_SOURCE_9("22_00036-9", "派出所移交"),
|
CASE_SOURCE_10("22_00036-10", "其他部门委托移送"),
|
CASE_SOURCE_11("22_00036-11", "接受委托移送调解"),
|
CASE_SOURCE_12("22_00036-12", "12345"),
|
|
/**
|
* 调解结果
|
*/
|
MEDI_RESULT_1("22_00025-1", "调解成功"),
|
MEDI_RESULT_2("22_00025-2", "调解不成功"),
|
|
/**
|
* 履行情况,22_00008-1:未履行,22_00008-2:当场履行,22_00008-3:分期履行
|
*/
|
FULFIL_STATUS_1("22_00008-1", "未履行"),
|
FULFIL_STATUS_2("22_00008-2", "当场履行"),
|
FULFIL_STATUS_3("22_00008-3", "分期履行"),
|
|
/**
|
* 调解类型
|
*/
|
MEDI_TYPE_1("22_00002-1", "人民调解"),
|
MEDI_TYPE_2("22_00002-2", "司法调解"),
|
MEDI_TYPE_3("22_00002-3", "诉讼调解"),
|
MEDI_TYPE_4("22_00002-4", "行政调解");
|
|
/**
|
* 代码编号
|
*/
|
private String index;
|
|
/**
|
* 描述
|
*/
|
private String des;
|
|
public String getIndex() {
|
return index;
|
}
|
|
public void setIndex(String index) {
|
this.index = index;
|
}
|
|
public String getDes() {
|
return des;
|
}
|
|
public void setDes(String desc) {
|
this.des = desc;
|
}
|
|
/**
|
* 构造方法
|
* @param index
|
* @param des
|
*/
|
ByCaseConstsEnum(String index, String des) {
|
this.index = index;
|
this.des = des;
|
}
|
|
/**
|
* 静态方法
|
* @param index
|
* @return
|
*/
|
public static String getDes(String index) {
|
for (ByCaseConstsEnum constantEnum : ByCaseConstsEnum.values()) {
|
if (constantEnum.getIndex().equals(index)) {
|
return constantEnum.des;
|
}
|
}
|
return null;
|
}
|
|
/**
|
* 静态方法
|
* @param des
|
* @return
|
*/
|
public static String getIndex(String des) {
|
for (ByCaseConstsEnum constantEnum : ByCaseConstsEnum.values()) {
|
if (constantEnum.getDes().equals(des)) {
|
return constantEnum.index;
|
}
|
}
|
return null;
|
}
|
}
|