luodangjia
2024-11-25 559ee10df3622e4802ca5664b83b713cd3a75f97
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.ruoyi.other.enums;
 
public enum GoodsStatus {
    DOWN(0, "下架"),
    UP(1, "上架");
 
    private Integer code;
    private String desc;
 
    GoodsStatus(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
 
    public Integer getCode() {
        return code;
    }
 
    public String getDesc() {
        return desc;
    }
}