/***文档注释***********************************************
 * 作者            ：
 * 创建日期     ：2019-08-26
 * 描述            ：资材备件需求审批(单独流程)
 * 注意事项     ：
 * 遗留BUG   ：
 * 修改日期     ：
 * 修改人员     ：
 * 修改内容     ：
***********************************************************/
package market.Pms.Demand.vo;
import java.io.Serializable;
import java.util.Date;

import market.Pms.Demand.mapper.PurDemandMatMapper;

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_DEMAND_MAT", namespace=PurDemandMatMapper.class)
public class PurDemandMat extends BaseVO implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 607185299619380366L;
	/** 
	 * 需求单号(XQ+YYYYMMDD+4位)
	 */ 
	@Id
	private String demand_no;
	public String getDemand_no() {
		return this.demand_no;
	}
	public void setDemand_no(String demand_no) {
		this.demand_no = demand_no;
	}

	/** 
	 * 需求年月(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;
	}
	
	private String bal_year_month2;
	public String getBal_year_month2() {
		return this.bal_year_month2;
	}
	public void setBal_year_month2(String bal_year_month2) {
		this.bal_year_month2 = bal_year_month2;
	}

	/** 
	 * 采购类型代码(6025)
	 */ 
	@Column
	private String pru_type_code;
	public String getPru_type_code() {
		return this.pru_type_code;
	}
	public void setPru_type_code(String pru_type_code) {
		this.pru_type_code = pru_type_code;
	}

	/** 
	 * 采购类型名称
	 */ 
	@Column
	private String pru_type_name;
	public String getPru_type_name() {
		return this.pru_type_name;
	}
	public void setPru_type_name(String pru_type_name) {
		this.pru_type_name = pru_type_name;
	}

	/** 
	 * 紧急程度类型(6026)
	 */ 
	@Column
	private String urgency_type_code;
	public String getUrgency_type_code() {
		return this.urgency_type_code;
	}
	public void setUrgency_type_code(String urgency_type_code) {
		this.urgency_type_code = urgency_type_code;
	}

	/** 
	 * 紧急程度名称
	 */ 
	@Column
	private String urgency_type_name;
	public String getUrgency_type_name() {
		return this.urgency_type_name;
	}
	public void setUrgency_type_name(String urgency_type_name) {
		this.urgency_type_name = urgency_type_name;
	}

	/** 
	 * 分类代码
	 */ 
	@Column
	private String mat_class_code;
	public String getMat_class_code() {
		return this.mat_class_code;
	}
	public void setMat_class_code(String mat_class_code) {
		this.mat_class_code = mat_class_code;
	}

	/** 
	 * 分类名称
	 */ 
	@Column
	private String mat_class_name;
	public String getMat_class_name() {
		return this.mat_class_name;
	}
	public void setMat_class_name(String mat_class_name) {
		this.mat_class_name = mat_class_name;
	}

	/** 
	 * 物料编码
	 */ 
	@Column
	private String item_code;
	public String getItem_code() {
		return this.item_code;
	}
	public void setItem_code(String item_code) {
		this.item_code = item_code;
	}

	/** 
	 * 物料名称
	 */ 
	@Column
	private String item_name;
	public String getItem_name() {
		return this.item_name;
	}
	public void setItem_name(String item_name) {
		this.item_name = item_name;
	}

	/** 
	 * 物料描述
	 */ 
	@Column
	private String item_desc;
	public String getItem_desc() {
		return this.item_desc;
	}
	public void setItem_desc(String item_desc) {
		this.item_desc = item_desc;
	}

	/** 
	 * 规格
	 */ 
	@Column
	private String spec_name;
	public String getSpec_name() {
		return this.spec_name;
	}
	public void setSpec_name(String spec_name) {
		this.spec_name = spec_name;
	}

	/** 
	 * 采购单位编码
	 */ 
	@Column
	private String uom_code;
	public String getUom_code() {
		return this.uom_code;
	}
	public void setUom_code(String uom_code) {
		this.uom_code = uom_code;
	}

	/** 
	 * 采购单位名称
	 */ 
	@Column
	private String uom_name;
	public String getUom_name() {
		return this.uom_name;
	}
	public void setUom_name(String uom_name) {
		this.uom_name = uom_name;
	}

	/** 
	 * 部门成员需求数量
	 */ 
	@Column
	private Double qty_apply_demand;
	public Double getQty_apply_demand() {
		return this.qty_apply_demand;
	}
	public void setQty_apply_demand(Double qty_apply_demand) {
		this.qty_apply_demand = qty_apply_demand;
	}

	/** 
	 * 机组主管核对数量
	 */ 
	@Column
	private Double qty_org_demand;
	public Double getQty_org_demand() {
		return this.qty_org_demand;
	}
	public void setQty_org_demand(Double qty_org_demand) {
		this.qty_org_demand = qty_org_demand;
	}

	/** 
	 * 资材备件主管审批数量
	 */ 
	@Column
	private Double qty_mat_demand;
	public Double getQty_mat_demand() {
		return this.qty_mat_demand;
	}
	public void setQty_mat_demand(Double qty_mat_demand) {
		this.qty_mat_demand = qty_mat_demand;
	}

	/** 
	 * 主管领导审批数量
	 */ 
	@Column
	private Double qty_lead_demand;
	public Double getQty_lead_demand() {
		return this.qty_lead_demand;
	}
	public void setQty_lead_demand(Double qty_lead_demand) {
		this.qty_lead_demand = qty_lead_demand;
	}

	/** 
	 * 总经理审批数量
	 */ 
	@Column
	private Double qty_manage_demand;
	public Double getQty_manage_demand() {
		return this.qty_manage_demand;
	}
	public void setQty_manage_demand(Double qty_manage_demand) {
		this.qty_manage_demand = qty_manage_demand;
	}

	/** 
	 * 预算单价(超过1万需特殊注意)
	 */ 
	@Column
	private Double price;
	public Double getPrice() {
		return this.price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}

	/** 
	 * 预算金额
	 */ 
	@Column
	private Double amount;
	public Double getAmount() {
		return this.amount;
	}
	public void setAmount(Double amount) {
		this.amount = amount;
	}

	/** 
	 * 申请人
	 */ 
	@Column
	private String apply_man;
	public String getApply_man() {
		return this.apply_man;
	}
	public void setApply_man(String apply_man) {
		this.apply_man = apply_man;
	}

	/** 
	 * 申请时间
	 */ 
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date apply_time;
	public Date getApply_time() {
		return this.apply_time;
	}
	public void setApply_time(Date apply_time) {
		this.apply_time = apply_time;
	}

	/** 
	 * 机组主管审批人
	 */ 
	@Column
	private String org_man;
	public String getOrg_man() {
		return this.org_man;
	}
	public void setOrg_man(String org_man) {
		this.org_man = org_man;
	}

	/** 
	 * 机组主管审批时间
	 */ 
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date org_time;
	public Date getOrg_time() {
		return this.org_time;
	}
	public void setOrg_time(Date org_time) {
		this.org_time = org_time;
	}

	/** 
	 * 资材备件主管审批人
	 */ 
	@Column
	private String mat_man;
	public String getMat_man() {
		return this.mat_man;
	}
	public void setMat_man(String mat_man) {
		this.mat_man = mat_man;
	}

	/** 
	 * 资材备件主管审批时间
	 */ 
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date mat_time;
	public Date getMat_time() {
		return this.mat_time;
	}
	public void setMat_time(Date mat_time) {
		this.mat_time = mat_time;
	}

	/** 
	 * 主管领导审批人
	 */ 
	@Column
	private String lead_man;
	public String getLead_man() {
		return this.lead_man;
	}
	public void setLead_man(String lead_man) {
		this.lead_man = lead_man;
	}

	/** 
	 * 主管领导审批时间
	 */ 
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date lead_time;
	public Date getLead_time() {
		return this.lead_time;
	}
	public void setLead_time(Date lead_time) {
		this.lead_time = lead_time;
	}

	/** 
	 * 总经理审批人
	 */ 
	@Column
	private String manage_man;
	public String getManage_man() {
		return this.manage_man;
	}
	public void setManage_man(String manage_man) {
		this.manage_man = manage_man;
	}

	/** 
	 * 总经理审批时间
	 */ 
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date manage_time;
	public Date getManage_time() {
		return this.manage_time;
	}
	public void setManage_time(Date manage_time) {
		this.manage_time = manage_time;
	}

	/** 
	 * 退回原因
	 */ 
	@Column
	private String back_reason;
	public String getBack_reason() {
		return this.back_reason;
	}
	public void setBack_reason(String back_reason) {
		this.back_reason = back_reason;
	}

	/** 
	 * 退回时间
	 */ 
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date back_time;
	public Date getBack_time() {
		return this.back_time;
	}
	public void setBack_time(Date back_time) {
		this.back_time = back_time;
	}

	/** 
	 * 退回人
	 */ 
	@Column
	private String back_man;
	public String getBack_man() {
		return this.back_man;
	}
	public void setBack_man(String back_man) {
		this.back_man = back_man;
	}

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

	/** 
	 * 状态(0需求申请 1组织主管审批 2资材备件审批 3主管领导审批 4总经理审批)
	 */ 
	@Column
	private String state;
	public String getState() {
		return this.state;
	}
	public void setState(String state) {
		this.state = state;
	}
	
	/**
	 * 申报部门
	 */
	@Column
	private String apply_department;
	public String getApply_department() {
		return apply_department;
	}
	public void setApply_department(String apply_department) {
		this.apply_department = apply_department;
	}

	/**
	 * 申报部门主管
	 */
	@Column
	private String dept_man;
	public String getDept_man() {
		return dept_man;
	}
	public void setDept_man(String dept_man) {
		this.dept_man = dept_man;
	}
	
	/**
	 * 是否有效
	 */
	@Column
	private String valid_flag;
	public String getValid_flag() {
		return valid_flag;
	}
	public void setValid_flag(String valid_flag) {
		this.valid_flag = valid_flag;
	}
	
	/**
	 * 附件路径
	 */
	@Column
	private String annex_path;
	public String getAnnex_path() {
		return annex_path;
	}
	public void setAnnex_path(String annex_path) {
		this.annex_path = annex_path;
	}
	
	// *****************************************************************************************************
	
	//新钢物资编码
	private String item_code_xg;
	public String getItem_code_xg() {
		return item_code_xg;
	}
	public void setItem_code_xg(String item_code_xg) {
		this.item_code_xg = item_code_xg;
	}
	
}
