package com.hzs.report.scm.vo;

import com.hzs.common.core.annotation.Excel;
import com.hzs.common.core.annotation.Transaction;
import com.hzs.common.core.constant.EnumsPrefixConstants;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @description: 库存销量统计
 * @author: sui q
 * @time: 2024/8/2 11:07
 * @classname: InventorySaleVO
 * @package_name: com.hzs.report.scm.vo
 * version 1.0.0
 */
@Data
public class InventorySaleVO implements Serializable {

    /**
     * 产品编号
     */
    @Excel(name = "产品编号")
    private String productCode;

    /**
     * 产品名称
     */
    @Excel(name = "产品名称")
    private String productName;

    /**
     * 规格名称
     */
    @Excel(name = "规格名称")
    private String specsName;

    @Excel(name = "国家名称")
    private String countryName;

    /**
     * 现存数量
     */
    @Excel(name = "现存量", scale = 2)
    private BigDecimal nonHandNum;

    /**
     * 在途数量
     */
    @Excel(name = "在途数量", scale = 2)
    private BigDecimal transitNum;

    /**
     * 调拨数量
     */
    @Excel(name = "调拨数量", scale = 2)
    private BigDecimal transferNum;

    /**
     * 销售数量
     */
    @Excel(name = "销售数量", scale = 2)
    private BigDecimal saleNum;

    /**
     * 销售占比
     */
    @Excel(name = "销售占比", scale = 2)
    private BigDecimal saleRatio;

    /**
     * 平均销量
     */
    @Excel(name = "月平均销量", scale = 2)
    private BigDecimal averageNum;

    /**
     * 销售时长
     */
    @Excel(name = "预估销售时长", scale = 2)
    private BigDecimal saleTime;

    /**
     * 是否预定
     */
    @Transaction(transactionKey = EnumsPrefixConstants.DEALER_YES_NO)
    private Integer isDue;

    @Excel(name = "产品编号")
    private String isDueVal;
}
