package com.cmvr.inspection.domain.vo;

import com.cmvr.common.annotation.Excel;
import com.cmvr.inspection.domain.InspectionResult;
import com.cmvr.inspection.domain.InspectionResultMedia;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/** 巡检结果详情，包含全部媒体证据。 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "InspectionResultVo", description = "巡检结果详情及其全部图片、视频证据")
public class InspectionResultVo extends InspectionResult
{
    private static final long serialVersionUID = 1L;

    @Excel(name = "任务名称")
    @ApiModelProperty(value = "巡检任务名称", example = "锅炉房日常巡检")
    private String taskName;

    @ApiModelProperty("巡检结果关联的全部媒体证据，按sortOrder升序")
    private List<InspectionResultMedia> mediaList;
}
