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 KomponenScore
 * 
 * @author Generator
 */
//@Entity
//@Table(name = "KomponenScore_M")
public class KomponenScoreVO extends BaseMasterVO {
	@ManyToOne
	@JoinColumn(name = "ObjectKomponenKlinisFk")
	@Caption(value="Object Komponen Klinis")
	private KomponenKlinisVO komponenKlinis;

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

	@Column(name = "KdKomponenKlinis", nullable = true )
	public KomponenKlinisVO getKomponenKlinis(){
		return this.komponenKlinis;
	}

	@Column(name = "ObjectKomponenKlinisFk", insertable=false,updatable=false)
	private Integer komponenKlinisId;

	@Caption(value="Kode Komponen Score")
	private short kdKomponenScore;

	public void setKdKomponenScore(short kdKomponenScore) {
		this.kdKomponenScore = kdKomponenScore;
	}

	@Column(name = "KdKomponenScore", nullable = false )
	public short getKdKomponenScore(){
		return this.kdKomponenScore;
	}

	@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 Score")
	private String komponenScore;

	public void setKomponenScore(String komponenScore) {
		this.komponenScore = komponenScore;
	}

	@Column(name = "KomponenScore", nullable = false , length = 30)
	public String getKomponenScore(){
		return this.komponenScore;
	}

	@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 Score")
	private short qKomponenScore;

	public void setqKomponenScore(short qKomponenScore) {
		this.qKomponenScore = qKomponenScore;
	}

	@Column(name = "QKomponenScore", nullable = false )
	public short getqKomponenScore(){
		return this.qKomponenScore;
	}


}

