无关风月
2025-01-14 5fbe0ab34f9d2df4f35a8da4b7f4adadc431b531
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 ShopStatus {
    SHOP_STATUS_NORMAL(1, "正常"),
    SHOP_STATUS_FREEZE(2, "冻结");
 
    private final Integer code;
    private final String message;
 
    ShopStatus(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
 
}