package com.cyksj.model.views;

import com.ejlchina.searcher.bean.DbField;
import com.ejlchina.searcher.bean.DbIgnore;
import com.ejlchina.searcher.bean.SearchBean;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 项目名: yhlxj
 * 文件名: UserInvoiceFrontView
 * 创建者: JavaZou
 * 创建时间:2024/12/13 17:13
 */
@Getter
@Setter
@SearchBean(tables = "user_invoice_apply_record uar")
public class UserInvoiceFrontView {

	@DbField("uar.id")
	private Long id;

	@DbField("uar.user_id")
	@JsonIgnore
	private Long userId;

	@DbField("uar.money")
	private BigDecimal money;

	/**
	 * 支付宝支付主体
	 */
	@DbField("uar.zfb_payment")
	private String zfbPayment;

	/**
	 * 发票头部信息
	 */
	@DbField("uar.head")
	private String head;

	/**
	 * 税号
	 */
	@DbField("uar.tax_no")
	private String taxNo;

	/**
	 * 银行
	 */
	@DbField("uar.bank")
	private String bank;

	/**
	 * 银行卡号
	 */
	@DbField("uar.bank_no")
	private String bankNo;

	@DbField("uar.email")
	private String email;

	/**
	 * 0待开票 1已上传 2已发送
	 */
	@DbField("uar.status")
	private Integer status;

	/**
	 * 发票
	 */
	@DbField("uar.invoice_img")
	private String invoiceImg;

	@DbField("uar.created_time")
	private Date createdTime;

	@DbField("uar.update_time")
	private Date updateTime;

	@DbIgnore
	private List<UserInvoiceOrderViews> orderViews;
}
