package com.njcn.process.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 普测超标问题Param
 * @author xiaoyao
 * @version 1.0.0
 * @createTime 2022/11/14 10:35
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class GeneralSurveyParam extends IssuesParam {

    @ApiModelProperty(name = "substationId",value = "变电站ID")
    @NotNull(message = "变电站ID不可为空")
    private String substationId;

    @ApiModelProperty(name = "busbarId",value = "母线ID")
    private String busbarId;

    @ApiModelProperty(name = "measurementPointId",value = "监测点ID")
    private String measurementPointId;

    @ApiModelProperty(name = "steadyState",value = "稳态指标")
    @NotNull(message = "稳态指标不可为空")
    private String[] steadyState;

    @ApiModelProperty(name = "transientIndicators",value = "暂态指标")
    @NotNull(message = "暂态指标不可为空")
    private String[] transientIndicators;

    @ApiModelProperty(name = "planName",value = "普测计划名称")
    @NotNull(message = "普测计划名称不可为空")
    private String planName;
}
