package cn.iocoder.yudao.module.visit.controller.admin.product.vo;

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

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

@Schema(description = "管理后台 - 用户导入 Response VO")
@Data
@Builder
public class ProductImportRespVO {

    @Schema(description = "创建成功的品种名称数组", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<String> createProductNames;

    @Schema(description = "更新成功的品种名称数组", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<String> updateProductNames;

    @Schema(description = "导入失败的品种名称用户集合，key 为品种名称，value 为失败原因", requiredMode = Schema.RequiredMode.REQUIRED)
    private Map<String, String> failureProductNames;

}
