phpcjl
2024-12-04 25500b42588e6140de0f6e24823adc727a7b5b05
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(0, "下架"),
    UP(1, "上架");
 
    private final Integer code;
    private final String desc;
 
    GoodsStatus(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
 
}