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
| package com.consum.base.core.type;
|
| /**
| * InventoryResultType
| *
| * @author asus
| * @version 2023/12/11 10:32
| **/
| public enum InventoryResultType {
| /**
| * 正常
| */
| NORMAL(1, "正常"),
| /**
| * 盘盈
| */
| SURPLUS(2, "盘盈"),
|
| /**
| * 盘亏
| */
| LOSS(3, "盘亏");
|
| private Integer value;
|
| private String desc;
|
| InventoryResultType(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;
| }
| }
|
|