package com.cmvr.inspection.domain.dto;

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

/** 巡检结果列表和报表导出的查询条件。 */
@Data
@ApiModel(value = "InspectionResultQuery", description = "巡检结果查询条件，所有字段均为可选条件")
public class InspectionResultQuery
{
    @ApiModelProperty("巡检任务实例数据库ID")
    private String taskInstanceId;

    @ApiModelProperty("巡检任务ID")
    private String taskId;

    @ApiModelProperty("检测项ID")
    private String itemId;

    @ApiModelProperty(value = "结果类型", allowableValues = "PPE,METER,MANUAL")
    private String resultType;

    @ApiModelProperty(value = "结果状态", allowableValues = "PENDING,NORMAL,ABNORMAL,RECOGNIZE_FAILED")
    private String resultStatus;

    @ApiModelProperty(value = "告警级别", allowableValues = "1,2,3")
    private Integer alarmLevel;

    @ApiModelProperty("检查名称，支持模糊查询")
    private String resultName;
}
