package com.cf.imes.module.executor.controller.admin.orderParts.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;
import org.apache.poi.ss.formula.functions.T;

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


@Schema(description = "管理后台 - 生产配件导入 Response VO")
@Data
@Builder
public class OrderPartsImportRespVO {
    @Schema(description = "创建成功的生产配件数组", requiredMode = Schema.RequiredMode.REQUIRED)
    private List< OrderPartsSaveReqVO> createOrderParts;

    @Schema(description = "更新成功的生产配件数组", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<String> updateOrderParts;

    @Schema(description = "导入失败的生产配件集合，key 为生产单名，value 为失败原因", requiredMode = Schema.RequiredMode.REQUIRED)
    private Map<String, String> failureOrderParts;
}