sunshine
2024-11-05 00b4581009af28098da4286a8ef9f4d72c7c5728
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
package com.nova.sankuai.domain.enums.huizhixin;
 
import io.swagger.annotations.ApiModel;
 
@ApiModel(value = "客户贷前信息-职务")
public enum LoanPositonDutyEnum {
 
    PositonDuty_1("PD001", "在职内勤"),
    PositonDuty_2("PD002", "销售人员"),
    PositonDuty_3("PD003", "保险代理人"),
    PositonDuty_4("PD004", "行政领导人员"),
    PositonDuty_5("PD005", "事业服务人员"),
    PositonDuty_6("PD006", "事业技术人员"),
    PositonDuty_7("PD100", "其它"),
    ;
 
 
    private String code;
    private String value;
 
    LoanPositonDutyEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }
 
    public static String value(String code) {
        if (code != null) {
            for (LoanPositonDutyEnum m : LoanPositonDutyEnum.values()) {
                if (m.getCode().equals(code)) {
                    return m.getValue();
                }
            }
        }
        return null;
    }
 
 
    public String getCode() {
        return code;
    }
 
    public void setCode(String code) {
        this.code = code;
    }
 
    public String getValue() {
        return value;
    }
 
    public void setValue(String value) {
        this.value = value;
    }
 
}