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 CairanFiksasiDetailVO extends BaseTransactionVO{
	@ManyToOne
	@JoinColumn(name = "ObjectprodukDetailLabAnatomiFk")
	@Caption(value="Object produkDetailLabAnatomi")
	private ProdukDetailLabAnatomiVO produkDetailLabAnatomi;
	
	@Column(name = "ObjectprodukDetailLabAnatomiFk", insertable=false,updatable=false, nullable=false)
	private String produkDetailLabAnatomiId;

	@ManyToOne
	@JoinColumn(name = "ObjectcairanFiksasiFk")
	@NotNull(message="Object cairanFiksasi Harus Diisi")
	@Caption(value="Object cairanFiksasi")
	private CairanFiksasiVO cairanFiksasi;

	@Column(name = "ObjectcairanFiksasiFk", insertable=false,updatable=false, nullable=false)
	private Integer cairanFiksasiId;

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

	public ProdukDetailLabAnatomiVO getProdukDetailLabAnatomi() {
		return produkDetailLabAnatomi;
	}

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

	public String getProdukDetailLabAnatomiId() {
		return produkDetailLabAnatomiId;
	}

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

	public CairanFiksasiVO getCairanFiksasi() {
		return cairanFiksasi;
	}

	public void setCairanFiksasi(CairanFiksasiVO cairanFiksasi) {
		this.cairanFiksasi = cairanFiksasi;
	}

	public Integer getCairanFiksasiId() {
		return cairanFiksasiId;
	}

	public void setCairanFiksasiId(Integer cairanFiksasiId) {
		this.cairanFiksasiId = cairanFiksasiId;
	}

	public Boolean getIsNilai() {
		return isNilai;
	}

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