package com.zksy.WaterSupply.MonitorAlarm.dto.in;

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

import java.io.Serializable;

/**
 * 报警审核-入参
 */
@Data
@ApiModel(value = "报警审核-入参", description = "报警审核/解除操作入参")
public class AlarmAuditInDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "报警ID", required = true, example = "uuid")
    private String alarmId;

    @ApiModelProperty(
            value = "审核动作",
            required = true,
            allowableValues = "1,2",
            example = "1",
            notes = "1-审核 2-解除"
    )
    private Integer auditAction;

    @ApiModelProperty(
            value = "审核结果",
            required = true,
            allowableValues = "1,2",
            example = "1",
            notes = "1-属实/审核通过 2-误报/解除报警"
    )
    private Integer auditResult;

    @ApiModelProperty(value = "审核/解除意见", example = "现场核实确为管网压力异常，同意派发工单处理")
    private String auditOpinion;

    @ApiModelProperty(value = "附件地址（多个用逗号分隔）", example = "https://xx/upload/a.jpg")
    private String attachUrl;
}
