package com.sckw.product.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.sckw.excel.annotation.ExcelContext;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * @desc: 商品列表导出对象
 * @author: yzc
 * @date: 2023-07-06 9:15
 */
@Data
@Accessors(chain = true)
@ExcelContext(fileName = "商品列表信息", sheetName = "商品列表信息")
public class GoodsListExport implements Serializable {

    @Serial
    private static final long serialVersionUID = 6833195135537265912L;

    @ExcelProperty(value = "上架状态", index = 0)
    private String statusLabel;

    @ExcelProperty(value = "商品名称", index = 1)
    private String name;

    @ExcelProperty(value = "商品类别", index = 2)
    private String goodsTypeLabel;

    @ExcelProperty(value = "计量单位", index = 3)
    private String unitLabel;

    @ExcelProperty(value = "规格尺寸", index = 4)
    private String spec;

    @ExcelProperty(value = "增值税", index = 5)
    private String taxRateLabel;

    @ExcelProperty(value = "库存数量", index = 6)
    private String amount;

    @ExcelProperty(value = "交易方式", index = 7)
    private String tradingLabel;

    @ExcelProperty(value = "最高单价", index = 8)
    private String highestPrice;

    @ExcelProperty(value = "最低单价", index = 9)
    private String lowestPrice;

    @ExcelProperty(value = "地址信息", index = 10)
    private String address;

    @ExcelProperty(value = "客户经理", index = 11)
    private String manageName;

    @ExcelProperty(value = "联系电话", index = 12)
    private String phone;

    @ExcelProperty(value = "上架时间", index = 13)
    private String addedTime;

    @ExcelProperty(value = "下架时间", index = 14)
    private String shelfTime;

    @ExcelProperty(value = "供应企业", index = 15)
    private String supplyEnt;

    @ExcelProperty(value = "创造人", index = 16)
    private String createByName;

    @ExcelProperty(value = "备注", index = 17)
    private String remark;

}
