package com.jasamedika.medifirst2000.vo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.jasamedika.medifirst2000.base.BaseMaster;
import com.jasamedika.medifirst2000.base.vo.BaseMasterVO;
import com.jasamedika.medifirst2000.helper.Caption;

public class MapAlatToProdukToBhpVO extends BaseMasterVO{
	@ManyToOne
	@JoinColumn(name = "alatFk")
	@Caption(value="Alat")
	private AlatVO alat;

	@Column(name = "alatFk", insertable=false,updatable=false,nullable=false)
	private Integer alatId;
	
	@ManyToOne
	@JoinColumn(name = "produkFk")
	@Caption(value="produk")
	private ProdukVO produk;

	@Column(name = "produkFk", insertable=false,updatable=false,nullable=false)
	private Integer produkId;
	
	@ManyToOne
	@JoinColumn(name = "produkBFk")
	@Caption(value="produkB")
	private ProdukVO produkB;

	@Column(name = "produkBFk", insertable=false,updatable=false,nullable=false)
	private Integer produkBId;

	@ManyToOne
	@JoinColumn(name = "satuanStandarBFk")
	@Caption(value="satuanStandarB")
	private SatuanStandarVO satuanStandarB;

	@Column(name = "satuanStandarBFk", insertable=false,updatable=false,nullable=false)
	private Integer satuanStandarBId;

	@Caption(value = "qty ProdukB")
	@Column(name = "qtyProdukB",nullable=false)
	private Double qtyProdukB;

	public AlatVO getAlat() {
		return alat;
	}

	public void setAlat(AlatVO alat) {
		this.alat = alat;
	}

	public Integer getAlatId() {
		return alatId;
	}

	public void setAlatId(Integer alatId) {
		this.alatId = alatId;
	}

	public ProdukVO getProduk() {
		return produk;
	}

	public void setProduk(ProdukVO produk) {
		this.produk = produk;
	}

	public Integer getProdukId() {
		return produkId;
	}

	public void setProdukId(Integer produkId) {
		this.produkId = produkId;
	}

	public ProdukVO getProdukB() {
		return produkB;
	}

	public void setProdukB(ProdukVO produkB) {
		this.produkB = produkB;
	}

	public Integer getProdukBId() {
		return produkBId;
	}

	public void setProdukBId(Integer produkBId) {
		this.produkBId = produkBId;
	}

	public SatuanStandarVO getSatuanStandarB() {
		return satuanStandarB;
	}

	public void setSatuanStandarB(SatuanStandarVO satuanStandarB) {
		this.satuanStandarB = satuanStandarB;
	}

	public Integer getSatuanStandarBId() {
		return satuanStandarBId;
	}

	public void setSatuanStandarBId(Integer satuanStandarBId) {
		this.satuanStandarBId = satuanStandarBId;
	}

	public Double getQtyProdukB() {
		return qtyProdukB;
	}

	public void setQtyProdukB(Double qtyProdukB) {
		this.qtyProdukB = qtyProdukB;
	}
	
}
