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

import lombok.Data;
import lombok.ToString;

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

@Data
@ToString
public class OrderSnMapInvoiceApplyVo implements Serializable {

	private String orderSn;

	/**
	 * database column invoice_apply.id
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private Long id;

	/**
	 * 对账单类型 1-一般;2-积分;
	 * <p>
	 * <p>
	 * database column invoice_apply.accounting_order_type
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private Integer accountingOrderType;

	/**
	 *
	 * 对账单id
	 *
	 *
	 * database column invoice_apply.accounting_order_id
	 *
	 * Thu Jul 16 11:26:27 CST 2020
	 */
//	private Long accountingOrderId;

	/**
	 *
	 * 对帐单编码
	 *
	 *
	 * database column invoice_apply.accounting_order_sn
	 *
	 * Thu Jul 16 11:26:27 CST 2020
	 */
//	private String accountingOrderSn;

	/**
	 * 发票申请号 invoice_apply_sn 内部生成的Sn
	 * <p>
	 * <p>
	 * database column invoice_apply.invoice_apply_sn
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 *
	 * // 修改标记 20211201
	 */
	private String invoiceApplySn;

	/**
	 * 发票申请部分-发票申请人Id-后台帐号
	 * <p>
	 * database column invoice_apply.apply_user_id
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private Long applyUserId;

	/**
	 * 发票申请部分-发票申请时间
	 * <p>
	 * database column invoice_apply.apply_time
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private Date applyTime;

	/**
	 * 发票申请审核部分-审核人Id-后台帐号
	 * <p>
	 * database column invoice_apply.audit_user_id
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private Long auditUserId;

	/**
	 * 发票申请审核部分-审核状态 1-未审核;2-已同意;3-已拒绝
	 * <p>
	 * <p>
	 * database column invoice_apply.audit_status
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private Integer auditStatus;

	/**
	 * 发票申请审核部分-审核时间
	 * <p>
	 * <p>
	 * database column invoice_apply.audit_time
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private Date auditTime;

	/**
	 * 发票登记部分-开票人登记人-后台帐号
	 * <p>
	 * <p>
	 * database column invoice_apply.make_invoice_user_id
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private Long makeInvoiceUserId;

	/**
	 * 发票登记部分-开票时间
	 * <p>
	 * <p>
	 * database column invoice_apply.make_invoice_time
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private Date makeInvoiceTime;

	/**
	 * 发票登记部分-开票状态 0-未开票;1-已开票;2-重新开票;
	 * <p>
	 * <p>
	 * database column invoice_apply.make_invoice_status
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private Integer makeInvoiceStatus;

	/**
	 * 发票号
	 * <p>
	 * <p>
	 * database column invoice_apply.invoice_number
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private String invoiceNumber;

	/**
	 * 发票状态 0未邮寄 1已邮寄 2已作废
	 * <p>
	 * <p>
	 * database column invoice_apply.invoice_status
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private Integer invoiceStatus;

	/**
	 * 开票抬头
	 * <p>
	 * <p>
	 * database column invoice_apply.invoice_title
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private String invoiceTitle;

	/**
	 * database column invoice_apply.invoice_type
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private Integer invoiceType;

	/**
	 * 外键 表.invoice_tax_rate.id
	 * <p>
	 * <p>
	 * database column invoice_apply.tax_rate
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private String taxRate;

	/**
	 * 开票申请金额:商品或流水累加
	 */
	private BigDecimal invoiceApplyAmount;
	/**
	 * 减免金额
	 * <p>
	 * <p>
	 * database column invoice_apply.free_amount
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private BigDecimal freeAmount;

	/**
	 * 实际金额
	 * <p>
	 * <p>
	 * database column invoice_apply.real_amount
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private BigDecimal realAmount;

	/**
	 * database column invoice_apply.no_check_count
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private BigDecimal noCheckCount;

	/**
	 * 寄票登记部分-快递公司ID
	 * <p>
	 * <p>
	 * database column invoice_apply.express_company_id
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private Long expressCompanyId;

	/**
	 * 寄票登记部分- 快递单号
	 * <p>
	 * <p>
	 * database column invoice_apply.express_no
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private String expressNo;

	/**
	 * 寄票登记部分-寄票时间
	 * <p>
	 * <p>
	 * database column invoice_apply.mail_tick_time
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private Date mailTickTime;

	/**
	 * 回款状态 0-未回款;1-部分回款;2全部回款;
	 * <p>
	 * <p>
	 * database column invoice_apply.back_account_status
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private Integer backAccountStatus;

	/**
	 * 备注
	 * <p>
	 * <p>
	 * database column invoice_apply.remark
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private String remark;

	/**
	 * database table invoice_apply
	 * <p>
	 * Thu Jul 16 11:26:27 CST 2020
	 */
	private static final long serialVersionUID = 1L;
}
