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

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

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

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "审核记录ID")
    private Long auditId;

    @ApiModelProperty(value = "报警ID")
    private String alarmId;

    @ApiModelProperty(value = "审核动作：1-审核 2-解除")
    private Integer auditAction;

    @ApiModelProperty(value = "审核动作文本", example = "审核")
    private String auditActionText;

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

    @ApiModelProperty(value = "审核结果文本", example = "属实")
    private String auditResultText;

    @ApiModelProperty(value = "审核/解除意见")
    private String auditOpinion;

    @ApiModelProperty(value = "附件地址（多个用逗号分隔）")
    private String attachUrl;

    @ApiModelProperty(value = "操作人ID")
    private Long auditUserId;

    @ApiModelProperty(value = "操作人姓名")
    private String auditUserName;

    @ApiModelProperty(value = "操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime auditTime;
}
