package com.yami.shop.bean.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.poi.FillPatternTypeEnum;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import lombok.Data;
import java.math.BigDecimal;

/**
 * 导出模板（导入）
 */
@Data
@HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 40) // 表头背景色（40=橙色）
@ContentStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 9) // 内容背景色（9=淡黄色）
public class ChannelProdImportVO {

    @ExcelProperty(value = "海博商品ID*", index = 0)
    @ColumnWidth(20) // 列宽
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER) // 居中对齐
    private String skuId;

    @ExcelProperty(value = "商品名称", index = 1)
    @ColumnWidth(40)
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.LEFT)
    private String skuName;

    @ExcelProperty(value = "销售渠道*", index = 2)
    @ColumnWidth(20)
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.LEFT)
    private String channelName;

    @ExcelProperty(value = "门店名称*", index = 3)
    @ColumnWidth(20)
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.LEFT)
    private String shopName;

    @ExcelProperty(value = "进货价(元)", index = 4)
    @ColumnWidth(20)
    private BigDecimal purchasePrice;

    @ExcelProperty(value = "出货价(元)", index = 5)
    @ColumnWidth(20)
    private BigDecimal deliveryPrice;

    @ExcelProperty(value = "渠道售价(元)*", index = 6)
    @ColumnWidth(20)
    private BigDecimal channelProdPrice;

}
