代码提交
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
package com.njcn.harmonic.pojo.param;
|
||||
|
||||
import com.njcn.web.pojo.param.BaseParam;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
/**
|
||||
* pqs
|
||||
*
|
||||
* @author cdf
|
||||
* @date 2023/11/27
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class DimGlobalDataParam extends BaseParam {
|
||||
|
||||
@ApiModelProperty(name = "type",value = "大类型,与文档对应")
|
||||
@NotNull(message = "大类型,与文档对应不可为空")
|
||||
private Integer type;
|
||||
|
||||
|
||||
@ApiModelProperty(name = "orgId",value = "单位code",required = true)
|
||||
@NotBlank(message = "单位code不可为空")
|
||||
private String orgId;
|
||||
|
||||
@ApiModelProperty(name = "mainType",value = "电压等级/源荷类型/",required = true)
|
||||
private String mainType;
|
||||
|
||||
@ApiModelProperty(name = "secondType",value = "稳态指标类型id/暂态指标类型id/",required = true)
|
||||
private String targetType;
|
||||
|
||||
@ApiModelProperty(name = "dateType",value = "日期类型 1.年 3.月 5.天",required = true)
|
||||
@NotNull(message = "日期类型不可为空")
|
||||
private Integer dateType;
|
||||
|
||||
@ApiModelProperty(name = "queryDate",value = "查询时间",required = true)
|
||||
@NotBlank(message = "查询时间不可为空")
|
||||
private String queryDate;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.njcn.harmonic.pojo.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* pqs
|
||||
*
|
||||
* @author cdf
|
||||
* @date 2023/11/27
|
||||
*/
|
||||
@Data
|
||||
public class DimGlobalDataVO {
|
||||
|
||||
private String orgId;
|
||||
|
||||
private String orgName;
|
||||
|
||||
private String type;
|
||||
|
||||
private BigDecimal value;
|
||||
}
|
||||
Reference in New Issue
Block a user