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 = "上架状态")
    private String statusLabel;

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

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

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

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

    @ExcelProperty(value = "发票税率")
    private String taxRateLabel;

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

    @ExcelProperty(value = "是否预付限额")
    private String prepaidLimitLabel;

    @ExcelProperty(value = "最低单价")
    private String highestPrice;

    @ExcelProperty(value = "最高单价")
    private String lowestPrice;

    @ExcelProperty(value = "仓储地址")
    private String address;

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

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

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

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

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

    @ExcelProperty(value = "创建人")
    private String createByName;

    @ExcelProperty(value = "创建时间")
    private String createTime;

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

}
