package com.uas.platform.b2b.erp.model;

import com.uas.platform.b2b.model.PurchaseMRBProjectItem;

/**
 * 买方MRB项目明细
 * @author suntg
 *
 */
public class PurchaseQuaMRBProjectItem {
	
	private Short mrd_detno;//明细行号
	private String mrd_ciname;//项目名称
	private String mrd_content;//异常情况
	private String mrd_result;//处理结果
	private Double mrd_ngqty;//不合格数
	
	public Short getMrd_detno() {
		return mrd_detno;
	}
	public void setMrd_detno(Short mrd_detno) {
		this.mrd_detno = mrd_detno;
	}
	public String getMrd_ciname() {
		return mrd_ciname;
	}
	public void setMrd_ciname(String mrd_ciname) {
		this.mrd_ciname = mrd_ciname;
	}
	public String getMrd_content() {
		return mrd_content;
	}
	public void setMrd_content(String mrd_content) {
		this.mrd_content = mrd_content;
	}
	public String getMrd_result() {
		return mrd_result;
	}
	public void setMrd_result(String mrd_result) {
		this.mrd_result = mrd_result;
	}
	public Double getMrd_ngqty() {
		return mrd_ngqty;
	}
	public void setMrd_ngqty(Double mrd_ngqty) {
		this.mrd_ngqty = mrd_ngqty;
	}
	
	public PurchaseMRBProjectItem convent() {
		PurchaseMRBProjectItem projectItem = new PurchaseMRBProjectItem();
		projectItem.setContent(mrd_content);
		projectItem.setNgQty(mrd_ngqty);
		projectItem.setNumber(mrd_detno);
		projectItem.setProjectName(mrd_ciname);
		projectItem.setResult(mrd_result);
		return projectItem;
	}

}
