luodangjia
2025-02-06 4ea15c3e2a3f0434df79a1b49fe4e90f7337b025
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.ruoyi.other.enums;
 
import lombok.Getter;
 
@Getter
public enum GoodsStatus {
    DOWN(1, "下架"),
    UP(2, "上架");
 
    private final Integer code;
    private final String desc;
 
    GoodsStatus(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
 
}