广州市综治平台后端
xusd
2025-06-07 36306491396230522fa20585c2621a7fc899849a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
package cn.huge.module.casebook.consts;
 
/**
 * @title: 调解相关常量枚举类
 * @description: 调解相关常量枚举类
 * @company: hugeinfo
 * @author: liyj
 * @time: 2021-11-05 16:51:48
 * @version: 1.0.0
 */
public enum ByCaseTypeEnum {
 
    /**
     * 案件类型
     */
    MEDI_TYPE_1("22_00002-1", "人民调解"),
    MEDI_TYPE_2("22_00002-2", "司法调解"),
    MEDI_TYPE_3("22_00002-3", "诉讼调解"),
    MEDI_TYPE_4("22_00002-4", "行政调解"),
 
    /**
     * 案件类型
     */
    CASE_TYPE_1("22_00039-0001", "劳动争议纠纷"),
    CASE_TYPE_2("22_00039-0002", "合同纠纷"),
    CASE_TYPE_3("22_00039-0003", "借贷纠纷"),
    CASE_TYPE_4("22_00039-0004", "邻里纠纷"),
    CASE_TYPE_5("22_00039-0005", "家庭婚姻纠纷"),
    CASE_TYPE_6("22_00039-0006", "道路交通事故纠纷"),
    CASE_TYPE_7("22_00039-0007", "医疗纠纷"),
    CASE_TYPE_8("22_00039-0008", "知识产权纠纷"),
    CASE_TYPE_9("22_00039-0009", "所有权纠纷"),
    CASE_TYPE_10("22_00039-0010", "继承纠纷"),
    CASE_TYPE_11("22_00039-0011", "人格权纠纷"),
    CASE_TYPE_12("22_00039-0012", "股权转让纠纷"),
    CASE_TYPE_13("22_00039-0013", "损害赔偿纠纷"),
    CASE_TYPE_14("22_00039-0014", "建设用地使用权纠纷"),
    CASE_TYPE_15("22_00039-0015", "山林土地纠纷"),
    CASE_TYPE_16("22_00039-0016", "征地纠纷"),
    CASE_TYPE_17("22_00039-0017", "其他"),
    CASE_TYPE_18("22_00039-0018", "消费纠纷"),
    CASE_TYPE_19("22_00039-0019", "房屋宅基地纠纷"),
    CASE_TYPE_20("22_00039-0020", "生产经营纠纷"),
    CASE_TYPE_21("22_00039-0021", "环境污染纠纷"),
    CASE_TYPE_22("22_00039-0022", "物业管理纠纷"),
    CASE_TYPE_23("22_00039-0023", "旅游纠纷"),
    CASE_TYPE_24("22_00039-0024", "互联网纠纷");
 
 
 
    /**
     * 代码编号
     */
    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
     */
    ByCaseTypeEnum(String index, String des) {
        this.index = index;
        this.des = des;
    }
 
    /**
     * 静态方法
     * @param index
     * @return
     */
    public static String getDes(String index) {
        for (ByCaseTypeEnum constantEnum : ByCaseTypeEnum.values()) {
            if (constantEnum.getIndex().equals(index)) {
                return constantEnum.des;
            }
        }
        return null;
    }
 
    /**
     * 静态方法
     * @param des
     * @return
     */
    public static String getIndex(String des) {
        for (ByCaseTypeEnum constantEnum : ByCaseTypeEnum.values()) {
            if (constantEnum.getDes().equals(des)) {
                return constantEnum.index;
            }
        }
        return null;
    }
}