package com.njcn.prepare.harmonic.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Description:
 * 接口文档访问地址：http://serverIP:port/swagger-ui.html
 * Date: 2022/11/30  20:10【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
public class PrimaryGridDataIntegrityParam {

    @ApiModelProperty(name = "orgIdList",value = "终端Id")
    private List<String> deviceId;

    @ApiModelProperty(name = "type",value = "报表类型,1,年，2季，3月，4周，5日")
    @NotNull(message = "报表类型不可为空")
    private Integer type;

    @ApiModelProperty(name = "dataDate",value = "时间")
    @NotBlank(message = "报表时间不可为空")
    private String dataDate;

    @ApiModelProperty(name = "dataSource",value = "数据源 0:oracle;1:influxdb")
    @NotBlank(message = "数据源")
    private Integer dataSource;
}
