Pu Zhibing
2025-04-03 1f09f6daaf73bc83cceb4ae22b862b7b365635cf
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;
    }
 
}