EventTemplate控制器编写

This commit is contained in:
hanyong
2022-09-16 16:33:06 +08:00
parent 3635403a35
commit 1512674f4c
4 changed files with 11 additions and 28 deletions

View File

@@ -28,6 +28,8 @@ public class EventTemplateParam {
@Pattern(regexp = PatternRegex.DIC_REGEX, message = ValidMessage.PID_FORMAT_ERROR)
private String pid;
@ApiModelProperty("所有父节点")
private String pids;
@ApiModelProperty("排序")
@NotNull(message = ValidMessage.SORT_NOT_NULL)

View File

@@ -32,23 +32,4 @@ public class EventTemplateTree implements Serializable {
private String pids;
/**
* 终端厂家
*/
private String manufacturer;
/**
* 电压等级Id字典表
*/
private String scale;
/**
* 干扰源类型,字典表
*/
private String loadType;
/**
* 接线方式
*/
private Integer ptType;
}