补充新更新
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
package com.njcn.device.pojo.param;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.Valid;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* pqs
|
||||
*
|
||||
* @author cdf
|
||||
* @date 2022/6/14
|
||||
*/
|
||||
@Data
|
||||
@ApiModel
|
||||
@Valid
|
||||
public class TerminalParam {
|
||||
|
||||
@ApiModelProperty(name = "ids",value = "id集合",required = true)
|
||||
@NotEmpty(message = "索引集合不可为空")
|
||||
private List<String> ids;
|
||||
@ApiModelProperty(name = "runFlag",value = "终端运行状态")
|
||||
private Integer runFlag;
|
||||
@ApiModelProperty(name = "baseMealId",value = "基础套餐")
|
||||
private String baseMealId;
|
||||
@ApiModelProperty(name = "extendMealId",value = "扩展套餐")
|
||||
private String extendMealId;
|
||||
@ApiModelProperty(name = "flowStrategyId",value = "流量策略")
|
||||
private String flowStrategyId;
|
||||
}
|
||||
@@ -13,8 +13,17 @@ import java.io.Serializable;
|
||||
@Data
|
||||
public class LineDistributionVO implements Serializable {
|
||||
@ApiModelProperty("区域名称")
|
||||
private String areaName;
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("监测点个数")
|
||||
private Integer lineNum;
|
||||
private Integer value;
|
||||
|
||||
public LineDistributionVO(String areaName, Integer lineNum) {
|
||||
this.areaName = areaName;
|
||||
this.lineNum = lineNum;
|
||||
}
|
||||
|
||||
public LineDistributionVO() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,6 +43,8 @@ public class TerminalMaintainVO {
|
||||
private Float statisValue;
|
||||
@ApiModelProperty(name = "流量策略")
|
||||
private String flowStrategy;
|
||||
@ApiModelProperty(name = "策略类型")
|
||||
private Integer strategyFlag;
|
||||
@ApiModelProperty(name = "子级")
|
||||
List<TerminalMaintainVO> children;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user