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

import market.Slm.DeliveryManagement.vo.SlmLadingBillHeat;
import market.Slm.FundManagement.mapper.SlmFundSettleBillMapper;

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_SETTLE_BILL", namespace=SlmFundSettleBillMapper.class)
public class SlmFundSettleBill extends BaseVO implements Serializable {
	/**
	 * 客户结算单主信息表
	 */
	private static final long serialVersionUID = 3435516226625151510L;
	/** 
	 * 结算单编号 YYYYMMDDHHmmSS+6位流水
	 */ 
	@Id
	private String settle_bill_no;
	public String  getSettle_bill_no() {
		return this.settle_bill_no;
	}
	public void setSettle_bill_no(String settle_bill_no) {
		this.settle_bill_no = settle_bill_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;
	public String  getBalance_unit_no() {
		return this.balance_unit_no;
	}
	public void setBalance_unit_no(String balance_unit_no) {
		this.balance_unit_no = balance_unit_no;
	}

	/** 
	 * 结算单位名称
	 */ 
	@Column
	private String balance_unit_name;
	public String  getBalance_unit_name() {
		return this.balance_unit_name;
	}
	public void setBalance_unit_name(String balance_unit_name) {
		this.balance_unit_name = balance_unit_name;
	}

	/** 
	 * 结算主体编号
	 */ 
	@Column
	private String balance_object_no;
	public String  getBalance_object_no() {
		return this.balance_object_no;
	}
	public void setBalance_object_no(String balance_object_no) {
		this.balance_object_no = balance_object_no;
	}

	/** 
	 * 结算主体名称
	 */ 
	@Column
	private String balance_object_name;
	public String  getBalance_object_name() {
		return this.balance_object_name;
	}
	public void setBalance_object_name(String balance_object_name) {
		this.balance_object_name = balance_object_name;
	}

	/** 
	 * 发票编号
	 */ 
	@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 contract_no;
	public String getContract_no() {
		return contract_no;
	}
	public void setContract_no(String contract_no) {
		this.contract_no = contract_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 balance_amount;
	public Double  getBalance_amount() {
		return this.balance_amount;
	}
	public void setBalance_amount(Double balance_amount) {
		this.balance_amount = balance_amount;
	}

	/** 
	 * 状态 1：编辑；2：待确认 3：确认 4：开票申请 5：票据勾稽 6：使用 7：结转
	 */ 
	@Column
	private String flag;
	public String  getFlag() {
		return this.flag;
	}
	public void setFlag(String flag) {
		this.flag = flag;
	}

	/**
	 * 税率
	 * */
	@Column
	private Double tax_rate;

	/** 
	 * 备注
	 */ 
	@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
	private String check_man_no;
	public String  getCheck_man_no() {
		return this.check_man_no;
	}
	public void setCheck_man_no(String check_man_no) {
		this.check_man_no = check_man_no;
	}

	/** 
	 * 确认人姓名
	 */ 
	@Column
	private String check_man_name;
	public String  getCheck_man_name() {
		return this.check_man_name;
	}
	public void setCheck_man_name(String check_man_name) {
		this.check_man_name = check_man_name;
	}

	/** 
	 * 确认时间
	 */ 
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date check_time;
	public Date  getCheck_time() {
		return this.check_time;
	}
	public void setCheck_time(Date check_time) {
		this.check_time = check_time;
	}

	/** 
	 * 结转序列
	 */ 
	@Column
	private String carryover_seq;
	public String  getCarryover_seq() {
		return this.carryover_seq;
	}
	public void setCarryover_seq(String carryover_seq) {
		this.carryover_seq = carryover_seq;
	}

	/** 
	 * 结转人编号
	 */ 
	@Column
	private String carryover_man_no;
	public String  getCarryover_man_no() {
		return this.carryover_man_no;
	}
	public void setCarryover_man_no(String carryover_man_no) {
		this.carryover_man_no = carryover_man_no;
	}

	/** 
	 * 结转人姓名
	 */ 
	@Column
	private String carryover_man_name;
	public String  getCarryover_man_name() {
		return this.carryover_man_name;
	}
	public void setCarryover_man_name(String carryover_man_name) {
		this.carryover_man_name = carryover_man_name;
	}

	/** 
	 * 结转时间
	 */ 
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date carryover_time;
	public Date  getCarryover_time() {
		return this.carryover_time;
	}
	public void setCarryover_time(Date carryover_time) {
		this.carryover_time = carryover_time;
	}
	//原料卷号
	private String materailcoilno;
	public String getMaterailcoilno() {
		return materailcoilno;
	}
	public void setMaterailcoilno(String materailcoilno) {
		this.materailcoilno = materailcoilno;
	}
	//卷号
	private String coilno;
	public String getCoilno() {
		return coilno;
	}
	public void setCoilno(String coilno) {
		this.coilno = coilno;
	}

	//是否有冲减信息 0无 1有
	private String have_writeDown;
	
	//开票金额=结算金额-冲减金额
	private String invoice_amount;

	//提单集合
	private List<SlmLadingBillHeat> heatList;

	//明细集合
	private List<SlmFundSettleBillInvoice> detailList;

	public List<SlmLadingBillHeat> getHeatList() {
		return heatList;
	}
	public void setHeatList(List<SlmLadingBillHeat> heatList) {
		this.heatList = heatList;
	}
	public Double getTax_rate() {
		return tax_rate;
	}
	public void setTax_rate(Double tax_rate) {
		this.tax_rate = tax_rate;
	}
	public String getHave_writeDown() {
		return have_writeDown;
	}
	public void setHave_writeDown(String have_writeDown) {
		this.have_writeDown = have_writeDown;
	}

	// 重量
	private Double totalweight;
	public Double getTotalweight() {
		return totalweight;
	}
	public void setTotalweight(Double totalweight) {
		this.totalweight = totalweight;
	}
	public List<SlmFundSettleBillInvoice> getDetailList() {
		return detailList;
	}
	public void setDetailList(List<SlmFundSettleBillInvoice> detailList) {
		this.detailList = detailList;
	}
	public String getInvoice_amount() {
		return invoice_amount;
	}
	public void setInvoice_amount(String invoice_amount) {
		this.invoice_amount = invoice_amount;
	}
	
}
