package cn.superdesk.uniorder.dto.vo.invoice.customer;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

/**
 * @Description: 发票单 管理界面 头部
 * @Author: linjinyu
 * @CreateDate: 2022/3/3 下午5:27
 * @UpdateUser: linjinyu
 * @UpdateDate: 2022/3/3 下午5:27
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder(toBuilder = true)
@Data
public class InvoiceApplyCustomerHeadDataVoV2_1 implements Serializable {

	@ApiModelProperty(value = "(申请数)统计类-发票单数量")
	private Integer invoiceApplyQuantity;
	@ApiModelProperty(value = "统计类-对账单数量-未应用")
	private Integer accountingOrderQuantity;
	@ApiModelProperty("统计类-订单数量 名称 unifiedOrderCountQuantity 改成 orderQuantity")
	private Integer orderQuantity;
	@ApiModelProperty(value = "统计类-订单商品item数量累加")
	private Integer goodsQuantity;
	@ApiModelProperty(value = "统计类-订单商品item的数量累加")
	private Integer goodsItemQuantity;
	@ApiModelProperty("(订单数)统计类-订单数(订单流水数量) 20220303-产品要求名为: 订单数:取该开票申请明细所有流水的总条数")
	private Integer creditQuantity;

	@ApiModelProperty(value = "创建开票申请时产生-统计类-")
	private BigDecimal orderAmount;
	@ApiModelProperty(value = "创建开票申请时产生-统计类-")
	private BigDecimal orderCostAmount;
	@ApiModelProperty(value = "创建开票申请时产生-统计类-商品销售金额(统一订单)")
	private BigDecimal goodsAmount;
	@ApiModelProperty(value = "创建开票申请时产生-统计类-商品成本金额(统一订单)")
	private BigDecimal goodsCostAmount;

	@ApiModelProperty("(订单金额)订单金额(开票申请金额): #公式= ∑(销售单价*商品数量)#-新添加 20210712-产品要求名为: 账单金额 20220303-产品要求名为: 订单金额")
	private BigDecimal invoiceApplyAmount;
	@ApiModelProperty("减免金额")
	private BigDecimal freeAmount;
	@ApiModelProperty("(微信金额)微信金额-积分结算2.1-add")
	private BigDecimal unAccountingAmount;
	@ApiModelProperty("(开票申请金额)开票申请金额(实际金额) 公式 积分结算2.1 (订单金额-减免金额-微信金额=开票申请金额) 20220303-产品要求名为: 开票申请金额")
	private BigDecimal realAmount;
}
