1.
phpcjl
2024-11-22 c7d752e4c2dab7aa8e3873a331861cf0ee25976a
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;
    }
 
}