package com.gxwebsoft.shop.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "GoodsExcelImportResult", description = "商品Excel导入结果")
public class GoodsExcelImportResult implements Serializable {
    @ApiModelProperty("Excel文件路径")
    private String excelPath;

    @ApiModelProperty("工作表名称")
    private String sheetName;

    @ApiModelProperty("导入到的商户ID")
    private Integer merchantId;

    @ApiModelProperty("扫描到的有效行数(有品种/商品名)")
    private int totalRows;

    @ApiModelProperty("成功入库数量")
    private int inserted;

    @ApiModelProperty("跳过(已存在同名商品)")
    private int skippedExists;

    @ApiModelProperty("自动创建的分类数量")
    private int createdCategories;

    @ApiModelProperty("成功导出的图片数量")
    private int savedImages;
}

