package com.hzs.scm.trans.vo;

import com.hzs.common.core.annotation.Excel;
import lombok.Data;

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

/**
 * @description: 采购入库导出vo
 * @author: sui q
 * @time: 2024/3/6 15:32
 * @classname: PurchaseExcelVO
 * @package_name: com.hzs.scm.purchase.vo
 * version 1.0.0
 */
@Data
public class TransferOutExcelVO implements Serializable {

    /**
     * 订单编号
     */
    @Excel(name = "出库编号")
    private String orderCode;

    /**
     * 管理员名称
     */
    @Excel(name = "库管员")
    private String managerName;

    /**
     * 部门名称
     */
    @Excel(name = "出库部门")
    private String deptName;

    /**
     * 采购组织名称
     */
    @Excel(name = "出库公司")
    private String corpName;

    @Excel(name = "入库公司")
    private String countryInName;

    /**
     * 订单日期 2023-10
     */
    @Excel(name = "出库日期", dateFormat = "yyyy-MM-dd")
    private Date orderDate;

    @Excel(name = "订单状态", readConverterExp = "1=已保存,2=已提交,3=已审核,4=已收货,5=已关闭,6=已退货")
    private Integer orderStatus;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;

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

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

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

    /**
     * 单位名称
     */
    @Excel(name = "单位")
    private String unitName;

    /**
     * 仓库名称
     */
    @Excel(name = "调出仓库")
    private String storehouseName;

    /**
     * 仓库名称
     */
    @Excel(name = "调入仓库")
    private String inStorehouseName;

    /**
     * 批次号
     */
    @Excel(name = "批次号")
    private String batchCode;

    /**
     * 入库日期
     */
    @Excel(name = "出库日期", dateFormat = "yyyy-MM-dd")
    private Date bizDate;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private BigDecimal nnum;
    /**
     * 无税单价
     */
    @Excel(name = "无税单价")
    private BigDecimal norigprice;

    /**
     * 税率
     */
    @Excel(name = "税率")
    private BigDecimal ntaxrate;

    /**
     * 含税单价  = 无税单价*（1+税率）
     */
    @Excel(name = "含税单价")
    private BigDecimal norigtaxprice;

    /**
     * 无税金额  = 无税单价*数量
     */
    @Excel(name = "无税金额")
    private BigDecimal norigmny;

    /**
     * 税额 =无税单价*数量
     */
    @Excel(name = "税额")
    private BigDecimal ntax;

    /**
     * 价税合计 含税单价*数量
     */
    @Excel(name = "价税合计")
    private BigDecimal norigtaxmny;

}
