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;

/**
 * @author qijian
 * Date: 2022/10/20  11:41
 * @version V1.0.0
 */
@Data
public class LineParam {

    @ApiModelProperty(name = "lineIds",value = "监测点索引集合")
    private List<String> lineIds;

    /**
     * 区分配网I II III 类监测点
     */
    @ApiModelProperty(name = "lineType",value = "监测点类型")
    private Integer lineType;

    @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 2:mysql）")
    private Integer dataSource;

}
