/***文档注释***********************************************
 * 作者            ：
 * 创建日期     ：2018-11-22
 * 描述            ：结算单主表
 * 注意事项     ：
 * 遗留BUG   ：
 * 修改日期     ：
 * 修改人员     ：
 * 修改内容     ：
***********************************************************/
package market.Pms.Settlement.vo;
import java.io.Serializable;
import java.util.Date;

import market.Pms.Settlement.mapper.PurBalanceMMapper;

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="PUR_BALANCE_M", namespace=PurBalanceMMapper.class)
public class PurBalanceM extends BaseVO implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 6213806547134258679L;
	/** 
	 * 结算单号(JSYYYYMMDD+3位流水)
	 */ 
	@Id
	private String balance_no;
	public String getBalance_no() {
		return this.balance_no;
	}
	public void setBalance_no(String balance_no) {
		this.balance_no = balance_no;
	}

	/** 
	 * 供应商
	 */ 
	@Column
	private String supp_code;
	public String getSupp_code() {
		return this.supp_code;
	}
	public void setSupp_code(String supp_code) {
		this.supp_code = supp_code;
	}

	/** 
	 * 供应商
	 */ 
	@Column
	private String supp_name;
	public String getSupp_name() {
		return this.supp_name;
	}
	public void setSupp_name(String supp_name) {
		this.supp_name = supp_name;
	}

	/** 
	 * 合同号PK(GUID)
	 */ 
	@Column
	private String contract_pk;
	public String getContract_pk() {
		return this.contract_pk;
	}
	public void setContract_pk(String contract_pk) {
		this.contract_pk = contract_pk;
	}

	/** 
	 * 合同号
	 */ 
	@Column
	private String contract_no;
	public String getContract_no() {
		return this.contract_no;
	}
	public void setContract_no(String contract_no) {
		this.contract_no = contract_no;
	}

	/** 
	 * 合同版本编号
	 */ 
	@Column
	private String contract_ver;
	public String getContract_ver() {
		return this.contract_ver;
	}
	public void setContract_ver(String contract_ver) {
		this.contract_ver = contract_ver;
	}

	/** 
	 * 结算类别代码(6021)
	 */ 
	@Column
	private String balance_type_code;
	public String getBalance_type_code() {
		return this.balance_type_code;
	}
	public void setBalance_type_code(String balance_type_code) {
		this.balance_type_code = balance_type_code;
	}

	/** 
	 * 结算类别名称 
	 */ 
	@Column
	private String balance_type_name;
	public String getBalance_type_name() {
		return this.balance_type_name;
	}
	public void setBalance_type_name(String balance_type_name) {
		this.balance_type_name = balance_type_name;
	}

	/** 
	 * 结算说明
	 */ 
	@Column
	private String balance_desc;
	public String getBalance_desc() {
		return this.balance_desc;
	}
	public void setBalance_desc(String balance_desc) {
		this.balance_desc = balance_desc;
	}

	/** 
	 * 结算日期
	 */ 
	@Column
	private String balance_date;
	public String getBalance_date() {
		return this.balance_date;
	}
	public void setBalance_date(String balance_date) {
		this.balance_date = balance_date;
	}

	/** 
	 * 票据号码集合(XXXX-KKKK或者多发票号用逗号分隔)
	 */ 
	@Column
	private String bills_nos;
	public String getBills_nos() {
		return this.bills_nos;
	}
	public void setBills_nos(String bills_nos) {
		this.bills_nos = bills_nos;
	}

	/** 
	 * 票据代码集合(XXXX-KKKK或者多发票代码用逗号分隔)
	 */ 
	@Column
	private String bills_codes;
	public String getBills_codes() {
		return this.bills_codes;
	}
	public void setBills_codes(String bills_codes) {
		this.bills_codes = bills_codes;
	}

	/** 
	 * 公司代码
	 */ 
	@Column
	private String company_code;
	public String getCompany_code() {
		return this.company_code;
	}
	public void setCompany_code(String company_code) {
		this.company_code = company_code;
	}

	/** 
	 * 公司名称
	 */ 
	@Column
	private String company_name;
	public String getCompany_name() {
		return this.company_name;
	}
	public void setCompany_name(String company_name) {
		this.company_name = company_name;
	}

	/** 
	 * 管理部门代码
	 */ 
	@Column
	private String dept_code;
	public String getDept_code() {
		return this.dept_code;
	}
	public void setDept_code(String dept_code) {
		this.dept_code = dept_code;
	}

	/** 
	 * 管理部门描叙
	 */ 
	@Column
	private String dept_desc;
	public String getDept_desc() {
		return this.dept_desc;
	}
	public void setDept_desc(String dept_desc) {
		this.dept_desc = dept_desc;
	}

	/** 
	 * 管理科室代码
	 */ 
	@Column
	private String unit_code;
	public String getUnit_code() {
		return this.unit_code;
	}
	public void setUnit_code(String unit_code) {
		this.unit_code = unit_code;
	}

	/** 
	 * 管理科室描叙
	 */ 
	@Column
	private String unit_desc;
	public String getUnit_desc() {
		return this.unit_desc;
	}
	public void setUnit_desc(String unit_desc) {
		this.unit_desc = unit_desc;
	}

	/** 
	 * 业务年月(YYYYMM)(数据生成时默认写入当前日期对应的年月)
	 */ 
	@Column
	private String bal_year_month;
	public String getBal_year_month() {
		return this.bal_year_month;
	}
	public void setBal_year_month(String bal_year_month) {
		this.bal_year_month = bal_year_month;
	}

	/** 
	 * 归档标志(1归档、0未归档)
	 */ 
	@Column
	private String archive_flag;
	public String getArchive_flag() {
		return this.archive_flag;
	}
	public void setArchive_flag(String archive_flag) {
		this.archive_flag = archive_flag;
	}

	/** 
	 * 归档编号(GD+YYYYYMMDD+3位流水号)
	 */ 
	@Column
	private String arch_stamp_no;
	public String getArch_stamp_no() {
		return this.arch_stamp_no;
	}
	public void setArch_stamp_no(String arch_stamp_no) {
		this.arch_stamp_no = arch_stamp_no;
	}

	/** 
	 * 归档日期(YYYYMMDD)
	 */ 
	@Column
	private String arch_date;
	public String getArch_date() {
		return this.arch_date;
	}
	public void setArch_date(String arch_date) {
		this.arch_date = arch_date;
	}

	/** 
	 * 数据状态（00无效10草稿20生效25开票30结案）
	 */ 
	@Column
	private String validflag;
	public String getValidflag() {
		return this.validflag;
	}
	public void setValidflag(String validflag) {
		this.validflag = validflag;
	}

	/** 
	 * 审批状态(00:待提报10:待审批 20:审批中 30审批拒绝40审批退回50审批通过)
	 */ 
	@Column
	private String status;
	public String getStatus() {
		return this.status;
	}
	public void setStatus(String status) {
		this.status = status;
	}

	/** 
	 * 备注
	 */ 
	@Column
	private String remark;
	public String getRemark() {
		return this.remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/** 
	 * 创建人ID
	 */ 
	@Column
	private String create_userid;
	public String getCreate_userid() {
		return this.create_userid;
	}
	public void setCreate_userid(String create_userid) {
		this.create_userid = create_userid;
	}

	/** 
	 * 创建人
	 */ 
	@Column
	private String create_name;
	public String getCreate_name() {
		return this.create_name;
	}
	public void setCreate_name(String create_name) {
		this.create_name = create_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;
	}

	/** 
	 * 修改人ID
	 */ 
	@Column
	private String update_userid;
	public String getUpdate_userid() {
		return this.update_userid;
	}
	public void setUpdate_userid(String update_userid) {
		this.update_userid = update_userid;
	}

	/** 
	 * 修改人
	 */ 
	@Column
	private String update_name;
	public String getUpdate_name() {
		return this.update_name;
	}
	public void setUpdate_name(String update_name) {
		this.update_name = update_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;
	}

	/** 
	 * 废除人ID
	 */ 
	@Column
	private String delete_userid;
	public String getDelete_userid() {
		return this.delete_userid;
	}
	public void setDelete_userid(String delete_userid) {
		this.delete_userid = delete_userid;
	}

	/** 
	 * 废除人
	 */ 
	@Column
	private String delete_name;
	public String getDelete_name() {
		return this.delete_name;
	}
	public void setDelete_name(String delete_name) {
		this.delete_name = delete_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;
	}
	//结算单数量
	private Double balance_qty; 
	//含税金额
	private String with_tax_amt;
	//不含税金额
	private String without_tax_amt;
	//税额
	private String tax_amt;
	public Double getBalance_qty() {
		return balance_qty;
	}
	public void setBalance_qty(Double balance_qty) {
		this.balance_qty = balance_qty;
	}
	public String getWith_tax_amt() {
		return with_tax_amt;
	}
	public void setWith_tax_amt(String with_tax_amt) {
		this.with_tax_amt = with_tax_amt;
	}
	public String getWithout_tax_amt() {
		return without_tax_amt;
	}
	public void setWithout_tax_amt(String without_tax_amt) {
		this.without_tax_amt = without_tax_amt;
	}
	public String getTax_amt() {
		return tax_amt;
	}
	public void setTax_amt(String tax_amt) {
		this.tax_amt = tax_amt;
	}
	
	/*** 新增报支单时，查询结算单主信息专用        ***/
	//票据款项用途代码(6034)
	//票据款项用途名称
	//开票日期(YYYY-MM-DD)
	private String bills_purpose_code;
	public String getBills_purpose_code() {
		return this.bills_purpose_code;
	}
	public void setBills_purpose_code(String bills_purpose_code) {
		this.bills_purpose_code = bills_purpose_code;
	}
	private String bills_purpose_name;
	public String getBills_purpose_name() {
		return this.bills_purpose_name;
	}
	public void setBills_purpose_name(String bills_purpose_name) {
		this.bills_purpose_name = bills_purpose_name;
	}
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date bills_open_date;
	public Date getBills_open_date() {
		return this.bills_open_date;
	}
	public void setBills_open_date(Date bills_open_date) {
		this.bills_open_date = bills_open_date;
	}
	
	//运费含税金额
	private Double freight_with_amt;
	//不含税运费金额
	private Double freight_without_amt;
	//不含税运费税额
	private Double price_tax_amt;
	public Double getFreight_with_amt() {
		return freight_with_amt;
	}
	public void setFreight_with_amt(Double freight_with_amt) {
		this.freight_with_amt = freight_with_amt;
	}
	public Double getFreight_without_amt() {
		return this.freight_without_amt;
	}
	public void setFreight_without_amt(Double freight_without_amt) {
		this.freight_without_amt = freight_without_amt;
	}
	public Double getPrice_tax_amt() {
		return price_tax_amt;
	}
	public void setPrice_tax_amt(Double price_tax_amt) {
		this.price_tax_amt = price_tax_amt;
	}
}
