/***文档注释***********************************************
 * 作者            ：
 * 创建日期     ：2018-01-13
 * 描述            ：客户发票管理表
 * 注意事项     ：
 * 遗留BUG   ：
 * 修改日期     ：
 * 修改人员     ：
 * 修改内容     ：
***********************************************************/
package market.Slm.FundManagement.vo;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import market.Slm.FundManagement.mapper.SlmFundInvoiceApplyMapper;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hnshituo.basic.vo.BaseVO;
import com.hnshituo.orm.annotation.Column;
import com.hnshituo.orm.annotation.Id;
import com.hnshituo.orm.annotation.Table;

@Table(name="SLM_FUND_INVOICE_APPLY", namespace=SlmFundInvoiceApplyMapper.class)
public class SlmFundInvoiceApply extends BaseVO implements Serializable {
	/**
	 * 客户发票申请主表
	 */
	private static final long serialVersionUID = 7580886086947343744L;
	/** 
	 * 编号
	 */ 
	@Id
	private String apply_no;

	/** 
	 * 客户编号
	 */ 
	@Column
	private String customer_no;
	public String  getCustomer_no() {
		return this.customer_no;
	}
	public void setCustomer_no(String customer_no) {
		this.customer_no = customer_no;
	}

	/** 
	 * 客户名称
	 */ 
	@Column
	private String customer_name;
	public String  getCustomer_name() {
		return this.customer_name;
	}
	public void setCustomer_name(String customer_name) {
		this.customer_name = customer_name;
	}

	/** 
	 * 结算单位编号
	 */ 
	@Column
	private String balance_unit_no;

	/** 
	 * 结算单位名称
	 */ 
	@Column
	private String balance_unit_name;
	
	/** 
	 * 结算主体编号
	 */ 
	@Column
	private String balance_object_no;

	/** 
	 * 结算主体名称
	 */ 
	@Column
	private String balance_object_name;
	
	/** 
	 * 结算单号
	 */ 
	@Column
	private String settle_bill_no;
	public String getSettle_bill_no() {
		return settle_bill_no;
	}
	public void setSettle_bill_no(String settle_bill_no) {
		this.settle_bill_no = settle_bill_no;
	}

	/** 
	 * 开户银行 [正确应为BANK
	 */ 
	@Column
	private String back;
	public String  getBack() {
		return this.back;
	}
	public void setBack(String back) {
		this.back = back;
	}

	/** 
	 * 公司注册地址
	 */ 
	@Column
	private String address;
	public String  getAddress() {
		return this.address;
	}
	public void setAddress(String address) {
		this.address = address;
	}

	/** 
	 * 纳税人识别号
	 */ 
	@Column
	private String tax_registra_number;
	public String  getTax_registra_number() {
		return this.tax_registra_number;
	}
	public void setTax_registra_number(String tax_registra_number) {
		this.tax_registra_number = tax_registra_number;
	}

	/** 
	 * 电话 [正确应为TELEPHONE
	 */ 
	@Column
	private String telphone;
	public String  getTelphone() {
		return this.telphone;
	}
	public void setTelphone(String telphone) {
		this.telphone = telphone;
	}
	
	/**
	 * 税率
	 * */
	@Column
	private Double tax_rate;

	/** 
	 * 发票编号
	 */ 
	@Column
	private String invoice_no;
	public String  getInvoice_no() {
		return this.invoice_no;
	}
	public void setInvoice_no(String invoice_no) {
		this.invoice_no = invoice_no;
	}

	/** 
	 * 发票代号
	 */ 
	@Column
	private String invoice_code;
	public String  getInvoice_code() {
		return this.invoice_code;
	}
	public void setInvoice_code(String invoice_code) {
		this.invoice_code = invoice_code;
	}

	/** 
	 * 开票金额
	 */ 
	@Column
	private Double invoice_fund;
	public Double  getInvoice_fund() {
		return this.invoice_fund;
	}
	public void setInvoice_fund(Double invoice_fund) {
		this.invoice_fund = invoice_fund;
	}

	/** 
	 * 开票时间
	 */ 
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date invoice_time;
	public Date  getInvoice_time() {
		return this.invoice_time;
	}
	public void setInvoice_time(Date invoice_time) {
		this.invoice_time = invoice_time;
	}

	/** 
	 * 票据状态 1：编辑；2：待确认；3：待发送；4：已开票
	 */ 
	@Column
	private String apply_flag;

	/** 
	 * 备注
	 */ 
	@Column
	private String memo;
	public String  getMemo() {
		return this.memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}

	/** 
	 * 标志 1：有效；0：无效
	 */ 
	@Column
	private String valid_flag;
	public String  getValid_flag() {
		return this.valid_flag;
	}
	public void setValid_flag(String valid_flag) {
		this.valid_flag = valid_flag;
	}

	/** 
	 * 创建人编号
	 */ 
	@Column
	private String create_man_no;
	public String  getCreate_man_no() {
		return this.create_man_no;
	}
	public void setCreate_man_no(String create_man_no) {
		this.create_man_no = create_man_no;
	}

	/** 
	 * 创建人姓名
	 */ 
	@Column
	private String create_man_name;
	public String  getCreate_man_name() {
		return this.create_man_name;
	}
	public void setCreate_man_name(String create_man_name) {
		this.create_man_name = create_man_name;
	}

	/** 
	 * 创建时间
	 */ 
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date create_time;
	public Date  getCreate_time() {
		return this.create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	/** 
	 * 修改人编号
	 */ 
	@Column
	private String update_man_no;
	public String  getUpdate_man_no() {
		return this.update_man_no;
	}
	public void setUpdate_man_no(String update_man_no) {
		this.update_man_no = update_man_no;
	}

	/** 
	 * 修改人姓名
	 */ 
	@Column
	private String update_man_name;
	public String  getUpdate_man_name() {
		return this.update_man_name;
	}
	public void setUpdate_man_name(String update_man_name) {
		this.update_man_name = update_man_name;
	}

	/** 
	 * 修改时间
	 */ 
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date update_time;
	public Date  getUpdate_time() {
		return this.update_time;
	}
	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	/** 
	 * 删除人编号
	 */ 
	@Column
	private String delete_man_no;
	public String  getDelete_man_no() {
		return this.delete_man_no;
	}
	public void setDelete_man_no(String delete_man_no) {
		this.delete_man_no = delete_man_no;
	}

	/** 
	 * 删除人姓名
	 */ 
	@Column
	private String delete_man_name;
	public String  getDelete_man_name() {
		return this.delete_man_name;
	}
	public void setDelete_man_name(String delete_man_name) {
		this.delete_man_name = delete_man_name;
	}

	/** 
	 * 删除时间
	 */ 
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date delete_time;
	public Date  getDelete_time() {
		return this.delete_time;
	}
	public void setDelete_time(Date delete_time) {
		this.delete_time = delete_time;
	}

	/** 
	 * 发送时间
	 */ 
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date send_time;
	// 重量
	private Double weight;
	public Double getWeight() {
		return weight;
	}
	public void setWeight(Double weight) {
		this.weight = weight;
	}
	
	@Column
	//打印次数
	private int print_num;

	//子表集合
	private List<SlmFundInvoiceApplyDetail> detailList;
	
	//打印集合
	private List<SlmFundSettleBillInvoice> bill_list;
	
	//冲减信息
	private SlmFundSettleWriteDown down;
	
	//传参金额
	private Double balance_amount;
	
	private String contract_no;
	
	public String getApply_no() {
		return apply_no;
	}
	public void setApply_no(String apply_no) {
		this.apply_no = apply_no;
	}
	public String getBalance_unit_no() {
		return balance_unit_no;
	}
	public void setBalance_unit_no(String balance_unit_no) {
		this.balance_unit_no = balance_unit_no;
	}
	public String getBalance_unit_name() {
		return balance_unit_name;
	}
	public void setBalance_unit_name(String balance_unit_name) {
		this.balance_unit_name = balance_unit_name;
	}
	public String getBalance_object_no() {
		return balance_object_no;
	}
	public void setBalance_object_no(String balance_object_no) {
		this.balance_object_no = balance_object_no;
	}
	public String getBalance_object_name() {
		return balance_object_name;
	}
	public void setBalance_object_name(String balance_object_name) {
		this.balance_object_name = balance_object_name;
	}
	public String getApply_flag() {
		return apply_flag;
	}
	public void setApply_flag(String apply_flag) {
		this.apply_flag = apply_flag;
	}
	public Date getSend_time() {
		return send_time;
	}
	public void setSend_time(Date send_time) {
		this.send_time = send_time;
	}
	public List<SlmFundInvoiceApplyDetail> getDetailList() {
		return detailList;
	}
	public void setDetailList(List<SlmFundInvoiceApplyDetail> detailList) {
		this.detailList = detailList;
	}
	public Double getTax_rate() {
		return tax_rate;
	}
	public void setTax_rate(Double tax_rate) {
		this.tax_rate = tax_rate;
	}
	public int getPrint_num() {
		return print_num;
	}
	public void setPrint_num(int print_num) {
		this.print_num = print_num;
	}
	public Double getBalance_amount() {
		return balance_amount;
	}
	public void setBalance_amount(Double balance_amount) {
		this.balance_amount = balance_amount;
	}
	public List<SlmFundSettleBillInvoice> getBill_list() {
		return bill_list;
	}
	public void setBill_list(List<SlmFundSettleBillInvoice> bill_list) {
		this.bill_list = bill_list;
	}
	public SlmFundSettleWriteDown getDown() {
		return down;
	}
	public void setDown(SlmFundSettleWriteDown down) {
		this.down = down;
	}
	public String getContract_no() {
		return contract_no;
	}
	public void setContract_no(String contract_no) {
		this.contract_no = contract_no;
	}
}
