package com.tmerclub.cloud.supplier.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 商家采购金额日志excel对象
 * @author gaozijie
 * @date 2023-08-29
 */
@Data
public class PurchaseAmountLogShopExcelVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * excel 信息
     */
    public static final String EXCEL_NAME = "采购金额日志";
    /**
     * 哪一行开始导出
     */
    public static final int MERGE_ROW_INDEX = 2;

    /**
     * 需要合并的列数组
     */
    public static final int[] MERGE_COLUMN_INDEX = {};

    @ExcelProperty(value = {"采购金额日志", "编号"}, index = 0)
    private String seq;

    @ExcelProperty(value = {"采购金额日志", "金额类型"}, index = 1)
    private String purchaseAmountType;

    @ExcelProperty(value = {"采购金额日志", "供应商名称"}, index = 2)
    private String supplierName;

    @ExcelProperty(value = {"采购金额日志", "改变金额"}, index = 3)
    private BigDecimal changeAmount;

    @ExcelProperty(value = {"采购金额日志", "采购编号"}, index = 4)
    private String purchaseOrderId;

    @ExcelProperty(value = {"采购金额日志", "采购金额"}, index = 5)
    private BigDecimal purchaseTotalAmount;

    @ExcelProperty(value = {"采购金额日志", "商品数量"}, index = 6)
    private Integer prodCount;

    @ExcelProperty(value = {"采购金额日志", "创建时间"}, index = 7)
    private LocalDateTime createTime;

    public PurchaseAmountLogShopExcelVO() {
    }

}
