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

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

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

/**
 * @projectName: cf_imes_server
 * @author: 晨丰科技
 * @date: 2024/3/6 10:03
 */
@Schema(description = "管理后台 - 生产单导入 Response VO")
@Data
@Builder
public class OrderImportRespVO {
    @Schema(description = "创建成功的生产单名数组", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<String> createOrder;

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

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