phpcjl
2024-12-18 9292f925e97bc426c7b58d022b0db9a0d2034246
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;
    }
 
}