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
public class DimGlobalDataParam{

    @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,example = "5")
    @NotNull(message = "日期类型不可为空")
    private Integer dateType;

    @ApiModelProperty(name = "queryDate",value = "查询时间",required = true)
    @NotBlank(message = "查询时间不可为空")
    private String queryDate;


}
