143 lines
3.2 KiB
Java
143 lines
3.2 KiB
Java
package com.jasamedika.medifirst2000.entities;
|
|
|
|
import java.util.Date;
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.FetchType;
|
|
import javax.persistence.GeneratedValue;
|
|
import javax.persistence.GenerationType;
|
|
import javax.persistence.Id;
|
|
import javax.persistence.JoinColumn;
|
|
import javax.persistence.ManyToOne;
|
|
import javax.persistence.Table;
|
|
import com.jasamedika.medifirst2000.base.BaseMaster;
|
|
import com.jasamedika.medifirst2000.helper.Caption;
|
|
|
|
@Entity
|
|
@Table(name = "SettingPirSdm_M")
|
|
public class SettingPirSdm extends BaseMaster {
|
|
|
|
@Column(name = "TglAwal", nullable = true)
|
|
@Caption(value = "tgl Awal")
|
|
private Date tglAwal;
|
|
|
|
@Column(name = "TglAkhir", nullable = true)
|
|
@Caption(value = "tgl Akhir")
|
|
private Date tglAkhir;
|
|
|
|
@Column(name = "Pir", nullable = true)
|
|
@Caption(value = "Pir")
|
|
private Double pir;
|
|
|
|
@Column(name = "Iku", nullable = true)
|
|
@Caption(value = "Iku")
|
|
private Double iku;
|
|
|
|
@Column(name = "TglBerlaku", nullable = true)
|
|
@Caption(value = "tglBerlaku")
|
|
private Date tglBerlaku;
|
|
|
|
@ManyToOne(fetch = FetchType.LAZY)
|
|
@JoinColumn(name = "ObjectSuratKeputusanFk")
|
|
@Caption(value = "Object Surat Keputusan")
|
|
private SuratKeputusan suratKeputusan;
|
|
|
|
@ManyToOne(fetch = FetchType.LAZY)
|
|
@JoinColumn(name = "objectUnitKerjaPegawaifk")
|
|
@Caption(value = "Object UnitKerjaPegawai ")
|
|
private UnitKerjaPegawai unitKerja;
|
|
|
|
@Column(name = "objectUnitKerjaPegawaifk", insertable = false, updatable = false)
|
|
private Integer unitKerjaId;
|
|
|
|
public UnitKerjaPegawai getUnitKerja() {
|
|
return unitKerja;
|
|
}
|
|
|
|
public void setUnitKerja(UnitKerjaPegawai unitKerja) {
|
|
this.unitKerja = unitKerja;
|
|
}
|
|
|
|
public Integer getUnitKerjaId() {
|
|
return unitKerjaId;
|
|
}
|
|
|
|
public void setUnitKerjaId(Integer unitKerjaId) {
|
|
this.unitKerjaId = unitKerjaId;
|
|
}
|
|
|
|
@Column(name = "ObjectSuratKeputusanFk", insertable = false, updatable = false)
|
|
private Integer suratKeputusanId;
|
|
|
|
public Date getTglAwal() {
|
|
return tglAwal;
|
|
}
|
|
|
|
public void setTglAwal(Date tglAwal) {
|
|
this.tglAwal = tglAwal;
|
|
}
|
|
|
|
public Date getTglAkhir() {
|
|
return tglAkhir;
|
|
}
|
|
|
|
public void setTglAkhir(Date tglAkhir) {
|
|
this.tglAkhir = tglAkhir;
|
|
}
|
|
|
|
public Double getPir() {
|
|
return pir;
|
|
}
|
|
|
|
public void setPir(Double pir) {
|
|
this.pir = pir;
|
|
}
|
|
|
|
public Double getIku() {
|
|
return iku;
|
|
}
|
|
|
|
public void setIku(Double iku) {
|
|
this.iku = iku;
|
|
}
|
|
|
|
public Date getTglBerlaku() {
|
|
return tglBerlaku;
|
|
}
|
|
|
|
public void setTglBerlaku(Date tglBerlaku) {
|
|
this.tglBerlaku = tglBerlaku;
|
|
}
|
|
|
|
public SuratKeputusan getSuratKeputusan() {
|
|
return suratKeputusan;
|
|
}
|
|
|
|
public void setSuratKeputusan(SuratKeputusan suratKeputusan) {
|
|
this.suratKeputusan = suratKeputusan;
|
|
}
|
|
|
|
public Integer getSuratKeputusanId() {
|
|
return suratKeputusanId;
|
|
}
|
|
|
|
public void setSuratKeputusanId(Integer suratKeputusanId) {
|
|
this.suratKeputusanId = suratKeputusanId;
|
|
}
|
|
|
|
@Id
|
|
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.SettingPirSdm_M_id_seq")
|
|
@javax.persistence.SequenceGenerator(name = "public.SettingPirSdm_M_id_seq", sequenceName = "public.SettingPirSdm_M_id_seq", allocationSize = 1)
|
|
@Column(name = "id")
|
|
protected Integer id;
|
|
|
|
public Integer getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Integer id) {
|
|
this.id = id;
|
|
}
|
|
|
|
}
|