package com.jasamedika.medifirst2000.vo;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;
import org.hibernate.validator.constraints.NotEmpty;

import com.jasamedika.medifirst2000.base.vo.BaseMasterVO;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.internal.util.logging.Messages;

import com.fasterxml.jackson.annotation.JsonManagedReference;
import com.jasamedika.medifirst2000.base.vo.BaseMasterVO;
import com.jasamedika.medifirst2000.helper.Caption;

/**
 *  class KomponenKlinis
 * 
 * @author Generator
 */
//@Entity
//@Table(name = "KomponenKlinis_M")
public class KomponenKlinisVO extends BaseMasterVO {
	@ManyToOne
	@JoinColumn(name = "ObjectJenisKajianFk")
	@Caption(value="Object Jenis Kajian")
	private AsKepJenisKajianVO jenisKajian;

	public void setJenisKajian(AsKepJenisKajianVO jenisKajian) {
		this.jenisKajian = jenisKajian;
	}

	@Column(name = "KdJenisKajian", nullable = true )
	public AsKepJenisKajianVO getJenisKajian(){
		return this.jenisKajian;
	}

	@Column(name = "ObjectJenisKajianFk", insertable=false,updatable=false)
	private Integer jenisKajianId;

	@Caption(value="Kode Komponen Klinis")
	private Byte kdKomponenKlinis;

	public void setKdKomponenKlinis(Byte kdKomponenKlinis) {
		this.kdKomponenKlinis = kdKomponenKlinis;
	}

	@Column(name = "KdKomponenKlinis", nullable = false )
	public Byte getKdKomponenKlinis(){
		return this.kdKomponenKlinis;
	}

	@ManyToOne
	@JoinColumn(name = "ObjectSatuanHasilFk")
	@Caption(value="Object Satuan Hasil")
	private SatuanHasilVO satuanHasil;

	public void setSatuanHasil(SatuanHasilVO satuanHasil) {
		this.satuanHasil = satuanHasil;
	}

	@Column(name = "KdSatuanHasil", nullable = true )
	public SatuanHasilVO getSatuanHasil(){
		return this.satuanHasil;
	}

	@Column(name = "ObjectSatuanHasilFk", insertable=false,updatable=false)
	private Integer satuanHasilId;

	@Caption(value="Komponen Klinis")
	private String komponenKlinis;

	public void setKomponenKlinis(String komponenKlinis) {
		this.komponenKlinis = komponenKlinis;
	}

	@Column(name = "KomponenKlinis", nullable = false , length = 50)
	public String getKomponenKlinis(){
		return this.komponenKlinis;
	}

	@Caption(value="Nilai Normal")
	private String nilaiNormal;

	public void setNilaiNormal(String nilaiNormal) {
		this.nilaiNormal = nilaiNormal;
	}

	@Column(name = "NilaiNormal", nullable = true , length = 150)
	public String getNilaiNormal(){
		return this.nilaiNormal;
	}

	@Caption(value="No Urut")
	private Byte noUrut;

	public void setNoUrut(Byte noUrut) {
		this.noUrut = noUrut;
	}

	@Column(name = "NoUrut", nullable = false )
	public Byte getNoUrut(){
		return this.noUrut;
	}

	@Caption(value="QKomponen Klinis")
	private Byte qKomponenKlinis;

	public void setqKomponenKlinis(Byte qKomponenKlinis) {
		this.qKomponenKlinis = qKomponenKlinis;
	}

	@Column(name = "QKomponenKlinis", nullable = false )
	public Byte getqKomponenKlinis(){
		return this.qKomponenKlinis;
	}


}

