|
@@ -1,5 +1,6 @@
|
|
|
package com.persagy.apm.energy.report.monthly.detail.business.model.dto;
|
|
|
|
|
|
+import com.persagy.apm.energy.report.monthly.detail.business.model.*;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
@@ -8,6 +9,7 @@ import javax.validation.constraints.NotNull;
|
|
|
import lombok.Data;
|
|
|
|
|
|
import java.util.Date;
|
|
|
+import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* @author lixing
|
|
@@ -18,7 +20,7 @@ import java.util.Date;
|
|
|
public class AddReportBusinessDetailDTO {
|
|
|
@ApiModelProperty(value = "在营项目用电量数据对象信息,项目月报使用此字段", required = true)
|
|
|
@NotNull(message = "在营项目用电量数据对象信息,项目月报使用此字段不能为空") // todo 更新校验规则
|
|
|
- private Object openPower;
|
|
|
+ private List<OpenPower> openPower;
|
|
|
|
|
|
@ApiModelProperty(value = "在营项目用电情况说明", required = true)
|
|
|
@NotNull(message = "在营项目用电情况说明不能为空") // todo 更新校验规则
|
|
@@ -26,7 +28,7 @@ public class AddReportBusinessDetailDTO {
|
|
|
|
|
|
@ApiModelProperty(value = "可同比项目用电量数据对象信息", required = true)
|
|
|
@NotNull(message = "可同比项目用电量数据对象信息不能为空") // todo 更新校验规则
|
|
|
- private Object comparePower;
|
|
|
+ private List<ComparePower> comparePower;
|
|
|
|
|
|
@ApiModelProperty(value = "可同比项目用电情况说明", required = true)
|
|
|
@NotNull(message = "可同比项目用电情况说明不能为空") // todo 更新校验规则
|
|
@@ -34,7 +36,7 @@ public class AddReportBusinessDetailDTO {
|
|
|
|
|
|
@ApiModelProperty(value = "在营项目能源费数据对象信息,项目月报使用此字段", required = true)
|
|
|
@NotNull(message = "在营项目能源费数据对象信息,项目月报使用此字段不能为空") // todo 更新校验规则
|
|
|
- private Object openCost;
|
|
|
+ private List<OpenCost> openCost;
|
|
|
|
|
|
@ApiModelProperty(value = "在营项目费用说明", required = true)
|
|
|
@NotNull(message = "在营项目费用说明不能为空") // todo 更新校验规则
|
|
@@ -42,7 +44,7 @@ public class AddReportBusinessDetailDTO {
|
|
|
|
|
|
@ApiModelProperty(value = "可同比项目能源费数据对象信息", required = true)
|
|
|
@NotNull(message = "可同比项目能源费数据对象信息不能为空") // todo 更新校验规则
|
|
|
- private Object compareCost;
|
|
|
+ private List<CompareCost> compareCost;
|
|
|
|
|
|
@ApiModelProperty(value = "可同比项目费用说明", required = true)
|
|
|
@NotNull(message = "可同比项目费用说明不能为空") // todo 更新校验规则
|
|
@@ -50,7 +52,7 @@ public class AddReportBusinessDetailDTO {
|
|
|
|
|
|
@ApiModelProperty(value = "能耗管理工作开展对象信息", required = true)
|
|
|
@NotNull(message = "能耗管理工作开展对象信息不能为空") // todo 更新校验规则
|
|
|
- private Object job;
|
|
|
+ private List<Job> job;
|
|
|
|
|
|
@ApiModelProperty(value = "备注说明", required = true)
|
|
|
@NotNull(message = "备注说明不能为空") // todo 更新校验规则
|
|
@@ -58,7 +60,7 @@ public class AddReportBusinessDetailDTO {
|
|
|
|
|
|
@ApiModelProperty(value = "能耗管理平台运维对象信息", required = true)
|
|
|
@NotNull(message = "能耗管理平台运维对象信息不能为空") // todo 更新校验规则
|
|
|
- private Object platform;
|
|
|
+ private List<Platform> platform;
|
|
|
|
|
|
@ApiModelProperty(value = "事项说明", required = true)
|
|
|
@NotNull(message = "事项说明不能为空") // todo 更新校验规则
|