/***文档注释***********************************************
 * 作者            ：
 * 创建日期     ：2018-04-11
 * 描述            ：试样号与合同信息关系表
 * 注意事项     ：
 * 遗留BUG   ：
 * 修改日期     ：
 * 修改人员     ：
 * 修改内容     ：
***********************************************************/
package market.Qms.qcm.vo;
import java.io.Serializable;
import java.util.Date;

import market.Qms.qcm.mapper.QcmJhySampleROrdMapper;

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="QCM_JHY_SAMPLE_R_ORD", namespace=QcmJhySampleROrdMapper.class)
public class QcmJhySampleROrd extends BaseVO implements Serializable {
	@Override
	public boolean equals(Object obj) {
		QcmJhySampleROrd s2=(QcmJhySampleROrd)obj;
		if(this.design_key.equals(s2.design_key)&&this.cert_inst_code.equals(s2.cert_inst_code)
				&&this.smp_type_code.equals(s2.smp_type_code)){
			return true;
		}
		else
		{
			return false;
		}
	}
	
	
	
	@Override
	public int hashCode() {

		final int prime = 31;
        int result = 1;
        result = prime * result + ((design_key == null) ? 0 : design_key.hashCode());
        return result;
	}



	/** 
	 * 试样号
	 */ 
	@Id
	private String smp_no;
	public String getSmp_no() {
		return this.smp_no;
	}
	public void setSmp_no(String smp_no) {
		this.smp_no = smp_no;
	}

	/** 
	 * 炉号
	 */ 
	@Column
	private String heat_no;
	public String getHeat_no() {
		return this.heat_no;
	}
	public void setHeat_no(String heat_no) {
		this.heat_no = heat_no;
	}

	/** 
	 * 轧批号
	 */ 
	@Column
	private String batch_no;
	public String getBatch_no() {
		return this.batch_no;
	}
	public void setBatch_no(String batch_no) {
		this.batch_no = batch_no;
	}

	/** 
	 * 检验号
	 */ 
	@Column
	private String inspection_lot;
	public String getInspection_lot() {
		return this.inspection_lot;
	}
	public void setInspection_lot(String inspection_lot) {
		this.inspection_lot = inspection_lot;
	}

	/** 
	 * DESIGN_KEY（来源于计划模块）
	 */ 
	@Column
	private String design_key;
	public String getDesign_key() {
		return this.design_key;
	}
	public void setDesign_key(String design_key) {
		this.design_key = design_key;
	}

	/** 
	 * 合同行号PK码（改判-改产品码写产品码PSC）
	 */ 
	@Id
	private String contract_line_no;
	public String getContract_line_no() {
		return this.contract_line_no;
	}
	public void setContract_line_no(String contract_line_no) {
		this.contract_line_no = contract_line_no;
	}

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

	public void setPsc_desc(String psc_desc) {
		this.psc_desc = psc_desc;
	}
	
	
	/**
	 * 全程产线号
	 * 
	 */
	@Column
	private String msc_pline;
	
	public String getMsc_pline() {
		return msc_pline;
	}



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

	@Column
	private String process_code;
	
	public String getProcess_code() {
		return process_code;
	}
	public void setProcess_code(String process_code) {
		this.process_code = process_code;
	}




	/** 
	 * 认证机构代码
	 */ 
	@Column
	private String cert_inst_code;
	public String getCert_inst_code() {
		return this.cert_inst_code;
	}
	public void setCert_inst_code(String cert_inst_code) {
		this.cert_inst_code = cert_inst_code;
	}

	/** 
	 * 认证机构名称
	 */ 
	@Column
	private String cert_inst_name;
	public String getCert_inst_name() {
		return this.cert_inst_name;
	}
	public void setCert_inst_name(String cert_inst_name) {
		this.cert_inst_name = cert_inst_name;
	}

	/** 
	 * 试样类型代码
	 */ 
	@Column
	private String smp_type_code;
	public String getSmp_type_code() {
		return this.smp_type_code;
	}
	public void setSmp_type_code(String smp_type_code) {
		this.smp_type_code = smp_type_code;
	}

	/** 
	 * 试样类型名称
	 */ 
	@Column
	private String smp_type_name;
	public String getSmp_type_name() {
		return this.smp_type_name;
	}
	public void setSmp_type_name(String smp_type_name) {
		this.smp_type_name = smp_type_name;
	}

	/** 
	 * 熔炼成分套数（SLM_ORD_DESIGN_STD，交付和客户同时存在时，两套里面取最大的那套）
	 */ 
	@Column
	private Long smelting_cnt;
	public Long getSmelting_cnt() {
		return this.smelting_cnt;
	}
	public void setSmelting_cnt(Long smelting_cnt) {
		this.smelting_cnt = smelting_cnt;
	}

	/** 
	 * 成品成分套数（SLM_ORD_DESIGN_STD，交付和客户同时存在时，两套里面取最大的那套）
	 */ 
	@Column
	private Long product_cnt;
	public Long getProduct_cnt() {
		return this.product_cnt;
	}
	public void setProduct_cnt(Long product_cnt) {
		this.product_cnt = product_cnt;
	}

	/** 
	 * 成品成分化验号集合（存在多个的情况下，使用"，"进行分割）
	 */ 
	@Column
	private String assay_no_cp;
	public String getAssay_no_cp() {
		return this.assay_no_cp;
	}
	public void setAssay_no_cp(String assay_no_cp) {
		this.assay_no_cp = assay_no_cp;
	}

	/** 
	 * 熔炼成分化验号集合（存在多个的情况下，使用"，"进行分割）
	 */ 
	@Column
	private String assay_no_rl;
	public String getAssay_no_rl() {
		return this.assay_no_rl;
	}
	public void setAssay_no_rl(String assay_no_rl) {
		this.assay_no_rl = assay_no_rl;
	}

	/** 
	 * 成分判定记录号
	 */ 
	@Column
	private String cic_id;
	public String getCic_id() {
		return this.cic_id;
	}
	public void setCic_id(String cic_id) {
		this.cic_id = cic_id;
	}


	/** 
	 * 材质判定记录号
	 */ 
	@Column
	private String phy_id;
	public String getPhy_id() {
		return this.phy_id;
	}
	public void setPhy_id(String phy_id) {
		this.phy_id = phy_id;
	}

	/** 
	 * 判定状态(0:待判，1已判）
	 */ 
	@Column
	private String judge_status;
	public String getJudge_status() {
		return this.judge_status;
	}
	public void setJudge_status(String judge_status) {
		this.judge_status = judge_status;
	}

	/** 
	 * 判定结果代码
	 */ 
	@Column
	private String judge_result_code;
	public String getJudge_result_code() {
		return this.judge_result_code;
	}
	public void setJudge_result_code(String judge_result_code) {
		this.judge_result_code = judge_result_code;
	}

	/** 
	 * 判定结果描述
	 */ 
	@Column
	private String judge_result_desc;
	public String getJudge_result_desc() {
		return this.judge_result_desc;
	}
	public void setJudge_result_desc(String judge_result_desc) {
		this.judge_result_desc = judge_result_desc;
	}

	/** 
	 * 判定人
	 */ 
	@Column
	private String judge_name;
	public String getJudge_name() {
		return this.judge_name;
	}
	public void setJudge_name(String judge_name) {
		this.judge_name = judge_name;
	}

	/** 
	 * 判定时间
	 */ 
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date judge_time;
	public Date getJudge_time() {
		return this.judge_time;
	}
	public void setJudge_time(Date judge_time) {
		this.judge_time = judge_time;
	}

	/** 
	 * 判定备注
	 */ 
	@Column
	private String judge_memo;
	public String getJudge_memo() {
		return this.judge_memo;
	}
	public void setJudge_memo(String judge_memo) {
		this.judge_memo = judge_memo;
	}

	/**
	 * 产线编码(仅供查询)
	 */
	private String pline_code;
	
	/**
	 * 产线名称(仅供查询)
	 */
	private String pline_name;
	
	/**
	 * 取样编号(仅供查询)
	 */
	private String specimen_no;
	public String getPline_code() {
		return pline_code;
	}

	public void setPline_code(String pline_code) {
		this.pline_code = pline_code;
	}

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

	public String getSpecimen_no() {
		return specimen_no;
	}

	public void setSpecimen_no(String specimen_no) {
		this.specimen_no = specimen_no;
	}
    /**
     * 物料号 MATERIAL_NO
     */
	private String material_no;
	public String getMaterial_no() {
		return material_no;
	}

	public void setMaterial_no(String material_no) {
		this.material_no = material_no;
	}
	
	
	/**
	 * 销售订单号
	 */
	@Column
	private String order_no;
	public String getOrder_no() {
		return order_no;
	}
	public void setOrder_no(String order_no) {
		this.order_no = order_no;
	}
	/**
	 * 产品规格----2019.1.3
	 */
	private Double pro_specification;
	public Double getPro_specification() {
		return pro_specification;
	}
	public void setPro_specification(Double pro_specification) {
		this.pro_specification = pro_specification;
	}
	
	//投料卷号
	private String object_no;
	public String getObject_no() {
		return object_no;
	}
	public void setObject_no(String object_no) {
		this.object_no = object_no;
	}
	//原料卷号
	private String materailcoilno;
	public String getMaterailcoilno() {
		return materailcoilno;
	}
	public void setMaterailcoilno(String materailcoilno) {
		this.materailcoilno = materailcoilno;
	}
	
}
