package com.jasamedika.medifirst2000.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.jasamedika.medifirst2000.base.BaseMaster;
import com.jasamedika.medifirst2000.helper.Caption;

@Entity
@Table(name="UskomNilaiNormal_M")
public class UskomNilaiNormal extends BaseMaster{
	
	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.uskomnilainormal_m_id_seq")
	@javax.persistence.SequenceGenerator(name = "public.uskomnilainormal_m_id_seq", sequenceName = "public.uskomnilainormal_m_id_seq", allocationSize = 1)
	@Column(name = "id")
	protected Integer id;
	
	@Caption(value="NilaiNormal")
	@Column(name="NilaiNormal", length=50, nullable=false)
	private String nilaiNormal;
	
	@Caption(value="JenisPemeriksaan")
	@Column(name="JenisPemeriksaan", length=50, nullable=false)
	private String jenisPemeriksaan;
	
	@Caption(value="NamaKelompok")
	@Column(name="NamaKelompok", length=50, nullable=false)
	private String namaKelompok;
	
	@Caption(value="UsiaAwal")
	@Column(name="UsiaAwal", nullable=false)
	private Double usiaAwal;
	
	@Caption(value="UsiaAkhir")
	@Column(name="UsiaAkhir", nullable=false)
	private Double usiaAkhir;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNilaiNormal() {
		return nilaiNormal;
	}

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

	public String getJenisPemeriksaan() {
		return jenisPemeriksaan;
	}

	public void setJenisPemeriksaan(String jenisPemeriksaan) {
		this.jenisPemeriksaan = jenisPemeriksaan;
	}

	public String getNamaKelompok() {
		return namaKelompok;
	}

	public void setNamaKelompok(String namaKelompok) {
		this.namaKelompok = namaKelompok;
	}

	public Double getUsiaAwal() {
		return usiaAwal;
	}

	public void setUsiaAwal(Double usiaAwal) {
		this.usiaAwal = usiaAwal;
	}

	public Double getUsiaAkhir() {
		return usiaAkhir;
	}

	public void setUsiaAkhir(Double usiaAkhir) {
		this.usiaAkhir = usiaAkhir;
	}

}
