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 {

    /**
     * 监测点id,集合为空则默认全部监测点
     */
    @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 = "时间日期,存的是起始时间的日期类型，去除时分秒")
    private String dataDate;

    /**
     * 标识从那个库里查询数据
     */
    @Deprecated
    @ApiModelProperty(name = "dataSource",value = "数据源（0:oracle，1:influxdb 2:mysql）",hidden = true)
    private Integer dataSource;

    /**
     * 调度任务开始时间
     */
    @Deprecated
    private String beginTime;

    /**
     * 调度任务结束时间
     */
    @Deprecated
    private String endTime;


    /**
     * 是否补招标识,默认false不补招
     */
    @ApiModelProperty(name = "repairFlag",value = "0.不补招 1.补招",example = "false")
    private Boolean repairFlag = false;

}
