package com.njcn.harmonic.pojo.param;

import com.njcn.common.pojo.dto.SimpleDTO;
import com.njcn.device.pq.pojo.param.DeviceInfoParam;
import com.njcn.harmonic.constant.HarmonicValidMessage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * Description:
 * 接口文档访问地址：http://serverIP:port/swagger-ui.html
 * Date: 2022/10/13  9:46【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@ApiModel(value="com-njcn-harmonic-pojo-po-PollutionSubstationQuryParam",description = "污染指标查询参数")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PollutionSubstationQuryParam  extends DeviceInfoParam {

    @ApiModelProperty("污区图统计类型,根据Pollution_Statis查询码表接口获取所有类型选择一个即可")
    @NotNull(message = HarmonicValidMessage.DATA_NOT_BLANK)
    private SimpleDTO pollutionStatis;

    @ApiModelProperty("时间 格式：（yyyy-MM）")
    @NotNull(message = HarmonicValidMessage.DATA_NOT_BLANK)
    private String localDate;


}
