Penambahan service tabel acuan iki untuk kelompok jabatan medis karena batas iki maksimal 2
81 lines
1.8 KiB
Java
81 lines
1.8 KiB
Java
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.SequenceGenerator;
|
|
import javax.persistence.Table;
|
|
|
|
import com.jasamedika.medifirst2000.base.BaseMaster;
|
|
import com.jasamedika.medifirst2000.helper.Caption;
|
|
|
|
@Entity
|
|
@Table(name = "tabelAcuanIndeksIKI")
|
|
public class TabelAcuanIndeksIKI extends BaseMaster {
|
|
|
|
@Caption(value = "nilaiBawah")
|
|
@Column(name = "nilaiBawah", nullable = false)
|
|
private Double nilaiBawah;
|
|
|
|
@Caption(value = "nilaiAtas")
|
|
@Column(name = "nilaiAtas", nullable = false)
|
|
private Double nilaiAtas;
|
|
|
|
@Caption(value = "indeks")
|
|
@Column(name = "indeks", nullable = false)
|
|
private Double indeks;
|
|
|
|
@Caption(value = "kriteria")
|
|
@Column(name = "kriteria", nullable = true)
|
|
private String kriteria;
|
|
|
|
@Id
|
|
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.TabelAcuanIndeksIKI_m_id_seq")
|
|
@SequenceGenerator(name = "public.TabelAcuanIndeksIKI_m_id_seq", sequenceName = "public.TabelAcuanIndeksIKI_m_id_seq", allocationSize = 1)
|
|
@Column(name = "id")
|
|
protected Integer id;
|
|
|
|
public Double getNilaiBawah() {
|
|
return nilaiBawah;
|
|
}
|
|
|
|
public void setNilaiBawah(Double nilaiBawah) {
|
|
this.nilaiBawah = nilaiBawah;
|
|
}
|
|
|
|
public Double getNilaiAtas() {
|
|
return nilaiAtas;
|
|
}
|
|
|
|
public void setNilaiAtas(Double nilaiAtas) {
|
|
this.nilaiAtas = nilaiAtas;
|
|
}
|
|
|
|
public Double getIndeks() {
|
|
return indeks;
|
|
}
|
|
|
|
public void setIndeks(Double indeks) {
|
|
this.indeks = indeks;
|
|
}
|
|
|
|
public String getKriteria() {
|
|
return kriteria;
|
|
}
|
|
|
|
public void setKriteria(String kriteria) {
|
|
this.kriteria = kriteria;
|
|
}
|
|
|
|
public Integer getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Integer id) {
|
|
this.id = id;
|
|
}
|
|
|
|
}
|