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:47
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class AbnormalParam extends IssuesParam {

    @ApiModelProperty(name = "abnormalDevName",value = "异常设备名称")
    @NotNull(message = "异常设备名称不可为空")
    private String abnormalDevName;

    @ApiModelProperty(name = "abnormalDevTime",value = "发现异常时间")
    @NotNull(message = "发现异常时间不可为空")
    private String abnormalDevTime;

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

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

    @ApiModelProperty(name = "eventDescription",value = "事件描述")
    @NotNull(message = "事件描述不可为空")
    private String eventDescription;
}
