package cn.iocoder.yudao.module.visit.controller.admin.customerinfo.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 CustomerImportRespVO {

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

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

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

}
