package com.zt.plat.module.qms.resource.material.controller.vo.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Schema(description = "管理后台 - 物料批次导入 Response VO")
@Data
public class MaterialBatchImportRespVO {

    @Schema(description = "导入成功的批次编号列表", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<String> successBatchNos;

    @Schema(description = "导入失败的批次集合，key 为行号或标识，value 为失败原因", requiredMode = Schema.RequiredMode.REQUIRED)
    private Map<String, String> failureBatches;

    @Schema(description = "导入成功的记录数", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer successCount;

    @Schema(description = "导入失败的记录数", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer failureCount;
}
