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 KomponenScoreNilaiNormal
 * 
 * @author Generator
 */
//@Entity
//@Table(name = "KomponenScoreNilaiNormal_M")
public class KomponenScoreNilaiNormalVO extends BaseMasterVO {
	@ManyToOne
	@JoinColumn(name = "ObjectKomponenScoreFk")
	@NotNull(message="Object Komponen Score Harus Diisi")
	@Caption(value="Object Komponen Score")
	private KomponenScoreVO komponenScore;

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

	@Column(name = "KdKomponenScore", nullable = false )
	public KomponenScoreVO getKomponenScore(){
		return this.komponenScore;
	}

	@Column(name = "ObjectKomponenScoreFk", insertable=false,updatable=false)
	private Integer komponenScoreId;

/*	@ManyToOne
	@JoinColumn(name = "ObjectRangeNilaiFk")
	@NotNull(message="Object RangeVO Nilai Harus Diisi")
	@Caption(value="Object RangeVO Nilai")
	private RangeVO rangeNilai;

	public void setRangeNilai(RangeVO rangeNilai) {
		this.rangeNilai = rangeNilai;
	}

	@Column(name = "KdRangeNilai", nullable = false )
	public RangeVO getRangeNilai(){
		return this.rangeNilai;
	}

	@Column(name = "ObjectRangeNilaiFk", insertable=false,updatable=false)
	private Integer rangeNilaiId;
*/
	@Caption(value="Nilai Maksimum")
	private Double nilaiMaksimum;

	public void setNilaiMaksimum(Double nilaiMaksimum) {
		this.nilaiMaksimum = nilaiMaksimum;
	}

	@Column(name = "NilaiMaksimum", nullable = false )
	public Double getNilaiMaksimum(){
		return this.nilaiMaksimum;
	}

	@Caption(value="Nilai Minimum")
	private Double nilaiMinimum;

	public void setNilaiMinimum(Double nilaiMinimum) {
		this.nilaiMinimum = nilaiMinimum;
	}

	@Column(name = "NilaiMinimum", nullable = false )
	public Double getNilaiMinimum(){
		return this.nilaiMinimum;
	}

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

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

	@Column(name = "NilaiNormal", nullable = false )
	public Double getNilaiNormal(){
		return this.nilaiNormal;
	}

	@Caption(value="QRangeVO Nilai")
	private short qRangeNilai;

	public void setqRangeNilai(short qRangeNilai) {
		this.qRangeNilai = qRangeNilai;
	}

	@Column(name = "QRangeNilai", nullable = false )
	public short getqRangeNilai(){
		return this.qRangeNilai;
	}

	@Caption(value="RangeVO Nilai")
	private String rangeNilai;

	public void setrangeNilai(String rangeNilai) {
		this.rangeNilai = rangeNilai;
	}

	@Column(name = "RangeNilai", nullable = false , length = 50)
	public String getrangeNilai(){
		return this.rangeNilai;
	}


}

