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

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

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

/**
 * 发票对应订单表
 *
 * @author linjinyu
 * @email linjinyu@avic-s.com
 * @date 2021-07-23 15:30:45
 */
@Data
@ToString
public class InvoiceApplyXGoodsParam implements Serializable {

	@ApiModelProperty("")
	private Long    id;
	@ApiModelProperty("开票申请部分-发票申请Id-invoice_apply.id ")
	private Long    invoiceApplyId;
	@ApiModelProperty("开票申请部分-开票申请Sn")
	private String  invoiceApplySn;
	@ApiModelProperty("对账单-账单id 1. 一般 accounting_unified_customer.id 2. 积分 accounting_score_customer.id")
	private Long    accountingOrderId;
	@ApiModelProperty("对账单-对账单Sn")
	private String  accountingOrderSn;
	@ApiModelProperty("对账单-对账单类型 1-一般;2-积分;")
	private Integer accountingOrderType;
	@ApiModelProperty("对账单-对账单 创建维度:0-订单;1-商品;2-流水;")
	private Integer dimCreateBy;
	@ApiModelProperty("订单数据部分-accounting_order_type=1 dim_create_by=0 代表 accounting_unified_customer_order.id " +
			"accounting_order_type=1 dim_create_by=1 代表 unified_order.id " +
			"accounting_order_type=2 dim_create_by=2 代表 unified_order.id")
	private Long    unifiedOrderId;
	@ApiModelProperty("订单数据部分-外部订单Sn")
	private String  orderSn;
	@ApiModelProperty("订单数据部分-商品id unified_order_goods.id")
	private Long    unifiedOrderGoodsId;
	@ApiModelProperty("")
	private String  goodsIdSourceFrom;
	@ApiModelProperty("")
	private String  goodsIdRootFrom;
	@ApiModelProperty("订单数据部分-unifiedOrderCreditId")
	private Long    unifiedOrderCreditId;
	@ApiModelProperty("回款部分-是否已回款 0未回款 1已回款")
	private Integer backStatus;
	@ApiModelProperty("回款部分-银行流水Id")
	private Long    bankId;
	@ApiModelProperty("回款部分-回款时间")
	private Date    backTime;


}
