package com.njcn.event.pojo.param;

import com.njcn.device.pq.pojo.param.DeviceInfoParam;
import com.njcn.web.pojo.param.BaseParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * pqs-event
 *
 * @author cdf
 * @date 2022/6/23
 */
@Data
@ApiModel
public class EventBaseParam extends BaseParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotBlank(message = "监测点索引不可为空")
    @ApiModelProperty(name = "lineId", value = "监测点索引")
    private String lineId;

    private String deptId;


    @Data
    public static class Info extends DeviceInfoParam.BusinessParam {

        @ApiModelProperty("页码")
        private Integer pageNum;

        @ApiModelProperty("页面尺寸")
        private Integer pageSize;

        @ApiModelProperty(name = "dicData", value = "字典id")
        private String dicData;
    }

}
