|
@@ -1,6 +1,8 @@
|
|
|
package com.persagy.apm.energy.report.monthly.outline.constants.enums;
|
|
|
|
|
|
import com.persagy.apm.common.model.annotation.SwaggerDisplayEnum;
|
|
|
+import lombok.Getter;
|
|
|
+import lombok.Setter;
|
|
|
|
|
|
/**
|
|
|
* 报告状态
|
|
@@ -17,27 +19,15 @@ public enum ReportStateEnum {
|
|
|
GENERATED("1", "已生成"),
|
|
|
BUILD_FAILED("2", "生成失败");
|
|
|
|
|
|
+ @Setter
|
|
|
+ @Getter
|
|
|
private String type;
|
|
|
+ @Setter
|
|
|
+ @Getter
|
|
|
private String desc;
|
|
|
|
|
|
ReportStateEnum(String type, String desc) {
|
|
|
this.type = type;
|
|
|
this.desc = desc;
|
|
|
}
|
|
|
-
|
|
|
- public String getType() {
|
|
|
- return type;
|
|
|
- }
|
|
|
-
|
|
|
- public void setType(String type) {
|
|
|
- this.type = type;
|
|
|
- }
|
|
|
-
|
|
|
- public String getDesc() {
|
|
|
- return desc;
|
|
|
- }
|
|
|
-
|
|
|
- public void setDesc(String desc) {
|
|
|
- this.desc = desc;
|
|
|
- }
|
|
|
}
|