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
package com.consum.base.core.type;
 
/**
 * 仓库类型
 *
 * @author asus
 * @version 2023/12/15 14:20
 **/
public enum WareHouseType {
 
    /**
     * 机构
     */
    TENANT(0, "机构"),
    /**
     * 部门
     */
    DEPARTMENT(1, "部门");
 
    private Integer value;
 
    private String desc;
 
    WareHouseType(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }
 
    public Integer getValue() {
        return value;
    }
 
    public void setValue(Integer value) {
        this.value = value;
    }
 
    public String getDesc() {
        return desc;
    }
 
    public void setDesc(String desc) {
        this.desc = desc;
    }
}