/***文档注释***********************************************
 * 作者            ：
 * 创建日期     ：2018-04-12
 * 描述            ：质量设计-试样信息主表
 * 注意事项     ：
 * 遗留BUG   ：
 * 修改日期     ：
 * 修改人员     ：
 * 修改内容     ：
***********************************************************/
package market.Qms.qcm.vo;
import java.io.Serializable;

import market.Qms.qcm.mapper.SlmOrdDesignSampleMMapper;

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_ORD_DESIGN_SAMPLE_M", namespace=SlmOrdDesignSampleMMapper.class)
public class SlmOrdDesignSampleM extends BaseVO implements Serializable {
	
	@Override
	public boolean equals(Object obj) {
		//检验项+取样频次相同则视为相同
		SlmOrdDesignSampleM s2=(SlmOrdDesignSampleM)obj;
		if(this.phy_code_l.equals(s2.phy_code_l)&&
				this.phy_code_m.equals(s2.phy_code_m)&&
				this.phy_code_s.equals(s2.phy_code_s)&&
				this.item_code_d.equals(s2.item_code_d)&&
				this.item_code_s.equals(s2.item_code_s)&&
				this.item_code_t.equals(s2.item_code_t)&&
				this.rate_code.equals(s2.rate_code)){
			return true;
		}
		else
		{
			return false;
		}
	}
	
	
	
	@Override
	public int hashCode() {

		final int prime = 31;
        int result = 1;
        result = prime * result + ((phy_code_s == null) ? 0 : phy_code_s.hashCode());
        return result;
	}
	
	/** 
	 * DESIGN_KEY
	 */ 
	@Id
	private String design_key;
	public String getDesign_key() {
		return this.design_key;
	}
	public void setDesign_key(String design_key) {
		this.design_key = design_key;
	}

	/** 
	 * 序号
	 */ 
	@Id
	private Long index_seq;
	public Long getIndex_seq() {
		return this.index_seq;
	}
	public void setIndex_seq(Long index_seq) {
		this.index_seq = index_seq;
	}

	/** 
	 * 产品规范码
	 */ 
	@Column
	private String psc;
	public String getPsc() {
		return this.psc;
	}
	public void setPsc(String psc) {
		this.psc = psc;
	}

	/** 
	 * 认证机构代码
	 */ 
	@Column
	private String org_code;
	public String getOrg_code() {
		return this.org_code;
	}
	public void setOrg_code(String org_code) {
		this.org_code = org_code;
	}

	/** 
	 * 认证机构描述
	 */ 
	@Column
	private String org_name;
	public String getOrg_name() {
		return this.org_name;
	}
	public void setOrg_name(String org_name) {
		this.org_name = org_name;
	}

	/** 
	 * 材质检验大项代码
	 */ 
	@Column
	private String phy_code_l;
	public String getPhy_code_l() {
		return this.phy_code_l;
	}
	public void setPhy_code_l(String phy_code_l) {
		this.phy_code_l = phy_code_l;
	}

	/** 
	 * 材质检验大项名称
	 */ 
	@Column
	private String phy_name_l;
	public String getPhy_name_l() {
		return this.phy_name_l;
	}
	public void setPhy_name_l(String phy_name_l) {
		this.phy_name_l = phy_name_l;
	}

	/** 
	 * 试样组代码
	 */ 
	@Column
	private String phy_code_m;
	public String getPhy_code_m() {
		return this.phy_code_m;
	}
	public void setPhy_code_m(String phy_code_m) {
		this.phy_code_m = phy_code_m;
	}

	/** 
	 * 试样组名称
	 */ 
	@Column
	private String phy_name_m;
	public String getPhy_name_m() {
		return this.phy_name_m;
	}
	public void setPhy_name_m(String phy_name_m) {
		this.phy_name_m = phy_name_m;
	}

	/** 
	 * 检验项代码
	 */ 
	@Column
	private String phy_code_s;
	public String getPhy_code_s() {
		return this.phy_code_s;
	}
	public void setPhy_code_s(String phy_code_s) {
		this.phy_code_s = phy_code_s;
	}

	/** 
	 * 检验项名称
	 */ 
	@Column
	private String phy_name_s;
	public String getPhy_name_s() {
		return this.phy_name_s;
	}
	public void setPhy_name_s(String phy_name_s) {
		this.phy_name_s = phy_name_s;
	}

	/** 
	 * 试验方向代码
	 */ 
	@Column
	private String item_code_d;
	public String getItem_code_d() {
		return this.item_code_d;
	}
	public void setItem_code_d(String item_code_d) {
		this.item_code_d = item_code_d;
	}

	/** 
	 * 试验方向描述
	 */ 
	@Column
	private String item_name_d;
	public String getItem_name_d() {
		return this.item_name_d;
	}
	public void setItem_name_d(String item_name_d) {
		this.item_name_d = item_name_d;
	}

	/** 
	 * 试验温度代码
	 */ 
	@Column
	private String item_code_t;
	public String getItem_code_t() {
		return this.item_code_t;
	}
	public void setItem_code_t(String item_code_t) {
		this.item_code_t = item_code_t;
	}

	/** 
	 * 试验温度描述
	 */ 
	@Column
	private String item_name_t;
	public String getItem_name_t() {
		return this.item_name_t;
	}
	public void setItem_name_t(String item_name_t) {
		this.item_name_t = item_name_t;
	}

	/** 
	 * 试样尺寸代码
	 */ 
	@Column
	private String item_code_s;
	public String getItem_code_s() {
		return this.item_code_s;
	}
	public void setItem_code_s(String item_code_s) {
		this.item_code_s = item_code_s;
	}

	/** 
	 * 试样尺寸描述
	 */ 
	@Column
	private String item_name_s;
	public String getItem_name_s() {
		return this.item_name_s;
	}
	public void setItem_name_s(String item_name_s) {
		this.item_name_s = item_name_s;
	}

	/** 
	 * 试样类型代码
	 */ 
	@Column
	private String sample_style_code;
	public String getSample_style_code() {
		return this.sample_style_code;
	}
	public void setSample_style_code(String sample_style_code) {
		this.sample_style_code = sample_style_code;
	}

	/** 
	 * 试样类型描述
	 */ 
	@Column
	private String sample_style_name;
	public String getSample_style_name() {
		return this.sample_style_name;
	}
	public void setSample_style_name(String sample_style_name) {
		this.sample_style_name = sample_style_name;
	}

	/** 
	 * 取样频率代码
	 */ 
	@Column
	private String rate_code;
	public String getRate_code() {
		return this.rate_code;
	}
	public void setRate_code(String rate_code) {
		this.rate_code = rate_code;
	}

	/** 
	 * 取样频率描述
	 */ 
	@Column
	private String rate_desc;
	public String getRate_desc() {
		return this.rate_desc;
	}
	public void setRate_desc(String rate_desc) {
		this.rate_desc = rate_desc;
	}
	/** 
	 * 是否判定(1:是，0：否)
	 */ 
	@Column
	private String isjudge;
	public String getIsjudge() {
		return this.isjudge;
	}
	public void setIsjudge(String isjudge) {
		this.isjudge = isjudge;
	}
	
	/**
	 * 添加是否检验字段
	 */
	@Column
	private String ischeck;
	
	
	public String getIscheck() {
		return ischeck;
	}



	public void setIscheck(String ischeck) {
		this.ischeck = ischeck;
	}

	/**
	 * 是否报出字段
	 */
	@Column
	private String isquote;
	
	
	public String getIsquote() {
		return isquote;
	}



	public void setIsquote(String isquote) {
		this.isquote = isquote;
	}

	/**
	 * 炉号
	 */
	
	private String heat_no;
	public String getHeat_no() {
		return heat_no;
	}

	public void setHeat_no(String heat_no) {
		this.heat_no = heat_no;
	}
	

	/**
	 * 轧批号
	 */
	private String batch_no;

	public String getBatch_no() {
		return batch_no;
	}

	public void setBatch_no(String batch_no) {
		this.batch_no = batch_no;
	}


	/**
	 * 检验号
	 */
	
	
	private String inspection_lot;
	public String getInspection_lot() {
		return inspection_lot;
	}

	public void setInspection_lot(String inspection_lot) {
		this.inspection_lot = inspection_lot;
	}
	

	/**
	 *取样材料号
	 */
	
	private String material_no;
	public String getMaterial_no() {
		return material_no;
	}

	public void setMaterial_no(String material_no) {
		this.material_no = material_no;
	}
	
	/**
	 * 全程产线号
	 */
	private String msc_pline;
	public String getMsc_pline() {
		return msc_pline;
	}

	public void setMsc_pline(String msc_pline) {
		this.msc_pline = msc_pline;
	}
	
	/**
	 * 工序代码
	 */
	
	private String process_code;
	public String getProcess_code() {
		return process_code;
	}

	public void setProcess_code(String process_code) {
		this.process_code = process_code;
	}
	
	/**
	 * 产线代码
	 */
	private String pline_code;
	public String getPline_code() {
		return pline_code;
	}

	public void setPline_code(String pline_code) {
		this.pline_code = pline_code;
	}
	
	/**
	 * 产线名称
	 */
	
	private String pline_name;
	public String getPline_name() {
		return pline_name;
	}

	public void setPline_name(String pline_name) {
		this.pline_name = pline_name;
	}


	/**
	 * 炼钢牌号代码
	 */
	private String grade_code;
	public String getGrade_code() {
		return grade_code;
	}

	public void setGrade_code(String grade_code) {
		this.grade_code = grade_code;
	}

	/**
	 * 炼钢牌号名称
	 */

	private String grade_name;
	public String getGrade_name() {
		return grade_name;
	}

	public void setGrade_name(String grade_name) {
		this.grade_name = grade_name;
	}
	
	/**
	 * 合同行信息
	 */
	private String contract_line_no;
	public String getContract_line_no() {
		return contract_line_no;
	}

	public void setContract_line_no(String contract_line_no) {
		this.contract_line_no = contract_line_no;
	}
	
	/**
	 * 销售订单号(合同号+订单行号，示例:YT-66G66001)
	 */
	
	private String order_no;
	public String getOrder_no() {
		return order_no;
	}

	public void setOrder_no(String order_no) {
		this.order_no = order_no;
	}
	
	
	
	/**
	 * 全程工序顺序号
	 */
	
	private String pline_seq;


	public String getPline_seq() {
		return pline_seq;
	}

	public void setPline_seq(String pline_seq) {
		this.pline_seq = pline_seq;
	}
	
	/**
	 * 用于判断是改判还是原判 0：原判；1：改判
	 */
	
	private String judge;
	
	
	public String getJudge() {
		return judge;
	}

	public void setJudge(String judge) {
		this.judge = judge;
	}
	
	
	private String board_no;
	public String getBoard_no() {
		return board_no;
	}



	public void setBoard_no(String board_no) {
		this.board_no = board_no;
	}
	
	/**
	 * 新增分组字段:分组索引号(同一分组的为多选一项)
	 */
	@Column
	private String group_seq;
	public String getGroup_seq() {
		return group_seq;
	}
	public void setGroup_seq(String group_seq) {
		this.group_seq = group_seq;
	}
	/**
	 * 用于改判引用传参
	 */
	//引用取样编号
		private String quote_specimen_no;
		

		public String getQuote_specimen_no() {
			return quote_specimen_no;
		}

		public void setQuote_specimen_no(String quote_specimen_no) {
			this.quote_specimen_no = quote_specimen_no;
		}
		/** 
		 * 材质检验项代码（大类）
		 */ 
		
		private String quote_phy_code_l;
		public String getQuote_phy_code_l() {
			return this.quote_phy_code_l;
		}
		public void setQuote_phy_code_l(String quote_phy_code_l) {
			this.quote_phy_code_l = quote_phy_code_l;
		}

		/** 
		 * 试样组代码
		 */ 
		
		private String quote_phy_code_m;
		public String getQuote_phy_code_m() {
			return this.quote_phy_code_m;
		}
		public void setQuote_phy_code_m(String quote_phy_code_m) {
			this.quote_phy_code_m = quote_phy_code_m;
		}

		/** 
		 * 材质检验项代码
		 */ 
		
		private String quote_phy_code_s;
		public String getQuote_phy_code_s() {
			return this.quote_phy_code_s;
		}
		public void setQuote_phy_code_s(String quote_phy_code_s) {
			this.quote_phy_code_s = quote_phy_code_s;
		}

		/** 
		 * 试验方向代码
		 */ 
		
		private String quote_item_code_d;
		public String getQuote_item_code_d() {
			return this.quote_item_code_d;
		}
		public void setQuote_item_code_d(String quote_item_code_d) {
			this.quote_item_code_d = quote_item_code_d;
		}

		/** 
		 * 试验温度代码
		 */ 
		
		private String quote_item_code_t;
		public String getQuote_item_code_t() {
			return this.quote_item_code_t;
		}
		public void setQuote_item_code_t(String quote_item_code_t) {
			this.quote_item_code_t = quote_item_code_t;
		}

		/** 
		 * 试样尺寸代码
		 */ 
		
		private String quote_item_code_s;
		public String getQuote_item_code_s() {
			return this.quote_item_code_s;
		}
		public void setQuote_item_code_s(String quote_item_code_s) {
			this.quote_item_code_s = quote_item_code_s;
		}
		
		
		/** 
		 * 值1
		 */ 
		
		private String val1;
		public String getVal1() {
			return this.val1;
		}
		public void setVal1(String val1) {
			this.val1 = val1;
		}

		/** 
		 * 值2
		 */ 
		
		private String val2;
		public String getVal2() {
			return this.val2;
		}
		public void setVal2(String val2) {
			this.val2 = val2;
		}

		/** 
		 * 值3
		 */ 
		
		private String val3;
		public String getVal3() {
			return this.val3;
		}
		public void setVal3(String val3) {
			this.val3 = val3;
		}


}
