package cn.superdesk.uniorder.dao.entity.invoice.supplier;

import io.swagger.annotations.ApiModelProperty;

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

import lombok.Data;
import lombok.ToString;

/**
 * @Description:
 * @Author: linjinyu
 * @CreateDate: 2021-11-29 16:08:25
 * @UpdateUser: linjinyu
 * @UpdateDate: 2021-11-29 16:08:25
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@Data
@ToString
public class InvoiceApplySupplierXGoods implements Serializable {

	@ApiModelProperty(value = "")
	private Long id;

	/**
	 * 账单id 1. 一般 accounting_unified_supplier.id 2. 积分 accounting_unified_supplier.id
	 */
	@ApiModelProperty(value = "账单id 1. 一般 accounting_unified_supplier.id 2. 积分 accounting_unified_supplier.id")
	private Long accountingOrderId;

	@ApiModelProperty(value = "")
	private String accountingOrderSn;

	/**
	 * 对账单 - 对账单类型 1-一般;2-积分;
	 */
	@ApiModelProperty(value = "对账单 - 对账单类型 1-一般;2-积分;")
	private Integer accountingOrderType;

	/**
	 * 对账单 - 对账单 创建维度:0-订单;1-商品;2-流水;
	 */
	@ApiModelProperty(value = "对账单 - 对账单 创建维度:0-订单;1-商品;2-流水;")
	private Integer dimCreateBy;

	@ApiModelProperty(value = "")
	private Long invoiceApplyId;

	@ApiModelProperty(value = "")
	private String invoiceApplySn;

	/**
	 * 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
	 */
	@ApiModelProperty(value = "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(value = "")
	private String orderSn;

	@ApiModelProperty(value = "")
	private Long unifiedOrderGoodsId;

	@ApiModelProperty(value = "")
	private Long goodsId;

	@ApiModelProperty(value = "")
	private Integer backStatus;

	@ApiModelProperty(value = "")
	private Long bankId;

	@ApiModelProperty(value = "")
	private Date backTime;

	/**
	 * 软删除
	 */
	@ApiModelProperty(value = "软删除")
	private Integer deleted;

	private static final long serialVersionUID = 1L;
}
