/*
 * Copyright (c) 2024 codvision.com All Rights Reserved.
 */

package com.codvision.basic.entity.vo.inspection;

import com.codvision.basic.entity.inspection.InspectionRecord;
import com.codvision.basic.entity.inspection.InspectionRecordItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author KX
 * @date 2023/6/7 17:30
 */
@Data
@ApiModel(description = "检查记录-输出类")
@EqualsAndHashCode(callSuper = true)
public class InspectionRecordVO extends InspectionRecord {

    @ApiModelProperty(value = "检查人员roleid")
    private Integer creatorRoleId;

    @ApiModelProperty(value = "检查清单名称（回显）")
    private String inventoryName;

    @ApiModelProperty(value = "是否超时未整改;0-未超时，1-超时未整改")
    private Integer flagRectifyDeadline;

    @ApiModelProperty(value = "检查条目")
    private List<InspectionRecordItem> items;
}
