package com.uas.platform.b2b.model;

import java.util.Date;

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$mrbcheckitem")
@Entity
public class PurchaseMRBCheckItem {

	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "purc$mrbcheckitem_gen")
	@SequenceGenerator(name = "purc$mrbcheckitem_gen", sequenceName = "purc$mrbcheckitem_seq", allocationSize = 1)
	@Column(name = "pmci_id")
	private Long id;
	
	/**
	 * 序号
	 */
	@Column(name = "pmci_number")
	private Short number;

	/**
	 * 送检日期
	 */
	@Column(name = "pmci_date")
	private Date date;

	/**
	 * 检验员
	 */
	@Column(name = "pmci_checkman")
	private String checkMan;

	/**
	 * 检验时间
	 */
	@Column(name = "pmci_checkdate")
	private Date checkDate;

	/**
	 * 送检数量
	 */
	@Column(name = "pmci_checkqty")
	private Double checkQty;
	
	/**
	 * 不合格数量
	 */
	@Column(name = "pmci_ngqty")
	private Double ngQty;
	
	/**
	 * 合格数量
	 */
	@Column(name = "pmci_okqty")
	private Double okQty;

	/**
	 * 抽样样本数量
	 */
	@Column(name = "pmci_sampleqty")
	private Double sampleQty;

	/**
	 * 抽样合格数
	 */
	@Column(name = "pmci_sampleokqty")
	private Double sampleOkQty;

	/**
	 * 抽样不合格数
	 */
	@Column(name = "pmci_samplengqty")
	private Double sampleNgQty;

	/**
	 * 不合格描述
	 */
	@Column(name = "pmci_remark")
	private String remark;
	
	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 Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getCheckMan() {
		return checkMan;
	}

	public void setCheckMan(String checkMan) {
		this.checkMan = checkMan;
	}

	public Date getCheckDate() {
		return checkDate;
	}

	public void setCheckDate(Date checkDate) {
		this.checkDate = checkDate;
	}

	public Double getCheckQty() {
		return checkQty;
	}

	public void setCheckQty(Double checkQty) {
		this.checkQty = checkQty;
	}

	public Double getSampleQty() {
		return sampleQty;
	}

	public void setSampleQty(Double sampleQty) {
		this.sampleQty = sampleQty;
	}

	public Double getSampleOkQty() {
		return sampleOkQty;
	}

	public void setSampleOkQty(Double sampleOkQty) {
		this.sampleOkQty = sampleOkQty;
	}

	public Double getSampleNgQty() {
		return sampleNgQty;
	}

	public void setSampleNgQty(Double sampleNgQty) {
		this.sampleNgQty = sampleNgQty;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Double getNgQty() {
		return ngQty;
	}

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

	public Double getOkQty() {
		return okQty;
	}

	public void setOkQty(Double okQty) {
		this.okQty = okQty;
	}
	
	
	
	
	
}
