郑永安
2023-06-19 451e341df739f387201914b67323efa1c4f4c8d3
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
package com.ruoyi.system.enums;
 
public enum ValidityStateEnum {
 
 
    STATE_EXPIRED((byte)0,"已过期"),
    STATE_30_DAYS((byte)1,"30天内到期"),
    STATE_60_DAYS((byte)2,"60天内到期"),
    STATE_90_DAYS((byte)3,"90天内到期"),
    STATE_NORMAL((byte)4,"正常在期(非临期)"),
    ;
 
    private Byte status;
    private String desc;
 
    ValidityStateEnum(Byte status, String desc) {
        this.status = status;
        this.desc = desc;
    }
 
    public Byte getStatus() {
        return status;
    }
 
    public void setStatus(Byte status) {
        this.status = status;
    }
 
    public String getDesc() {
        return desc;
    }
 
    public void setDesc(String desc) {
        this.desc = desc;
    }
 
}