You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
465 B

2 months ago
package com.youlai.boot.common.enums;
import com.youlai.boot.common.base.IBaseEnum;
import lombok.Getter;
/**
* 环境枚举
*
* @author Ray
* @since 4.0.0
*/
@Getter
public enum EnvEnum implements IBaseEnum<String> {
DEV("dev", "开发环境"),
PROD("prod", "生产环境");
private final String value;
private final String label;
EnvEnum(String value, String label) {
this.value = value;
this.label = label;
}
}