添加设备进程号字段
This commit is contained in:
@@ -56,6 +56,10 @@ public class DeviceParam {
|
||||
@NotNull(message = "前置机索引不能为空")
|
||||
private String nodeId;
|
||||
|
||||
@ApiModelProperty(name = "nodeId",value = "所属前置机机进程",required = true)
|
||||
@NotNull(message = "所属前置机机进程不能为空")
|
||||
private Integer processNum;
|
||||
|
||||
@ApiModelProperty(name = "series",value = "装置识别码,采用3ds加密")
|
||||
private String series;
|
||||
|
||||
|
||||
@@ -59,6 +59,13 @@ public class NodeParam {
|
||||
@NotNull(message = "前置机支持最大装置数不可为空")
|
||||
private Integer nodeDevNum;
|
||||
|
||||
/**
|
||||
* 前置机支持最大进程数量
|
||||
*/
|
||||
@ApiModelProperty(name = "nodeDevNum",value = "前置机支持最大进程数量")
|
||||
@NotNull(message = "前置机支持最大进程数量")
|
||||
private Integer maxProcessNum;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
|
||||
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
@@ -131,6 +132,8 @@ public class DeviceVO implements Serializable {
|
||||
|
||||
@ApiModelProperty(name = "sort",value = "排序",required = true)
|
||||
private Integer sort;
|
||||
@ApiModelProperty(value = "所属前置机机进程")
|
||||
private Integer processNum;
|
||||
|
||||
|
||||
@ApiModelProperty(name = "subVoltageVOList",value = "母线集合")
|
||||
|
||||
Reference in New Issue
Block a user