危化品全生命周期管理后端
kongzy
2024-08-22 0c73654f55844e34772732914af8cc1e247aab63
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
package com.gkhy.hazmat.common.enums;
 
/**
 * 危化品状态
 *
 */
public enum HazmatStatusEnum
{
    WAREHOUSEIN(0, "在库"),
    USEWAREHOUSEIN(1, "领用归还在库"),
    USING(2, "领用中"),
    USED(3, "已用完"),
    DISCARD(4, "标签作废"),
    SOLD(5,"已销售");
 
    private final Integer code;
    private final String info;
 
    HazmatStatusEnum(Integer code, String info)
    {
        this.code = code;
        this.info = info;
    }
 
    public Integer getCode()
    {
        return code;
    }
 
    public String getInfo()
    {
        return info;
    }
}