package com.jasamedika.medifirst2000.vo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

import com.jasamedika.medifirst2000.base.BaseTransaction;
import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.helper.Caption;

public class KeteranganLainLainDetailVO extends BaseTransactionVO{
	@ManyToOne
	@JoinColumn(name = "ObjectprodukDetailLabAnatomiFk")
	@Caption(value="Object produkDetailLabAnatomi")
	private ProdukDetailLabAnatomiVO produkDetailLabAnatomi;
	
	@Column(name = "ObjectprodukDetailLabAnatomiFk", insertable=false,updatable=false, nullable=false)
	private Integer produkDetailLabAnatomiId;

	@ManyToOne
	@JoinColumn(name = "ObjectketeranganLainLainFk")
	@NotNull(message="Object keteranganLainLain Harus Diisi")
	@Caption(value="Object keteranganLainLain")
	private KeteranganLainLainVO keteranganLainLain;

	@Column(name = "ObjectketeranganLainLainFk", insertable=false,updatable=false, nullable=false)
	private Integer keteranganLainLainId;

	@Column(name = "isNilai")
	@Caption(value = "Is Nilai")
	private Boolean isNilai;

	public ProdukDetailLabAnatomiVO getProdukDetailLabAnatomi() {
		return produkDetailLabAnatomi;
	}

	public void setProdukDetailLabAnatomi(ProdukDetailLabAnatomiVO produkDetailLabAnatomi) {
		this.produkDetailLabAnatomi = produkDetailLabAnatomi;
	}

	public Integer getProdukDetailLabAnatomiId() {
		return produkDetailLabAnatomiId;
	}

	public void setProdukDetailLabAnatomiId(Integer produkDetailLabAnatomiId) {
		this.produkDetailLabAnatomiId = produkDetailLabAnatomiId;
	}

	public KeteranganLainLainVO getKeteranganLainLain() {
		return keteranganLainLain;
	}

	public void setKeteranganLainLain(KeteranganLainLainVO keteranganLainLain) {
		this.keteranganLainLain = keteranganLainLain;
	}

	public Integer getKeteranganLainLainId() {
		return keteranganLainLainId;
	}

	public void setKeteranganLainLainId(Integer keteranganLainLainId) {
		this.keteranganLainLainId = keteranganLainLainId;
	}

	public Boolean getIsNilai() {
		return isNilai;
	}

	public void setIsNilai(Boolean isNilai) {
		this.isNilai = isNilai;
	}

}
