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

import com.zksy.base.domain.WorkOrder;
import com.zksy.base.domain.WorkOrderLog;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 报警处置全流程跟踪-出参
 */
@Data
@ApiModel(value = "报警处置全流程跟踪-出参", description = "报警信息 + 审核记录 + 关联工单及操作日志")
public class AlarmFlowOutDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "报警信息（含设备信息）")
    private WaterAlarmOutDTO alarm;

    @ApiModelProperty(value = "审核/解除记录列表")
    private List<AlarmAuditOutDTO> auditList;

    @ApiModelProperty(value = "关联工单（可能为空）")
    private WorkOrder workOrder;

    @ApiModelProperty(value = "工单操作日志列表")
    private List<WorkOrderLog> workOrderLogList;
}
