| 1234567891011121314151617181920212223242526 |
- package com.zsElectric.boot.common.enums;
- import com.zsElectric.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;
- }
- }
|