package com.uas.platform.b2b.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * MRB项目明细
 * 
 * @author suntg
 * 
 */
@Table(name = "purc$mrbprojectitem")
@Entity
public class PurchaseMRBProjectItem {

	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "purc$mrbprojectitem_gen")
	@SequenceGenerator(name = "purc$mrbprojectitem_gen", sequenceName = "purc$mrbprojectitem_seq", allocationSize = 1)
	@Column(name = "pmci_id")
	private Long id;

	/**
	 * 序号
	 */
	@Column(name = "pmpi_number")
	private Short number;

	/**
	 * 项目名称
	 */
	@Column(name = "pmpi_projectname")
	private String projectName;

	/**
	 * 异常情况
	 */
	@Column(name = "pmpi_content")
	private String content;

	/**
	 * 不合格数
	 */
	@Column(name = "pmpi_ngqty")
	private Double ngQty;

	/**
	 * 处理结果
	 */
	@Column(name = "pmpi_result")
	private String result;
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Short getNumber() {
		return number;
	}

	public void setNumber(Short number) {
		this.number = number;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Double getNgQty() {
		return ngQty;
	}

	public void setNgQty(Double ngQty) {
		this.ngQty = ngQty;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

}
