EventTemplate控制器编写

This commit is contained in:
hanyong
2022-09-21 16:28:57 +08:00
parent 1512674f4c
commit 099ed8c669
6 changed files with 100 additions and 6 deletions

View File

@@ -0,0 +1,29 @@
package com.njcn.system.enums;
import lombok.Getter;
/**
* @author hany
* @date 2022/09/21
*/
@Getter
public enum TemplateTreeEnum {
/**
* 各层级描述
*/
REPORT_LEVEL(0, "报告基础项"),
LINE_LEVEL(1, "监测点"),
DETAIL_LEVEL(2, "监测点详情"),
TRANS_LEVEL(2, "暂降事件列表表格"),
TRANS_D_LEVEL(2, "暂降密度图形"),
TRANS_R_LEVEL(2, "暂降原因表格");
private final Integer code;
private final String message;
TemplateTreeEnum(Integer code, String message) {
this.code = code;
this.message = message;
}
}