package com.njcn.harmonic.pojo.param;

import com.njcn.common.pojo.param.StatisticsBizBaseParam;
import com.njcn.web.constant.ValidMessage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import java.util.List;

/**
 * <功能描述>
 *
 * @author 1754607820@qq.com
 * @createTime: 2022-10-18
 */
@Data
public class StatSubstationBizBaseParam extends StatisticsBizBaseParam {

    @ApiModelProperty(value = "ids集合", required = true)
    private List<String> ids;

    @ApiModelProperty(value = "是否是国网监测点信息", required = true)
    private Integer isUpToGrid;

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

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

    /**
     * 0-电网侧
     * 1-非电网侧
     */
    @ApiModelProperty("电网侧标识")
    @Range(min = 0, max = 2, message = "电网侧标识" + ValidMessage.PARAM_FORMAT_ERROR)
    private Integer powerFlag;

    @ApiModelProperty("部门id")
    private String deptId;

    @ApiModelProperty("搜索值")
    private String searchValue;
}
