Update domain entity
Penerapan lombok untuk mengurangi boilerplate code
This commit is contained in:
parent
83c53cb3d1
commit
2a26f28460
@ -1400,8 +1400,6 @@
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.PencatatanSuhuMesin" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.PencucianLinen" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.Pendidikan" />
|
||||
<mapping
|
||||
class="com.jasamedika.medifirst2000.entities.penerimaankasirnonlayanan_v" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.PenerimaanLinen" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.PenerimaInfo" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.Pengadaan" />
|
||||
@ -1416,7 +1414,7 @@
|
||||
<mapping
|
||||
class="com.jasamedika.medifirst2000.entities.PengembalianKendaraanDinas" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.Pengendali" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.penggunaanobat" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.PenggunaanObat" />
|
||||
<mapping
|
||||
class="com.jasamedika.medifirst2000.entities.PenghasilanTidakKenaPajak" />
|
||||
<mapping
|
||||
|
||||
@ -190,7 +190,7 @@ public class PelayananPiutangRekananServiceImpl implements PelayananPiutangRekan
|
||||
maxTPenjaminAll = String.valueOf(persenTanggunganPenjamin.getMaxTPenjaminAll());
|
||||
persenTPenjaminSelisih = String.valueOf(persenTanggunganPenjamin.getPersenTPenjamindrSelisih());
|
||||
persenTProfileSelisih = String.valueOf(persenTanggunganPenjamin.getPersenTProfiledrSelisih());
|
||||
qtyMaxKunjungan = String.valueOf(persenTanggunganPenjamin.getqtyMaxKunjungan());
|
||||
qtyMaxKunjungan = String.valueOf(persenTanggunganPenjamin.getQtyMaxKunjungan());
|
||||
isPaket = String.valueOf(persenTanggunganPenjamin.getIsPaket());
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,70 +1,37 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;import org.hibernate.envers.Audited;
|
||||
|
||||
@Entity //@Audited
|
||||
/**
|
||||
* @author Shakato
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PMAnamesia_T")
|
||||
public class PMAnamnesisUmum extends BaseTransaction {
|
||||
/**
|
||||
* @author Shakato
|
||||
*/
|
||||
|
||||
@Column(name = "inputanSuster", nullable = true)
|
||||
@Column(name = "inputanSuster")
|
||||
@Caption(value = "inputanSuster")
|
||||
private String inputanSuster;
|
||||
|
||||
@Column(name = "inputanDokter", nullable = true)
|
||||
|
||||
@Column(name = "inputanDokter")
|
||||
@Caption(value = "inputanDokter")
|
||||
private String inputanDokter;
|
||||
|
||||
@Column(name = "riwayatPenyakit", nullable = true)
|
||||
|
||||
@Column(name = "riwayatPenyakit")
|
||||
@Caption(value = "riwayatPenyakit")
|
||||
private String riwayatPenyakit;
|
||||
|
||||
@Column(name = "riwayatPengobatanYangDiterima", nullable = true)
|
||||
|
||||
@Column(name = "riwayatPengobatanYangDiterima")
|
||||
@Caption(value = "riwayatPengobatanYangDiterima")
|
||||
private String riwayatPengobatanYangDiterima;
|
||||
|
||||
public String getInputanSuster() {
|
||||
return inputanSuster;
|
||||
}
|
||||
|
||||
public void setInputanSuster(String inputanSuster) {
|
||||
this.inputanSuster = inputanSuster;
|
||||
}
|
||||
|
||||
public String getInputanDokter() {
|
||||
return inputanDokter;
|
||||
}
|
||||
|
||||
public void setInputanDokter(String inputanDokter) {
|
||||
this.inputanDokter = inputanDokter;
|
||||
}
|
||||
|
||||
public String getRiwayatPenyakit() {
|
||||
return riwayatPenyakit;
|
||||
}
|
||||
|
||||
public void setRiwayatPenyakit(String riwayatPenyakit) {
|
||||
this.riwayatPenyakit = riwayatPenyakit;
|
||||
}
|
||||
|
||||
public String getRiwayatPengobatanYangDiterima() {
|
||||
return riwayatPengobatanYangDiterima;
|
||||
}
|
||||
|
||||
public void setRiwayatPengobatanYangDiterima(String riwayatPengobatanYangDiterima) {
|
||||
this.riwayatPengobatanYangDiterima = riwayatPengobatanYangDiterima;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,74 +1,38 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;import org.hibernate.envers.Audited;
|
||||
|
||||
@Entity //@Audited
|
||||
/**
|
||||
* @author Shakato
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PMDiagnosis_T")
|
||||
public class PMDiagnosis extends BaseTransaction {
|
||||
/**
|
||||
* @author Shakato
|
||||
*/
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "JenisDiagnosa")
|
||||
@Caption(value = "Jenis Diagnosa")
|
||||
@NotNull(message = "Jenis Diagnosa tidak boleh kosong")
|
||||
private JenisDiagnosa jenisDiagnosa;
|
||||
|
||||
|
||||
@Column(name = "JenisDiagnosa", insertable = false, updatable = false, nullable = false)
|
||||
private Integer jenisDiagnosaId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "Diagnosa")
|
||||
@Caption(value = "Diagnosa")
|
||||
@NotNull(message = "Diagnosa tidak boleh kosong")
|
||||
private Diagnosa diagnosa;
|
||||
|
||||
|
||||
@Column(name = "Diagnosa", insertable = false, updatable = false, nullable = false)
|
||||
private Integer diagnosaId;
|
||||
|
||||
public JenisDiagnosa getJenisDiagnosa() {
|
||||
return jenisDiagnosa;
|
||||
}
|
||||
|
||||
public void setJenisDiagnosa(JenisDiagnosa jenisDiagnosa) {
|
||||
this.jenisDiagnosa = jenisDiagnosa;
|
||||
}
|
||||
|
||||
public Integer getJenisDiagnosaId() {
|
||||
return jenisDiagnosaId;
|
||||
}
|
||||
|
||||
public void setJenisDiagnosaId(Integer jenisDiagnosaId) {
|
||||
this.jenisDiagnosaId = jenisDiagnosaId;
|
||||
}
|
||||
|
||||
public Diagnosa getDiagnosa() {
|
||||
return diagnosa;
|
||||
}
|
||||
|
||||
public void setDiagnosa(Diagnosa diagnosa) {
|
||||
this.diagnosa = diagnosa;
|
||||
}
|
||||
|
||||
public Integer getDiagnosaId() {
|
||||
return diagnosaId;
|
||||
}
|
||||
|
||||
public void setDiagnosaId(Integer diagnosaId) {
|
||||
this.diagnosaId = diagnosaId;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -1,47 +1,32 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.io.Serializable;
|
||||
import org.hibernate.envers.Audited;
|
||||
import javax.persistence.*;
|
||||
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
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.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import org.hibernate.envers.Audited;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class PemilikProfile
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PemilikProfile_M")
|
||||
public class PemilikProfile extends BaseMaster {
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKelompokPemilikFk")
|
||||
@NotNull(message = "Kd Kelompok Pemilik tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Kelompok Pemilik")
|
||||
private KelompokPemilikProfile kelompokPemilik;
|
||||
|
||||
public void setKelompokPemilik(KelompokPemilikProfile kelompokPemilik) {
|
||||
this.kelompokPemilik = kelompokPemilik;
|
||||
}
|
||||
|
||||
public KelompokPemilikProfile getKelompokPemilik() {
|
||||
return this.kelompokPemilik;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectKelompokPemilikFk", insertable = false, updatable = false)
|
||||
private Integer kelompokPemilikId;
|
||||
|
||||
@ -50,52 +35,20 @@ public class PemilikProfile extends BaseMaster {
|
||||
@Caption(value = "Kode Pemilik Profile")
|
||||
private Byte kdPemilikProfile;
|
||||
|
||||
public void setKdPemilikProfile(Byte kdPemilikProfile) {
|
||||
this.kdPemilikProfile = kdPemilikProfile;
|
||||
}
|
||||
|
||||
public Byte getKdPemilikProfile() {
|
||||
return this.kdPemilikProfile;
|
||||
}
|
||||
|
||||
@NotNull(message = "Pemilik Profile tidak boleh kosong")
|
||||
@Column(name = "PemilikProfile", nullable = false, length = 100)
|
||||
@Caption(value = "Pemilik Profile")
|
||||
private String pemilikProfile;
|
||||
|
||||
public void setPemilikProfile(String pemilikProfile) {
|
||||
this.pemilikProfile = pemilikProfile;
|
||||
}
|
||||
|
||||
public String getPemilikProfile() {
|
||||
return this.pemilikProfile;
|
||||
}
|
||||
|
||||
@NotNull(message = "QPemilik Profile tidak boleh kosong")
|
||||
@Column(name = "QPemilikProfile", nullable = false)
|
||||
@Caption(value = "QPemilik Profile")
|
||||
private Byte qPemilikProfile;
|
||||
|
||||
public void setqPemilikProfile(Byte qPemilikProfile) {
|
||||
this.qPemilikProfile = qPemilikProfile;
|
||||
}
|
||||
|
||||
public Byte getqPemilikProfile() {
|
||||
return this.qPemilikProfile;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.pemilikprofile_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.pemilikprofile_m_id_seq", sequenceName = "public.pemilikprofile_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.pemilikprofile_m_id_seq")
|
||||
@SequenceGenerator(name = "public.pemilikprofile_m_id_seq", sequenceName = "public.pemilikprofile_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,224 +1,90 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import org.hibernate.envers.Audited;
|
||||
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PemindahanEmbrio_T")
|
||||
public class PemindahanEmbrio extends MedicalRecordTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectProsedurPemindahanFk")
|
||||
@Caption(value="Object Pemindahan Embrio")
|
||||
@Caption(value = "Object Pemindahan Embrio")
|
||||
private ProsedurPemindahanEmbrio prosedur;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectDokterFk")
|
||||
@Caption(value="Object Pegawai")
|
||||
@Caption(value = "Object Pegawai")
|
||||
private Pegawai pegawai;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPemindahanEmbrioFk")
|
||||
@Caption(value="Object Pemindahan Embrio")
|
||||
@Caption(value = "Object Pemindahan Embrio")
|
||||
private CaraPemindahanEmbrio pemindahanEmbrio;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "Embrio1FK")
|
||||
@Caption(value="Embrio1 ")
|
||||
@Caption(value = "Embrio1 ")
|
||||
private Embrio embrio1;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "Embrio2FK")
|
||||
@Caption(value="Embrio2 ")
|
||||
@Caption(value = "Embrio2 ")
|
||||
private Embrio embrio2;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "Embrio3FK" )
|
||||
@Caption(value="Embrio3 ")
|
||||
@JoinColumn(name = "Embrio3FK")
|
||||
@Caption(value = "Embrio3 ")
|
||||
private Embrio embrio3;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "Embrio4FK")
|
||||
@Caption(value="Embrio4 ")
|
||||
@Caption(value = "Embrio4 ")
|
||||
private Embrio embrio4;
|
||||
|
||||
@Column(name = "Tanggal", nullable = true )
|
||||
@Caption(value="Tanggal ")
|
||||
|
||||
@Column(name = "Tanggal")
|
||||
@Caption(value = "Tanggal ")
|
||||
private Date tanggal;
|
||||
|
||||
@Column(name = "JumlahEmbrioYgDipindahkan" )
|
||||
@Caption(value="Jumlah Embrio Yang Dipindahkan")
|
||||
|
||||
@Column(name = "JumlahEmbrioYgDipindahkan")
|
||||
@Caption(value = "Jumlah Embrio Yang Dipindahkan")
|
||||
private Integer jumlahEmbrioYgDipindahkan;
|
||||
|
||||
|
||||
@Column(name = "KateterYgDigunakan")
|
||||
@Caption(value="Kateter Yang Digunakan ")
|
||||
@Caption(value = "Kateter Yang Digunakan ")
|
||||
private String kateter;
|
||||
|
||||
|
||||
@Column(name = "PengobatanFaseLuteal")
|
||||
@Caption(value="Pengobatan Fase Luteal")
|
||||
@Caption(value = "Pengobatan Fase Luteal")
|
||||
private String pengobatanfaseLuteal;
|
||||
|
||||
@Column(name = "TanggalKriopreservasi", nullable = true )
|
||||
@Caption(value="TanggalKriopreservasi ")
|
||||
|
||||
@Column(name = "TanggalKriopreservasi")
|
||||
@Caption(value = "TanggalKriopreservasi ")
|
||||
private Date tanggalKriopreservasi;
|
||||
|
||||
|
||||
@Column(name = "SimpanBeku")
|
||||
@Caption(value="Simpan Beku")
|
||||
@Caption(value = "Simpan Beku")
|
||||
private Integer simpanBeku;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "Pemindahan1FK" )
|
||||
@Caption(value="Pemindahan1 ")
|
||||
@JoinColumn(name = "Pemindahan1FK")
|
||||
@Caption(value = "Pemindahan1 ")
|
||||
private PemindahanEmbrioDariSimpanBeku pemindahan1;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "Pemindahan2FK" )
|
||||
@Caption(value="Pemindahan2")
|
||||
@JoinColumn(name = "Pemindahan2FK")
|
||||
@Caption(value = "Pemindahan2")
|
||||
private PemindahanEmbrioDariSimpanBeku pemindahan2;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "Pemindahan3FK" )
|
||||
@Caption(value="Pemindahan3")
|
||||
@JoinColumn(name = "Pemindahan3FK")
|
||||
@Caption(value = "Pemindahan3")
|
||||
private PemindahanEmbrioDariSimpanBeku pemindahan3;
|
||||
|
||||
public Pegawai getPegawai() {
|
||||
return pegawai;
|
||||
}
|
||||
|
||||
public void setPegawai(Pegawai pegawai) {
|
||||
this.pegawai = pegawai;
|
||||
}
|
||||
|
||||
public ProsedurPemindahanEmbrio getProsedur() {
|
||||
return prosedur;
|
||||
}
|
||||
|
||||
public void setProsedur(ProsedurPemindahanEmbrio prosedur) {
|
||||
this.prosedur = prosedur;
|
||||
}
|
||||
|
||||
public CaraPemindahanEmbrio getPemindahanEmbrio() {
|
||||
return pemindahanEmbrio;
|
||||
}
|
||||
|
||||
public void setPemindahanEmbrio(CaraPemindahanEmbrio pemindahanEmbrio) {
|
||||
this.pemindahanEmbrio = pemindahanEmbrio;
|
||||
}
|
||||
|
||||
public Embrio getEmbrio1() {
|
||||
return embrio1;
|
||||
}
|
||||
|
||||
public void setEmbrio1(Embrio embrio1) {
|
||||
this.embrio1 = embrio1;
|
||||
}
|
||||
|
||||
public Embrio getEmbrio2() {
|
||||
return embrio2;
|
||||
}
|
||||
|
||||
public void setEmbrio2(Embrio embrio2) {
|
||||
this.embrio2 = embrio2;
|
||||
}
|
||||
|
||||
public Embrio getEmbrio3() {
|
||||
return embrio3;
|
||||
}
|
||||
|
||||
public void setEmbrio3(Embrio embrio3) {
|
||||
this.embrio3 = embrio3;
|
||||
}
|
||||
|
||||
public Embrio getEmbrio4() {
|
||||
return embrio4;
|
||||
}
|
||||
|
||||
public void setEmbrio4(Embrio embrio4) {
|
||||
this.embrio4 = embrio4;
|
||||
}
|
||||
|
||||
public Date getTanggal() {
|
||||
return tanggal;
|
||||
}
|
||||
|
||||
public void setTanggal(Date tanggal) {
|
||||
this.tanggal = tanggal;
|
||||
}
|
||||
|
||||
public Integer getJumlahEmbrioYgDipindahkan() {
|
||||
return jumlahEmbrioYgDipindahkan;
|
||||
}
|
||||
|
||||
public void setJumlahEmbrioYgDipindahkan(Integer jumlahEmbrioYgDipindahkan) {
|
||||
this.jumlahEmbrioYgDipindahkan = jumlahEmbrioYgDipindahkan;
|
||||
}
|
||||
|
||||
public String getKateter() {
|
||||
return kateter;
|
||||
}
|
||||
|
||||
public void setKateter(String kateter) {
|
||||
this.kateter = kateter;
|
||||
}
|
||||
|
||||
public String getPengobatanfaseLuteal() {
|
||||
return pengobatanfaseLuteal;
|
||||
}
|
||||
|
||||
public void setPengobatanfaseLuteal(String pengobatanfaseLuteal) {
|
||||
this.pengobatanfaseLuteal = pengobatanfaseLuteal;
|
||||
}
|
||||
|
||||
public Integer getSimpanBeku() {
|
||||
return simpanBeku;
|
||||
}
|
||||
|
||||
public Date getTanggalKriopreservasi() {
|
||||
return tanggalKriopreservasi;
|
||||
}
|
||||
|
||||
public void setTanggalKriopreservasi(Date tanggalKriopreservasi) {
|
||||
this.tanggalKriopreservasi = tanggalKriopreservasi;
|
||||
}
|
||||
|
||||
public void setSimpanBeku(Integer simpanBeku) {
|
||||
this.simpanBeku = simpanBeku;
|
||||
}
|
||||
|
||||
public PemindahanEmbrioDariSimpanBeku getPemindahan1() {
|
||||
return pemindahan1;
|
||||
}
|
||||
|
||||
public void setPemindahan1(PemindahanEmbrioDariSimpanBeku pemindahan1) {
|
||||
this.pemindahan1 = pemindahan1;
|
||||
}
|
||||
|
||||
public PemindahanEmbrioDariSimpanBeku getPemindahan2() {
|
||||
return pemindahan2;
|
||||
}
|
||||
|
||||
public void setPemindahan2(PemindahanEmbrioDariSimpanBeku pemindahan2) {
|
||||
this.pemindahan2 = pemindahan2;
|
||||
}
|
||||
|
||||
public PemindahanEmbrioDariSimpanBeku getPemindahan3() {
|
||||
return pemindahan3;
|
||||
}
|
||||
|
||||
public void setPemindahan3(PemindahanEmbrioDariSimpanBeku pemindahan3) {
|
||||
this.pemindahan3 = pemindahan3;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -1,19 +1,18 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import org.hibernate.envers.Audited;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Entity // @Audited
|
||||
import javax.persistence.*;
|
||||
import java.util.Date;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PemindahanEmbrioDariSimpanBeku_M")
|
||||
public class PemindahanEmbrioDariSimpanBeku extends BaseMaster {
|
||||
|
||||
@ -25,34 +24,10 @@ public class PemindahanEmbrioDariSimpanBeku extends BaseMaster {
|
||||
@Caption(value = "Jumlah")
|
||||
private Integer jumlah;
|
||||
|
||||
public Date getTanggal() {
|
||||
return tanggal;
|
||||
}
|
||||
|
||||
public void setTanggal(Date tanggal) {
|
||||
this.tanggal = tanggal;
|
||||
}
|
||||
|
||||
public Integer getJumlah() {
|
||||
return jumlah;
|
||||
}
|
||||
|
||||
public void setJumlah(Integer jumlah) {
|
||||
this.jumlah = jumlah;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.pemindahanembriodarisimpanbeku_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.pemindahanembriodarisimpanbeku_m_id_seq", sequenceName = "public.pemindahanembriodarisimpanbeku_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.pemindahanembriodarisimpanbeku_m_id_seq")
|
||||
@SequenceGenerator(name = "public.pemindahanembriodarisimpanbeku_m_id_seq", sequenceName = "public.pemindahanembriodarisimpanbeku_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,27 +1,27 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PenambahanKebutuhanSarana_T")
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class PenambahanKebutuhanSarana extends BaseTransaction {
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectStrukOrderFk")
|
||||
private StrukOrder strukOrder;
|
||||
|
||||
@Column(name = "ObjectStrukOrderFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectStrukOrderFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String strukOrderId;
|
||||
|
||||
@Column(name = "NamaBarang")
|
||||
@ -40,44 +40,4 @@ public class PenambahanKebutuhanSarana extends BaseTransaction {
|
||||
@Caption(value = "Harga")
|
||||
private Double harga;
|
||||
|
||||
public Double getHarga() {
|
||||
return harga;
|
||||
}
|
||||
|
||||
public void setHarga(Double harga) {
|
||||
this.harga = harga;
|
||||
}
|
||||
|
||||
public StrukOrder getStrukOrder() {
|
||||
return strukOrder;
|
||||
}
|
||||
|
||||
public void setStrukOrder(StrukOrder strukOrder) {
|
||||
this.strukOrder = strukOrder;
|
||||
}
|
||||
|
||||
public String getNamaBarang() {
|
||||
return namaBarang;
|
||||
}
|
||||
|
||||
public void setNamaBarang(String namaBarang) {
|
||||
this.namaBarang = namaBarang;
|
||||
}
|
||||
|
||||
public Integer getJumlah() {
|
||||
return jumlah;
|
||||
}
|
||||
|
||||
public void setJumlah(Integer jumlah) {
|
||||
this.jumlah = jumlah;
|
||||
}
|
||||
|
||||
public String getSatuan() {
|
||||
return satuan;
|
||||
}
|
||||
|
||||
public void setSatuan(String satuan) {
|
||||
this.satuan = satuan;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,123 +1,59 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
/**
|
||||
* class PenangananKasus
|
||||
*
|
||||
* @author Lukman Hakim
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PenangananKasus_T")
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class PenangananKasus extends BaseTransaction {
|
||||
|
||||
public class PenangananKasus extends BaseTransaction {
|
||||
|
||||
@NotNull(message = "No Cm Tidak Boleh Kosong")
|
||||
@Column(name = "NoCm", nullable = false)
|
||||
@Caption(value = "No CM")
|
||||
private String noCm;
|
||||
|
||||
|
||||
@NotNull(message = "No Kasus Tidak Boleh Kosong")
|
||||
@Column(name = "NoKasus", nullable = false)
|
||||
@Caption(value = "No Kasus")
|
||||
private String noKasus;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "PegawaiFk")
|
||||
private Pegawai pegawai;
|
||||
|
||||
@Column(name = "PegawaiFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "PegawaiFk", insertable = false, updatable = false)
|
||||
private Integer PegawaiFk;
|
||||
|
||||
|
||||
@Column(name = "Kegiatan", nullable = false)
|
||||
@Caption(value = "Kegiatan")
|
||||
private String kegiatan;
|
||||
|
||||
|
||||
@Column(name = "Hasil", nullable = false)
|
||||
@Caption(value = "Hasil")
|
||||
private String hasil;
|
||||
|
||||
|
||||
@Column(name = "Kesimpulan", nullable = false)
|
||||
@Caption(value = "Kesimpulan")
|
||||
private String kesimpulan;
|
||||
|
||||
|
||||
@Column(name = "Saran", nullable = false)
|
||||
@Caption(value = "saran")
|
||||
private String saran;
|
||||
|
||||
public String getNoCm() {
|
||||
return noCm;
|
||||
}
|
||||
|
||||
public void setNoCm(String noCm) {
|
||||
this.noCm = noCm;
|
||||
}
|
||||
|
||||
public String getNoKasus() {
|
||||
return noKasus;
|
||||
}
|
||||
|
||||
public void setNoKasus(String noKasus) {
|
||||
this.noKasus = noKasus;
|
||||
}
|
||||
|
||||
public Pegawai getPegawai() {
|
||||
return pegawai;
|
||||
}
|
||||
|
||||
public void setPegawai(Pegawai pegawai) {
|
||||
this.pegawai = pegawai;
|
||||
}
|
||||
|
||||
public Integer getPegawaiFk() {
|
||||
return PegawaiFk;
|
||||
}
|
||||
|
||||
public void setPegawaiFk(Integer pegawaiFk) {
|
||||
PegawaiFk = pegawaiFk;
|
||||
}
|
||||
|
||||
public String getKegiatan() {
|
||||
return kegiatan;
|
||||
}
|
||||
|
||||
public void setKegiatan(String kegiatan) {
|
||||
this.kegiatan = kegiatan;
|
||||
}
|
||||
|
||||
public String getHasil() {
|
||||
return hasil;
|
||||
}
|
||||
|
||||
public void setHasil(String hasil) {
|
||||
this.hasil = hasil;
|
||||
}
|
||||
|
||||
public String getKesimpulan() {
|
||||
return kesimpulan;
|
||||
}
|
||||
|
||||
public void setKesimpulan(String kesimpulan) {
|
||||
this.kesimpulan = kesimpulan;
|
||||
}
|
||||
|
||||
public String getSaran() {
|
||||
return saran;
|
||||
}
|
||||
|
||||
public void setSaran(String saran) {
|
||||
this.saran = saran;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,85 +1,44 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PenangananKeluhanPelanggan_T")
|
||||
public class PenangananKeluhanPelanggan extends BaseTransaction {
|
||||
|
||||
@ManyToOne(fetch= FetchType.LAZY)
|
||||
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
@JoinColumn(name = "ObjectPegawaiFk")
|
||||
@Caption(value="Pegawai")
|
||||
@Caption(value = "Pegawai")
|
||||
private Pegawai pegawai;
|
||||
|
||||
@Column(name = "ObjectPegawaiFk", insertable=false,updatable=false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectPegawaiFk", insertable = false, updatable = false)
|
||||
private Integer pegawaiId;
|
||||
|
||||
@Column(name = "NamaPetugas", nullable = true , length = 200)
|
||||
@Caption(value="Nama Petugas")
|
||||
|
||||
@Column(name = "NamaPetugas", length = 200)
|
||||
@Caption(value = "Nama Petugas")
|
||||
private String namaPetugas;
|
||||
|
||||
@Column(name = "Email", nullable = true , length = 200)
|
||||
@Caption(value="Email")
|
||||
|
||||
@Column(name = "Email", length = 200)
|
||||
@Caption(value = "Email")
|
||||
private String email;
|
||||
|
||||
@Column(name = "Reply", nullable = true)
|
||||
@Caption(value="Reply")
|
||||
|
||||
@Column(name = "Reply")
|
||||
@Caption(value = "Reply")
|
||||
private String reply;
|
||||
|
||||
@Column(name = "EmailPelanggan", nullable = true)
|
||||
|
||||
@Column(name = "EmailPelanggan")
|
||||
@Caption(value = "Email Pelanggan")
|
||||
private String emailPelanggan;
|
||||
|
||||
public String getNamaPetugas() {
|
||||
return namaPetugas;
|
||||
}
|
||||
|
||||
public void setNamaPetugas(String namaPetugas) {
|
||||
this.namaPetugas = namaPetugas;
|
||||
}
|
||||
|
||||
public String getEmailPelanggan() {
|
||||
return emailPelanggan;
|
||||
}
|
||||
|
||||
public void setEmailPelanggan(String emailPelanggan) {
|
||||
this.emailPelanggan = emailPelanggan;
|
||||
}
|
||||
|
||||
public Pegawai getPegawai() {
|
||||
return pegawai;
|
||||
}
|
||||
|
||||
public void setPegawai(Pegawai pegawai) {
|
||||
this.pegawai = pegawai;
|
||||
}
|
||||
|
||||
public String getEmail() {
|
||||
return email;
|
||||
}
|
||||
|
||||
public void setEmail(String email) {
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
public String getReply() {
|
||||
return reply;
|
||||
}
|
||||
|
||||
public void setReply(String reply) {
|
||||
this.reply = reply;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -1,237 +1,100 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
/**
|
||||
* class PenanggungJawabPasien
|
||||
* class PenanggungJawabPasien
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PenanggungJawabPasien_T")
|
||||
public class PenanggungJawabPasien extends BaseTransaction {
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@NotNull(message="Alamat Lengkap tidak boleh kosong")
|
||||
@Caption(value="Alamat Lengkap")
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@NotNull(message = "Alamat Lengkap tidak boleh kosong")
|
||||
@Caption(value = "Alamat Lengkap")
|
||||
@JoinColumn(name = "AlamatFk")
|
||||
private Alamat alamatLengkap;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@NotNull(message="Kd Jenis Kelamin tidak boleh kosong")
|
||||
@Caption(value="Object Jenis Kelamin")
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@NotNull(message = "Kd Jenis Kelamin tidak boleh kosong")
|
||||
@Caption(value = "Object Jenis Kelamin")
|
||||
@JoinColumn(name = "ObjectJenisKelaminFk")
|
||||
private JenisKelamin jenisKelamin;
|
||||
|
||||
@Column(name = "ObjectJenisKelaminFk", insertable=false,updatable=false,nullable=false)
|
||||
@Column(name = "ObjectJenisKelaminFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer jenisKlaminId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@NotNull(message="Kd Jenis Pengantar tidak boleh kosong")
|
||||
@Caption(value="Object Jenis Pengantar")
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@NotNull(message = "Kd Jenis Pengantar tidak boleh kosong")
|
||||
@Caption(value = "Object Jenis Pengantar")
|
||||
@JoinColumn(name = "ObjectJenisPengantarFk")
|
||||
private JenisPengantarPasien jenisPengantarPasien;
|
||||
|
||||
@Column(name = "ObjectJenisPengantarFk", insertable=false,updatable=false,nullable=false)
|
||||
@Column(name = "ObjectJenisPengantarFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer jenisPengantarPasienId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectPegawaiFk")
|
||||
@Caption(value="Object Pegawai")
|
||||
@NotNull(message="Pegawai")
|
||||
@Caption(value = "Object Pegawai")
|
||||
@NotNull(message = "Pegawai")
|
||||
private Pegawai pegawai;
|
||||
|
||||
@Column(name = "ObjectPegawaiFk", insertable=false,updatable=false,nullable=false)
|
||||
@Column(name = "ObjectPegawaiFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer pegawaiId;
|
||||
|
||||
@Column(name = "KeteranganLainnya", nullable = true , length = 150)
|
||||
@Caption(value="Keterangan Lainnya")
|
||||
@Column(name = "KeteranganLainnya", length = 150)
|
||||
@Caption(value = "Keterangan Lainnya")
|
||||
private String keteranganLainnya;
|
||||
|
||||
@NotNull(message="Nama Lengkap tidak boleh kosong")
|
||||
@Column(name = "NamaLengkap", nullable = false , length = 40)
|
||||
@Caption(value="Nama Lengkap")
|
||||
@NotNull(message = "Nama Lengkap tidak boleh kosong")
|
||||
@Column(name = "NamaLengkap", nullable = false, length = 40)
|
||||
@Caption(value = "Nama Lengkap")
|
||||
private String namaLengkap;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "NoCMFk")
|
||||
@NotNull(message="No C M tidak boleh kosong")
|
||||
@Caption(value="No C M")
|
||||
@NotNull(message = "No C M tidak boleh kosong")
|
||||
@Caption(value = "No C M")
|
||||
private Pasien pasien;
|
||||
|
||||
@Column(name = "NoCMFk", insertable=false,updatable=false,nullable=false)
|
||||
|
||||
@Column(name = "NoCMFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer pasienId;
|
||||
|
||||
@Caption(value="No Identitas")
|
||||
@Caption(value = "No Identitas")
|
||||
private String noIdentitas;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "NoRegistrasiFk")
|
||||
@NotNull(message="No Registrasi tidak boleh kosong")
|
||||
@Caption(value="No Registrasi")
|
||||
@NotNull(message = "No Registrasi tidak boleh kosong")
|
||||
@Caption(value = "No Registrasi")
|
||||
private PasienDaftar pasienDaftar;
|
||||
|
||||
@Column(name = "NoRegistrasiFk", insertable=false,updatable=false,nullable=false)
|
||||
@Column(name = "NoRegistrasiFk", insertable = false, updatable = false, nullable = false)
|
||||
private String pasienDaftarId;
|
||||
|
||||
@Caption(value="Tempat Lahir")
|
||||
@Caption(value = "Tempat Lahir")
|
||||
private String tempatLahir;
|
||||
|
||||
@NotNull(message="Tgl Lahir tidak boleh kosong")
|
||||
@Column(name = "TglLahir", nullable = false )
|
||||
@Caption(value="Tanggal Lahir")
|
||||
@NotNull(message = "Tgl Lahir tidak boleh kosong")
|
||||
@Column(name = "TglLahir", nullable = false)
|
||||
@Caption(value = "Tanggal Lahir")
|
||||
private Date tglLahir;
|
||||
|
||||
@Column(name = "TglPernyataan", nullable = true)
|
||||
@Column(name = "TglPernyataan")
|
||||
@Caption(value = "Tanggal Pernyataan")
|
||||
private Date tglPernyataan;
|
||||
|
||||
public Alamat getAlamatLengkap() {
|
||||
return alamatLengkap;
|
||||
}
|
||||
|
||||
public void setAlamatLengkap(Alamat alamatLengkap) {
|
||||
this.alamatLengkap = alamatLengkap;
|
||||
}
|
||||
|
||||
public JenisKelamin getJenisKelamin() {
|
||||
return jenisKelamin;
|
||||
}
|
||||
|
||||
public void setJenisKelamin(JenisKelamin jenisKelamin) {
|
||||
this.jenisKelamin = jenisKelamin;
|
||||
}
|
||||
|
||||
public Integer getJenisKlaminId() {
|
||||
return jenisKlaminId;
|
||||
}
|
||||
|
||||
public void setJenisKlaminId(Integer jenisKlaminId) {
|
||||
this.jenisKlaminId = jenisKlaminId;
|
||||
}
|
||||
|
||||
public JenisPengantarPasien getJenisPengantarPasien() {
|
||||
return jenisPengantarPasien;
|
||||
}
|
||||
|
||||
public void setJenisPengantarPasien(JenisPengantarPasien jenisPengantarPasien) {
|
||||
this.jenisPengantarPasien = jenisPengantarPasien;
|
||||
}
|
||||
|
||||
public Integer getJenisPengantarPasienId() {
|
||||
return jenisPengantarPasienId;
|
||||
}
|
||||
|
||||
public void setJenisPengantarPasienId(Integer jenisPengantarPasienId) {
|
||||
this.jenisPengantarPasienId = jenisPengantarPasienId;
|
||||
}
|
||||
|
||||
public Pegawai getPegawai() {
|
||||
return pegawai;
|
||||
}
|
||||
|
||||
public void setPegawai(Pegawai pegawai) {
|
||||
this.pegawai = pegawai;
|
||||
}
|
||||
|
||||
public Integer getPegawaiId() {
|
||||
return pegawaiId;
|
||||
}
|
||||
|
||||
public void setPegawaiId(Integer pegawaiId) {
|
||||
this.pegawaiId = pegawaiId;
|
||||
}
|
||||
|
||||
public String getKeteranganLainnya() {
|
||||
return keteranganLainnya;
|
||||
}
|
||||
|
||||
public void setKeteranganLainnya(String keteranganLainnya) {
|
||||
this.keteranganLainnya = keteranganLainnya;
|
||||
}
|
||||
|
||||
public String getNamaLengkap() {
|
||||
return namaLengkap;
|
||||
}
|
||||
|
||||
public void setNamaLengkap(String namaLengkap) {
|
||||
this.namaLengkap = namaLengkap;
|
||||
}
|
||||
|
||||
public Pasien getPasien() {
|
||||
return pasien;
|
||||
}
|
||||
|
||||
public void setPasien(Pasien pasien) {
|
||||
this.pasien = pasien;
|
||||
}
|
||||
|
||||
public Integer getPasienId() {
|
||||
return pasienId;
|
||||
}
|
||||
|
||||
public void setPasienId(Integer pasienId) {
|
||||
this.pasienId = pasienId;
|
||||
}
|
||||
|
||||
public String getNoIdentitas() {
|
||||
return noIdentitas;
|
||||
}
|
||||
|
||||
public void setNoIdentitas(String noIdentitas) {
|
||||
this.noIdentitas = noIdentitas;
|
||||
}
|
||||
|
||||
public PasienDaftar getPasienDaftar() {
|
||||
return pasienDaftar;
|
||||
}
|
||||
|
||||
public void setPasienDaftar(PasienDaftar pasienDaftar) {
|
||||
this.pasienDaftar = pasienDaftar;
|
||||
}
|
||||
|
||||
public String getPasienDaftarId() {
|
||||
return pasienDaftarId;
|
||||
}
|
||||
|
||||
public void setPasienDaftarId(String pasienDaftarId) {
|
||||
this.pasienDaftarId = pasienDaftarId;
|
||||
}
|
||||
|
||||
public String getTempatLahir() {
|
||||
return tempatLahir;
|
||||
}
|
||||
|
||||
public void setTempatLahir(String tempatLahir) {
|
||||
this.tempatLahir = tempatLahir;
|
||||
}
|
||||
|
||||
public Date getTglLahir() {
|
||||
return tglLahir;
|
||||
}
|
||||
|
||||
public void setTglLahir(Date tglLahir) {
|
||||
this.tglLahir = tglLahir;
|
||||
}
|
||||
|
||||
public Date getTglPernyataan() {
|
||||
return tglPernyataan;
|
||||
}
|
||||
|
||||
public void setTglPernyataan(Date tglPernyataan) {
|
||||
this.tglPernyataan = tglPernyataan;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,84 +1,42 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import org.hibernate.envers.Audited;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;import org.hibernate.envers.Audited;
|
||||
import static javax.persistence.CascadeType.ALL;
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
/**
|
||||
* class PenawaranHarga_T
|
||||
* class PenawaranHarga_T
|
||||
*
|
||||
* @author Adik
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PenawaranHarga_T")
|
||||
public class PenawaranHarga extends BaseTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectRekananFk")
|
||||
@Caption(value="Object Rekanan")
|
||||
@Caption(value = "Object Rekanan")
|
||||
private Rekanan supplier;
|
||||
|
||||
|
||||
@Column(name = "tanggal")
|
||||
@Caption(value = "tanggal")
|
||||
private Date tanggal;
|
||||
|
||||
@Column(name = "ObjectRekananFk", insertable=false,updatable=false)
|
||||
@Column(name = "ObjectRekananFk", insertable = false, updatable = false)
|
||||
private Integer supplierId;
|
||||
|
||||
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "penawaranHarga")
|
||||
private Set<PenawaranHargaSupplier> penawaranHargaSupplier = new HashSet<PenawaranHargaSupplier>();
|
||||
|
||||
public Rekanan getSupplier() {
|
||||
return supplier;
|
||||
}
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "penawaranHarga")
|
||||
private Set<PenawaranHargaSupplier> penawaranHargaSupplier = new HashSet<>();
|
||||
|
||||
public void setSupplier(Rekanan supplier) {
|
||||
this.supplier = supplier;
|
||||
}
|
||||
|
||||
public Integer getSupplierId() {
|
||||
return supplierId;
|
||||
}
|
||||
|
||||
public void setSupplierId(Integer supplierId) {
|
||||
this.supplierId = supplierId;
|
||||
}
|
||||
|
||||
public Set<PenawaranHargaSupplier> getPenawaranHargaSupplier() {
|
||||
return penawaranHargaSupplier;
|
||||
}
|
||||
|
||||
public void setPenawaranHargaSupplier(Set<PenawaranHargaSupplier> penawaranHargaSupplier) {
|
||||
this.penawaranHargaSupplier = penawaranHargaSupplier;
|
||||
}
|
||||
|
||||
public Date getTanggal() {
|
||||
return tanggal;
|
||||
}
|
||||
|
||||
public void setTanggal(Date tanggal) {
|
||||
this.tanggal = tanggal;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,159 +1,65 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import org.hibernate.envers.Audited;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;import org.hibernate.envers.Audited;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
/**
|
||||
* class PenawaranHarga_T
|
||||
* class PenawaranHarga_T
|
||||
*
|
||||
* @author Adik
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PenawaranHargaSupplier_T")
|
||||
public class PenawaranHargaSupplier extends BaseTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPenawaranHargaFk")
|
||||
@Caption(value="Object Penawaran harga")
|
||||
@Caption(value = "Object Penawaran harga")
|
||||
private PenawaranHarga penawaranHarga;
|
||||
|
||||
@Column(name = "ObjectPenawaranHargaFk", insertable=false,updatable=false)
|
||||
@Column(name = "ObjectPenawaranHargaFk", insertable = false, updatable = false)
|
||||
private String penawaranHargaId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKartuPengendaliDetail")
|
||||
@Caption(value="Kartu Pengendali Detail")
|
||||
@Caption(value = "Kartu Pengendali Detail")
|
||||
private KartuPengendaliDetail kartuPengendaliDetail;
|
||||
|
||||
@Column(name = "ObjectKartuPengendaliDetail", insertable=false,updatable=false)
|
||||
@Column(name = "ObjectKartuPengendaliDetail", insertable = false, updatable = false)
|
||||
private String kartuPengendaliDetailId;
|
||||
|
||||
|
||||
@Column(name = "no")
|
||||
@Caption(value = "no")
|
||||
private String no;
|
||||
|
||||
private String no;
|
||||
|
||||
@Column(name = "namaDagang")
|
||||
@Caption(value = "namaDagang")
|
||||
private String namaDagang;
|
||||
|
||||
private String namaDagang;
|
||||
|
||||
@Column(name = "kemasan")
|
||||
@Caption(value = "kemasan")
|
||||
private String kemasan;
|
||||
|
||||
private String kemasan;
|
||||
|
||||
@Column(name = "isiKemasan")
|
||||
@Caption(value = "isiKemasan")
|
||||
private Double isiKemasan;
|
||||
|
||||
private Double isiKemasan;
|
||||
|
||||
@Column(name = "hargaSatuanTerkecil")
|
||||
@Caption(value = "hargaSatuanTerkecil")
|
||||
private Double hargaSatuanTerkecil;
|
||||
|
||||
private Double hargaSatuanTerkecil;
|
||||
|
||||
@Column(name = "tipeObat")
|
||||
@Caption(value = "tipeObat")
|
||||
private String tipeObat;
|
||||
|
||||
private String tipeObat;
|
||||
|
||||
@Column(name = "spesifikasi")
|
||||
@Caption(value = "spesifikasi")
|
||||
private String spesifikasi;
|
||||
|
||||
public PenawaranHarga getPenawaranHarga() {
|
||||
return penawaranHarga;
|
||||
}
|
||||
|
||||
public void setPenawaranHarga(PenawaranHarga penawaranHarga) {
|
||||
this.penawaranHarga = penawaranHarga;
|
||||
}
|
||||
|
||||
public String getPenawaranHargaId() {
|
||||
return penawaranHargaId;
|
||||
}
|
||||
|
||||
public void setPenawaranHargaId(String penawaranHargaId) {
|
||||
this.penawaranHargaId = penawaranHargaId;
|
||||
}
|
||||
|
||||
public String getNo() {
|
||||
return no;
|
||||
}
|
||||
|
||||
public void setNo(String no) {
|
||||
this.no = no;
|
||||
}
|
||||
|
||||
public String getNamaDagang() {
|
||||
return namaDagang;
|
||||
}
|
||||
|
||||
public void setNamaDagang(String namaDagang) {
|
||||
this.namaDagang = namaDagang;
|
||||
}
|
||||
|
||||
public String getKemasan() {
|
||||
return kemasan;
|
||||
}
|
||||
|
||||
public void setKemasan(String kemasan) {
|
||||
this.kemasan = kemasan;
|
||||
}
|
||||
|
||||
public Double getIsiKemasan() {
|
||||
return isiKemasan;
|
||||
}
|
||||
|
||||
public void setIsiKemasan(Double isiKemasan) {
|
||||
this.isiKemasan = isiKemasan;
|
||||
}
|
||||
|
||||
public Double getHargaSatuanTerkecil() {
|
||||
return hargaSatuanTerkecil;
|
||||
}
|
||||
|
||||
public void setHargaSatuanTerkecil(Double hargaSatuanTerkecil) {
|
||||
this.hargaSatuanTerkecil = hargaSatuanTerkecil;
|
||||
}
|
||||
|
||||
public String getTipeObat() {
|
||||
return tipeObat;
|
||||
}
|
||||
|
||||
public void setTipeObat(String tipeObat) {
|
||||
this.tipeObat = tipeObat;
|
||||
}
|
||||
|
||||
public String getSpesifikasi() {
|
||||
return spesifikasi;
|
||||
}
|
||||
|
||||
public void setSpesifikasi(String spesifikasi) {
|
||||
this.spesifikasi = spesifikasi;
|
||||
}
|
||||
|
||||
public KartuPengendaliDetail getKartuPengendaliDetail() {
|
||||
return kartuPengendaliDetail;
|
||||
}
|
||||
|
||||
public void setKartuPengendaliDetail(KartuPengendaliDetail kartuPengendaliDetail) {
|
||||
this.kartuPengendaliDetail = kartuPengendaliDetail;
|
||||
}
|
||||
|
||||
public String getKartuPengendaliDetailId() {
|
||||
return kartuPengendaliDetailId;
|
||||
}
|
||||
|
||||
public void setKartuPengendaliDetailId(String kartuPengendaliDetailId) {
|
||||
this.kartuPengendaliDetailId = kartuPengendaliDetailId;
|
||||
}
|
||||
|
||||
private String spesifikasi;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,153 +1,67 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PencatatanSuhuMesin_T")
|
||||
public class PencatatanSuhuMesin extends BaseTransaction {
|
||||
|
||||
@Column(name = "Tanggal", nullable = true)
|
||||
|
||||
@Column(name = "Tanggal")
|
||||
@Caption(value = "Tanggal")
|
||||
private Date tanggal;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectMesinFk")
|
||||
@NotNull(message = "Mesin tidak boleh kosong")
|
||||
@Caption(value="Object Mesin")
|
||||
@NotNull(message = "Mesin tidak boleh kosong")
|
||||
@Caption(value = "Object Mesin")
|
||||
private Mesin mesin;
|
||||
|
||||
|
||||
@Column(name = "ObjectMesinFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer mesinId;
|
||||
|
||||
@Column(name = "ProgramMesin", nullable = true)
|
||||
|
||||
@Column(name = "ProgramMesin")
|
||||
@Caption(value = "Program Mesin")
|
||||
private String programMesin;
|
||||
|
||||
@Column(name = "WaktuMulai", nullable = true)
|
||||
|
||||
@Column(name = "WaktuMulai")
|
||||
@Caption(value = "Waktu Mulai")
|
||||
private String waktuMulai;
|
||||
|
||||
@Column(name = "WaktuSelesai", nullable = true)
|
||||
|
||||
@Column(name = "WaktuSelesai")
|
||||
@Caption(value = "Waktu Selesai")
|
||||
private String waktuSelesai;
|
||||
|
||||
@Column(name = "Suhu", nullable = true)
|
||||
|
||||
@Column(name = "Suhu")
|
||||
@Caption(value = "Suhu")
|
||||
private String suhu;
|
||||
|
||||
@Column(name = "Tekanan", nullable = true)
|
||||
|
||||
@Column(name = "Tekanan")
|
||||
@Caption(value = "Tekanan")
|
||||
private String tekanan;
|
||||
|
||||
@Column(name = "LamaProses", nullable = true)
|
||||
|
||||
@Column(name = "LamaProses")
|
||||
@Caption(value = "Lama Proses")
|
||||
private String lamaProses;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPetugasFk")
|
||||
@NotNull(message = "Petugas tidak boleh kosong")
|
||||
@Caption(value="Object Petugas")
|
||||
@NotNull(message = "Petugas tidak boleh kosong")
|
||||
@Caption(value = "Object Petugas")
|
||||
private Pegawai petugas;
|
||||
|
||||
|
||||
@Column(name = "ObjectPetugasFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer petugasId;
|
||||
|
||||
@Column(name="Keterangan", length=60, nullable=true)
|
||||
|
||||
@Column(name = "Keterangan", length = 60)
|
||||
private String keterangan;
|
||||
|
||||
public Date getTanggal() {
|
||||
return tanggal;
|
||||
}
|
||||
|
||||
public void setTanggal(Date tanggal) {
|
||||
this.tanggal = tanggal;
|
||||
}
|
||||
|
||||
public Mesin getMesin() {
|
||||
return mesin;
|
||||
}
|
||||
|
||||
public void setMesin(Mesin mesin) {
|
||||
this.mesin = mesin;
|
||||
}
|
||||
|
||||
public String getProgramMesin() {
|
||||
return programMesin;
|
||||
}
|
||||
|
||||
public void setProgramMesin(String programMesin) {
|
||||
this.programMesin = programMesin;
|
||||
}
|
||||
|
||||
public String getWaktuMulai() {
|
||||
return waktuMulai;
|
||||
}
|
||||
|
||||
public void setWaktuMulai(String waktuMulai) {
|
||||
this.waktuMulai = waktuMulai;
|
||||
}
|
||||
|
||||
public String getWaktuSelesai() {
|
||||
return waktuSelesai;
|
||||
}
|
||||
|
||||
public void setWaktuSelesai(String waktuSelesai) {
|
||||
this.waktuSelesai = waktuSelesai;
|
||||
}
|
||||
|
||||
public String getSuhu() {
|
||||
return suhu;
|
||||
}
|
||||
|
||||
public void setSuhu(String suhu) {
|
||||
this.suhu = suhu;
|
||||
}
|
||||
|
||||
public String getTekanan() {
|
||||
return tekanan;
|
||||
}
|
||||
|
||||
public void setTekanan(String tekanan) {
|
||||
this.tekanan = tekanan;
|
||||
}
|
||||
|
||||
public String getLamaProses() {
|
||||
return lamaProses;
|
||||
}
|
||||
|
||||
public void setLamaProses(String lamaProses) {
|
||||
this.lamaProses = lamaProses;
|
||||
}
|
||||
|
||||
public Pegawai getPetugas() {
|
||||
return petugas;
|
||||
}
|
||||
|
||||
public void setPetugas(Pegawai petugas) {
|
||||
this.petugas = petugas;
|
||||
}
|
||||
|
||||
public String getKeterangan() {
|
||||
return keterangan;
|
||||
}
|
||||
|
||||
public void setKeterangan(String keterangan) {
|
||||
this.keterangan = keterangan;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -1,16 +1,15 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.Date;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PencucianLinen_T")
|
||||
public class PencucianLinen extends BaseTransaction {
|
||||
@ -18,7 +17,7 @@ public class PencucianLinen extends BaseTransaction {
|
||||
private static final long serialVersionUID = -5404040967720000404L;
|
||||
|
||||
@Caption(value = "Tgl")
|
||||
@Column(name = "Tgl", nullable = true)
|
||||
@Column(name = "Tgl")
|
||||
private Date tgl;
|
||||
|
||||
@ManyToOne
|
||||
@ -29,7 +28,7 @@ public class PencucianLinen extends BaseTransaction {
|
||||
private String mappingCyclenoRec;
|
||||
|
||||
@Caption(value = "Berat")
|
||||
@Column(name = "Berat", nullable = true)
|
||||
@Column(name = "Berat")
|
||||
private Float berat;
|
||||
|
||||
@ManyToOne
|
||||
@ -39,36 +38,4 @@ public class PencucianLinen extends BaseTransaction {
|
||||
@Column(name = "ObjectSatuanFk", insertable = false, updatable = false)
|
||||
private Integer satuanId;
|
||||
|
||||
public Date getTgl() {
|
||||
return tgl;
|
||||
}
|
||||
|
||||
public void setTgl(Date tgl) {
|
||||
this.tgl = tgl;
|
||||
}
|
||||
|
||||
public MappingCycle getMappingCycle() {
|
||||
return mappingCycle;
|
||||
}
|
||||
|
||||
public void setMappingCycle(MappingCycle mappingCycle) {
|
||||
this.mappingCycle = mappingCycle;
|
||||
}
|
||||
|
||||
public Float getBerat() {
|
||||
return berat;
|
||||
}
|
||||
|
||||
public void setBerat(Float berat) {
|
||||
this.berat = berat;
|
||||
}
|
||||
|
||||
public SatuanStandar getSatuan() {
|
||||
return satuan;
|
||||
}
|
||||
|
||||
public void setSatuan(SatuanStandar satuan) {
|
||||
this.satuan = satuan;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,42 +1,34 @@
|
||||
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.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class Pendidikan
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@JsonIgnoreProperties(value = { "handler", "hibernateLazyInitializer" })
|
||||
@Table(name = "Pendidikan_M")
|
||||
public class Pendidikan extends BaseMaster {
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectJenisPendidikanFk")
|
||||
@NotNull(message = "Kd Jenis Pendidikan tidak boleh kosong")
|
||||
@Caption(value = "Object Jenis Pendidikan")
|
||||
private JenisPendidikan jenisPendidikan;
|
||||
|
||||
public void setJenisPendidikan(JenisPendidikan jenisPendidikan) {
|
||||
this.jenisPendidikan = jenisPendidikan;
|
||||
}
|
||||
|
||||
public JenisPendidikan getJenisPendidikan() {
|
||||
return this.jenisPendidikan;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectJenisPendidikanFk", insertable = false, updatable = false)
|
||||
private Integer jenisPendidikanId;
|
||||
|
||||
@ -45,65 +37,25 @@ public class Pendidikan extends BaseMaster {
|
||||
@Caption(value = "Kode Pendidikan")
|
||||
private String kdPendidikan;
|
||||
|
||||
public void setKdPendidikan(String kdPendidikan) {
|
||||
this.kdPendidikan = kdPendidikan;
|
||||
}
|
||||
|
||||
public String getKdPendidikan() {
|
||||
return this.kdPendidikan;
|
||||
}
|
||||
|
||||
@NotNull(message = "No Urut tidak boleh kosong")
|
||||
@Column(name = "NoUrut", nullable = false)
|
||||
@Caption(value = "No Urut")
|
||||
private Byte noUrut;
|
||||
|
||||
public void setNoUrut(Byte noUrut) {
|
||||
this.noUrut = noUrut;
|
||||
}
|
||||
|
||||
public Byte getNoUrut() {
|
||||
return this.noUrut;
|
||||
}
|
||||
|
||||
@NotNull(message = "Pendidikan tidak boleh kosong")
|
||||
@Column(name = "Pendidikan", nullable = false, length = 50)
|
||||
@Caption(value = "Pendidikan")
|
||||
private String namaPendidikan;
|
||||
|
||||
public String getNamaPendidikan() {
|
||||
return namaPendidikan;
|
||||
}
|
||||
|
||||
public void setNamaPendidikan(String namaPendidikan) {
|
||||
this.namaPendidikan = namaPendidikan;
|
||||
}
|
||||
|
||||
@NotNull(message = "QPendidikan tidak boleh kosong")
|
||||
@Column(name = "QPendidikan", nullable = false)
|
||||
@Caption(value = "QPendidikan")
|
||||
private Byte qPendidikan;
|
||||
|
||||
public void setqPendidikan(Byte qPendidikan) {
|
||||
this.qPendidikan = qPendidikan;
|
||||
}
|
||||
|
||||
public Byte getqPendidikan() {
|
||||
return this.qPendidikan;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.pendidikan_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.pendidikan_m_id_seq", sequenceName = "public.pendidikan_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.pendidikan_m_id_seq")
|
||||
@SequenceGenerator(name = "public.pendidikan_m_id_seq", sequenceName = "public.pendidikan_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,50 +1,35 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import org.hibernate.envers.Audited;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class PenerimaInfo
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_PenerimaInfo_M")
|
||||
public class PenerimaInfo extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Name tidak boleh kosong")
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.penerimainfo_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.penerimainfo_m_id_seq", sequenceName = "public.penerimainfo_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.penerimainfo_m_id_seq")
|
||||
@SequenceGenerator(name = "public.penerimainfo_m_id_seq", sequenceName = "public.penerimainfo_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,21 +1,20 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonManagedReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import static javax.persistence.CascadeType.ALL;
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PenerimaanLinen_T")
|
||||
public class PenerimaanLinen extends BaseTransaction {
|
||||
@ -30,24 +29,8 @@ public class PenerimaanLinen extends BaseTransaction {
|
||||
private Integer petugasId;
|
||||
|
||||
@JsonManagedReference
|
||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "penerimaanLinen")
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "penerimaanLinen")
|
||||
@Caption(value = "mapPenerimaanLinen")
|
||||
private Set<MappingPenerimaanLinen> mapPenerimaanLinen = new HashSet<MappingPenerimaanLinen>();
|
||||
|
||||
public LoginUser getPetugas() {
|
||||
return petugas;
|
||||
}
|
||||
|
||||
public void setPetugas(LoginUser petugas) {
|
||||
this.petugas = petugas;
|
||||
}
|
||||
|
||||
public Set<MappingPenerimaanLinen> getMapPenerimaanLinen() {
|
||||
return mapPenerimaanLinen;
|
||||
}
|
||||
|
||||
public void setMapPenerimaanLinen(Set<MappingPenerimaanLinen> mapPenerimaanLinen) {
|
||||
this.mapPenerimaanLinen = mapPenerimaanLinen;
|
||||
}
|
||||
private Set<MappingPenerimaanLinen> mapPenerimaanLinen = new HashSet<>();
|
||||
|
||||
}
|
||||
|
||||
@ -1,43 +1,28 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "Pengadaan_M")
|
||||
public class Pengadaan extends BaseMaster {
|
||||
|
||||
@Column(name = "namaPengadaan", nullable = true)
|
||||
@Column(name = "namaPengadaan")
|
||||
@Caption(value = "Nama Pengadaan")
|
||||
private String namaPengadaan;
|
||||
|
||||
public String getNamaPengadaan() {
|
||||
return namaPengadaan;
|
||||
}
|
||||
|
||||
public void setNamaPengadaan(String namaPengadaan) {
|
||||
this.namaPengadaan = namaPengadaan;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.pengadaan_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.pengadaan_m_id_seq", sequenceName = "public.pengadaan_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.pengadaan_m_id_seq")
|
||||
@SequenceGenerator(name = "public.pengadaan_m_id_seq", sequenceName = "public.pengadaan_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,78 +1,38 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;import org.hibernate.envers.Audited;
|
||||
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PengalamanOrganisasi_T")
|
||||
public class PengalamanOrganisasi extends BaseTransaction{
|
||||
|
||||
public class PengalamanOrganisasi extends BaseTransaction {
|
||||
|
||||
@Column(name = "tahun")
|
||||
@Caption(value = "Tahun")
|
||||
private String tahun;
|
||||
|
||||
|
||||
@Column(name = "namaOrganisasi")
|
||||
@Caption(value = "Nama Organisasi")
|
||||
private String namaOrganisasi;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "PengkajianAwalPsikologiFk")
|
||||
@NotNull(message = "Pengkajian Awal Psikologi tidak boleh kosong")
|
||||
private PengkajianAwalPsikologi pengkajianAwalPsikologi;
|
||||
|
||||
|
||||
@Column(name = "jabatan")
|
||||
@Caption(value = "Jabatan")
|
||||
private String jabatan;
|
||||
|
||||
|
||||
@Column(name = "keterangan")
|
||||
@Caption(value = "Keterangan")
|
||||
private String keterangan;
|
||||
|
||||
public String getTahun() {
|
||||
return tahun;
|
||||
}
|
||||
|
||||
public void setTahun(String tahun) {
|
||||
this.tahun = tahun;
|
||||
}
|
||||
|
||||
public String getNamaOrganisasi() {
|
||||
return namaOrganisasi;
|
||||
}
|
||||
|
||||
public void setNamaOrganisasi(String namaOrganisasi) {
|
||||
this.namaOrganisasi = namaOrganisasi;
|
||||
}
|
||||
|
||||
public String getJabatan() {
|
||||
return jabatan;
|
||||
}
|
||||
|
||||
public void setJabatan(String jabatan) {
|
||||
this.jabatan = jabatan;
|
||||
}
|
||||
|
||||
public String getKeterangan() {
|
||||
return keterangan;
|
||||
}
|
||||
|
||||
public void setKeterangan(String keterangan) {
|
||||
this.keterangan = keterangan;
|
||||
}
|
||||
|
||||
public PengkajianAwalPsikologi getPengkajianAwalPsikologi() {
|
||||
return pengkajianAwalPsikologi;
|
||||
}
|
||||
|
||||
public void setPengkajianAwalPsikologi(PengkajianAwalPsikologi pengkajianAwalPsikologi) {
|
||||
this.pengkajianAwalPsikologi = pengkajianAwalPsikologi;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,50 +1,35 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import org.hibernate.envers.Audited;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class PengambilanFoto
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_PengambilanFoto_M")
|
||||
public class PengambilanFoto extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Name tidak boleh kosong")
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.pengambilanfoto_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.pengambilanfoto_m_id_seq", sequenceName = "public.pengambilanfoto_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.pengambilanfoto_m_id_seq")
|
||||
@SequenceGenerator(name = "public.pengambilanfoto_m_id_seq", sequenceName = "public.pengambilanfoto_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,231 +1,87 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;import org.hibernate.envers.Audited;
|
||||
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PengambilanOvum_T")
|
||||
public class PengambilanOvum extends MedicalRecordTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectDokterFk")
|
||||
@Caption(value="Object Pegawai")
|
||||
@Caption(value = "Object Pegawai")
|
||||
private Pegawai pegawai;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "CaraPengambilanOvumFk")
|
||||
@Caption(value="Cara Pengambilan Ovum")
|
||||
private CaraPengambilanOvum caraPengambilanOvum;
|
||||
|
||||
@Caption(value = "Cara Pengambilan Ovum")
|
||||
private CaraPengambilanOvum caraPengambilanOvum;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "PembiusanFK")
|
||||
@Caption(value="Pembiusan")
|
||||
@Caption(value = "Pembiusan")
|
||||
private Pembiusan pembiusan;
|
||||
|
||||
@Column(name = "Tanggal", nullable = true )
|
||||
@Caption(value="Tanggal ")
|
||||
|
||||
@Column(name = "Tanggal")
|
||||
@Caption(value = "Tanggal ")
|
||||
private Date tanggal;
|
||||
|
||||
|
||||
@Column(name = "FungsiOvariumKanan")
|
||||
@Caption(value="Fungsi Ovarium Kanan")
|
||||
@Caption(value = "Fungsi Ovarium Kanan")
|
||||
private String fungsiOvariumKanan;
|
||||
|
||||
|
||||
@Column(name = "FungsiOvariumKiri")
|
||||
@Caption(value="Fungsi Ovarium Kiri")
|
||||
@Caption(value = "Fungsi Ovarium Kiri")
|
||||
private String fungsiOvariumKiri;
|
||||
|
||||
|
||||
@Column(name = "OositOvariumKananKualitas1")
|
||||
@Caption(value="Oosit Ovarium Kanan Kualitas1")
|
||||
@Caption(value = "Oosit Ovarium Kanan Kualitas1")
|
||||
private String oositOvariumKananKualitas1;
|
||||
|
||||
|
||||
@Column(name = "OositOvariumKananKualitas2")
|
||||
@Caption(value="Oosit Ovarium Kanan Kualitas2")
|
||||
@Caption(value = "Oosit Ovarium Kanan Kualitas2")
|
||||
private String OositOvariumKananKualitas2;
|
||||
|
||||
|
||||
@Column(name = "OositOvariumKananKualitas3")
|
||||
@Caption(value="Oosit Ovarium Kanan Kualitas3")
|
||||
@Caption(value = "Oosit Ovarium Kanan Kualitas3")
|
||||
private String OositOvariumKananKualitas3;
|
||||
|
||||
|
||||
@Column(name = "OositOvariumKananKualitas4")
|
||||
@Caption(value="Oosit Ovarium Kanan Kualitas4")
|
||||
@Caption(value = "Oosit Ovarium Kanan Kualitas4")
|
||||
private String OositOvariumKananKualitas4;
|
||||
|
||||
|
||||
@Column(name = "OositOvariumKiriKualitas1")
|
||||
@Caption(value="Oosit Ovarium Kiri Kualitas1")
|
||||
@Caption(value = "Oosit Ovarium Kiri Kualitas1")
|
||||
private String oositOvariumKiriKualitas1;
|
||||
|
||||
|
||||
@Column(name = "OositOvariumKiriKualitas2")
|
||||
@Caption(value="Oosit Ovarium Kiri Kualitas2")
|
||||
@Caption(value = "Oosit Ovarium Kiri Kualitas2")
|
||||
private String OositOvariumKiriKualitas2;
|
||||
|
||||
|
||||
@Column(name = "OositOvariumKiriKualitas3")
|
||||
@Caption(value="Oosit Ovarium Kiri Kualitas3")
|
||||
@Caption(value = "Oosit Ovarium Kiri Kualitas3")
|
||||
private String OositOvariumKiriKualitas3;
|
||||
|
||||
|
||||
@Column(name = "OositOvariumKiriKualitas4")
|
||||
@Caption(value="Oosit Ovarium Kiri Kualitas4")
|
||||
@Caption(value = "Oosit Ovarium Kiri Kualitas4")
|
||||
private String OositOvariumKiriKualitas4;
|
||||
|
||||
|
||||
@Column(name = "JumlahFolikel")
|
||||
@Caption(value="Jumlah Folikel")
|
||||
@Caption(value = "Jumlah Folikel")
|
||||
private Integer jumlahFolikel;
|
||||
|
||||
|
||||
@Column(name = "JumlahOosit")
|
||||
@Caption(value="Jumlah Oosit")
|
||||
@Caption(value = "Jumlah Oosit")
|
||||
private Integer jumlahOosit;
|
||||
|
||||
|
||||
@Column(name = "Catatan")
|
||||
@Caption(value="Catatan")
|
||||
@Caption(value = "Catatan")
|
||||
private String catatan;
|
||||
|
||||
public CaraPengambilanOvum getCaraPengambilanOvum() {
|
||||
return caraPengambilanOvum;
|
||||
}
|
||||
|
||||
public void setCaraPengambilanOvum(CaraPengambilanOvum caraPengambilanOvum) {
|
||||
this.caraPengambilanOvum = caraPengambilanOvum;
|
||||
}
|
||||
|
||||
public Pembiusan getPembiusan() {
|
||||
return pembiusan;
|
||||
}
|
||||
|
||||
public void setPembiusan(Pembiusan pembiusan) {
|
||||
this.pembiusan = pembiusan;
|
||||
}
|
||||
|
||||
public Date getTanggal() {
|
||||
return tanggal;
|
||||
}
|
||||
|
||||
public void setTanggal(Date tanggal) {
|
||||
this.tanggal = tanggal;
|
||||
}
|
||||
|
||||
public String getFungsiOvariumKanan() {
|
||||
return fungsiOvariumKanan;
|
||||
}
|
||||
|
||||
public void setFungsiOvariumKanan(String fungsiOvariumKanan) {
|
||||
this.fungsiOvariumKanan = fungsiOvariumKanan;
|
||||
}
|
||||
|
||||
public String getFungsiOvariumKiri() {
|
||||
return fungsiOvariumKiri;
|
||||
}
|
||||
|
||||
public void setFungsiOvariumKiri(String fungsiOvariumKiri) {
|
||||
this.fungsiOvariumKiri = fungsiOvariumKiri;
|
||||
}
|
||||
|
||||
public String getOositOvariumKananKualitas1() {
|
||||
return oositOvariumKananKualitas1;
|
||||
}
|
||||
|
||||
public void setOositOvariumKananKualitas1(String oositOvariumKananKualitas1) {
|
||||
this.oositOvariumKananKualitas1 = oositOvariumKananKualitas1;
|
||||
}
|
||||
|
||||
public String getOositOvariumKananKualitas2() {
|
||||
return OositOvariumKananKualitas2;
|
||||
}
|
||||
|
||||
public void setOositOvariumKananKualitas2(String oositOvariumKananKualitas2) {
|
||||
OositOvariumKananKualitas2 = oositOvariumKananKualitas2;
|
||||
}
|
||||
|
||||
public String getOositOvariumKananKualitas3() {
|
||||
return OositOvariumKananKualitas3;
|
||||
}
|
||||
|
||||
public void setOositOvariumKananKualitas3(String oositOvariumKananKualitas3) {
|
||||
OositOvariumKananKualitas3 = oositOvariumKananKualitas3;
|
||||
}
|
||||
|
||||
public String getOositOvariumKananKualitas4() {
|
||||
return OositOvariumKananKualitas4;
|
||||
}
|
||||
|
||||
public void setOositOvariumKananKualitas4(String oositOvariumKananKualitas4) {
|
||||
OositOvariumKananKualitas4 = oositOvariumKananKualitas4;
|
||||
}
|
||||
|
||||
public String getOositOvariumKiriKualitas1() {
|
||||
return oositOvariumKiriKualitas1;
|
||||
}
|
||||
|
||||
public void setOositOvariumKiriKualitas1(String oositOvariumKiriKualitas1) {
|
||||
this.oositOvariumKiriKualitas1 = oositOvariumKiriKualitas1;
|
||||
}
|
||||
|
||||
public String getOositOvariumKiriKualitas2() {
|
||||
return OositOvariumKiriKualitas2;
|
||||
}
|
||||
|
||||
public void setOositOvariumKiriKualitas2(String oositOvariumKiriKualitas2) {
|
||||
OositOvariumKiriKualitas2 = oositOvariumKiriKualitas2;
|
||||
}
|
||||
|
||||
public String getOositOvariumKiriKualitas3() {
|
||||
return OositOvariumKiriKualitas3;
|
||||
}
|
||||
|
||||
public void setOositOvariumKiriKualitas3(String oositOvariumKiriKualitas3) {
|
||||
OositOvariumKiriKualitas3 = oositOvariumKiriKualitas3;
|
||||
}
|
||||
|
||||
public String getOositOvariumKiriKualitas4() {
|
||||
return OositOvariumKiriKualitas4;
|
||||
}
|
||||
|
||||
public void setOositOvariumKiriKualitas4(String oositOvariumKiriKualitas4) {
|
||||
OositOvariumKiriKualitas4 = oositOvariumKiriKualitas4;
|
||||
}
|
||||
|
||||
public Integer getJumlahFolikel() {
|
||||
return jumlahFolikel;
|
||||
}
|
||||
|
||||
public void setJumlahFolikel(Integer jumlahFolikel) {
|
||||
this.jumlahFolikel = jumlahFolikel;
|
||||
}
|
||||
|
||||
public Integer getJumlahOosit() {
|
||||
return jumlahOosit;
|
||||
}
|
||||
|
||||
public void setJumlahOosit(Integer jumlahOosit) {
|
||||
this.jumlahOosit = jumlahOosit;
|
||||
}
|
||||
|
||||
public String getCatatan() {
|
||||
return catatan;
|
||||
}
|
||||
|
||||
public void setCatatan(String catatan) {
|
||||
this.catatan = catatan;
|
||||
}
|
||||
|
||||
public Pegawai getPegawai() {
|
||||
return pegawai;
|
||||
}
|
||||
|
||||
public void setPegawai(Pegawai pegawai) {
|
||||
this.pegawai = pegawai;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -1,43 +1,28 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PengecekanPeralatan_M")
|
||||
public class PengecekanPeralatan extends BaseMaster {
|
||||
|
||||
@Caption(value = "Bagian Alat")
|
||||
@Column(name = "BagianAlat", nullable = true)
|
||||
@Column(name = "BagianAlat")
|
||||
private String bagianAlat;
|
||||
|
||||
public String getBagianAlat() {
|
||||
return bagianAlat;
|
||||
}
|
||||
|
||||
public void setBagianAlat(String bagianAlat) {
|
||||
this.bagianAlat = bagianAlat;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.pengecekanperalatan_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.pengecekanperalatan_m_id_seq", sequenceName = "public.pengecekanperalatan_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.pengecekanperalatan_m_id_seq")
|
||||
@SequenceGenerator(name = "public.pengecekanperalatan_m_id_seq", sequenceName = "public.pengecekanperalatan_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,25 +1,24 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PengecekanPeralatanMapping_M")
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class PengecekanPeralatanMapping extends BaseMaster {
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@Caption(value = "Produk")
|
||||
@JoinColumn(name = "ObjectProdukFk")
|
||||
private Produk produk;
|
||||
@ -27,7 +26,7 @@ public class PengecekanPeralatanMapping extends BaseMaster {
|
||||
@Column(name = "ObjectProdukFk", insertable = false, updatable = false)
|
||||
private Integer produkId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@Caption(value = "Pengecekan Peralatan")
|
||||
@JoinColumn(name = "ObjectPengecekanPeralatanFk")
|
||||
private PengecekanPeralatan pengecekanPeralatan;
|
||||
@ -35,50 +34,10 @@ public class PengecekanPeralatanMapping extends BaseMaster {
|
||||
@Column(name = "ObjectPengecekanPeralatanFk", insertable = false, updatable = false)
|
||||
private Integer pengecekanPeralatanId;
|
||||
|
||||
public Produk getProduk() {
|
||||
return produk;
|
||||
}
|
||||
|
||||
public void setProduk(Produk produk) {
|
||||
this.produk = produk;
|
||||
}
|
||||
|
||||
public Integer getProdukId() {
|
||||
return produkId;
|
||||
}
|
||||
|
||||
public void setProdukId(Integer produkId) {
|
||||
this.produkId = produkId;
|
||||
}
|
||||
|
||||
public PengecekanPeralatan getPengecekanPeralatan() {
|
||||
return pengecekanPeralatan;
|
||||
}
|
||||
|
||||
public void setPengecekanPeralatan(PengecekanPeralatan pengecekanPeralatan) {
|
||||
this.pengecekanPeralatan = pengecekanPeralatan;
|
||||
}
|
||||
|
||||
public Integer getPengecekanPeralatanId() {
|
||||
return pengecekanPeralatanId;
|
||||
}
|
||||
|
||||
public void setPengecekanPeralatanId(Integer pengecekanPeralatanId) {
|
||||
this.pengecekanPeralatanId = pengecekanPeralatanId;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.pengecekanperalatanmapping_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.pengecekanperalatanmapping_m_id_seq", sequenceName = "public.pengecekanperalatanmapping_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.pengecekanperalatanmapping_m_id_seq")
|
||||
@SequenceGenerator(name = "public.pengecekanperalatanmapping_m_id_seq", sequenceName = "public.pengecekanperalatanmapping_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,50 +1,35 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import org.hibernate.envers.Audited;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class Pengeluaran
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_Pengeluaran_M")
|
||||
public class Pengeluaran extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Name tidak boleh kosong")
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.pengeluaran_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.pengeluaran_m_id_seq", sequenceName = "public.pengeluaran_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.pengeluaran_m_id_seq")
|
||||
@SequenceGenerator(name = "public.pengeluaran_m_id_seq", sequenceName = "public.pengeluaran_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,134 +1,68 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
import javax.persistence.*;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* class Pengembalian
|
||||
* class Pengembalian
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "sdm_Pengembalian_T")
|
||||
public class Pengembalian extends BaseTransaction{
|
||||
@Column(name = "NomorAnggota", nullable = false , length = 100)
|
||||
@Caption(value = "NomorAnggota")
|
||||
private String nomorAnggota ;
|
||||
public String getNomorAnggota() {
|
||||
return nomorAnggota ;
|
||||
}
|
||||
public void setNomorAnggota(String nomorAnggota ) {
|
||||
this.nomorAnggota = nomorAnggota ;
|
||||
}
|
||||
public class Pengembalian extends BaseTransaction {
|
||||
|
||||
@Column(name = "TipeKeanggotaan", nullable = false , length = 100)
|
||||
@Caption(value = "TipeKeanggotaan")
|
||||
private String tipeKeanggotaan ;
|
||||
public String getTipeKeanggotaan() {
|
||||
return tipeKeanggotaan ;
|
||||
}
|
||||
public void setTipeKeanggotaan(String tipeKeanggotaan ) {
|
||||
this.tipeKeanggotaan = tipeKeanggotaan ;
|
||||
}
|
||||
@Column(name = "NomorAnggota", nullable = false, length = 100)
|
||||
@Caption(value = "NomorAnggota")
|
||||
private String nomorAnggota;
|
||||
|
||||
@Column(name = "Nama", nullable = false , length = 100)
|
||||
@Caption(value = "Nama")
|
||||
private String nama ;
|
||||
public String getNama() {
|
||||
return nama ;
|
||||
}
|
||||
public void setNama(String nama ) {
|
||||
this.nama = nama ;
|
||||
}
|
||||
@Column(name = "TipeKeanggotaan", nullable = false, length = 100)
|
||||
@Caption(value = "TipeKeanggotaan")
|
||||
private String tipeKeanggotaan;
|
||||
|
||||
@Column(name = "ISSN", nullable = false , length = 100)
|
||||
@Caption(value = "ISSN")
|
||||
private String ISSN ;
|
||||
public String getISSN() {
|
||||
return ISSN ;
|
||||
}
|
||||
public void setISSN(String ISSN ) {
|
||||
this.ISSN = ISSN ;
|
||||
}
|
||||
@Column(name = "Nama", nullable = false, length = 100)
|
||||
@Caption(value = "Nama")
|
||||
private String nama;
|
||||
|
||||
@Column(name = "KodeEksemplar", nullable = false , length = 100)
|
||||
@Caption(value = "KodeEksemplar")
|
||||
private Integer kodeEksemplar ;
|
||||
public Integer getKodeEksemplar() {
|
||||
return kodeEksemplar ;
|
||||
}
|
||||
public void setKodeEksemplar(Integer kodeEksemplar ) {
|
||||
this.kodeEksemplar = kodeEksemplar ;
|
||||
}
|
||||
@Column(name = "ISSN", nullable = false, length = 100)
|
||||
@Caption(value = "ISSN")
|
||||
private String ISSN;
|
||||
|
||||
@Column(name = "TanggalPinjam", nullable = false , length = 100)
|
||||
@Caption(value = "TanggalPinjam")
|
||||
private Date tanggalPinjam ;
|
||||
public Date getTanggalPinjam() {
|
||||
return tanggalPinjam ;
|
||||
}
|
||||
public void setTanggalPinjam(Date tanggalPinjam ) {
|
||||
this.tanggalPinjam = tanggalPinjam ;
|
||||
}
|
||||
@Column(name = "KodeEksemplar", nullable = false, length = 100)
|
||||
@Caption(value = "KodeEksemplar")
|
||||
private Integer kodeEksemplar;
|
||||
|
||||
@Column(name = "TanggalPengembalian", nullable = false , length = 100)
|
||||
@Caption(value = "TanggalPengembalian")
|
||||
private Date tanggalPengembalian ;
|
||||
public Date getTanggalPengembalian() {
|
||||
return tanggalPengembalian ;
|
||||
}
|
||||
public void setTanggalPengembalian(Date tanggalPengembalian ) {
|
||||
this.tanggalPengembalian = tanggalPengembalian ;
|
||||
}
|
||||
@Column(name = "TanggalPinjam", nullable = false, length = 100)
|
||||
@Caption(value = "TanggalPinjam")
|
||||
private Date tanggalPinjam;
|
||||
|
||||
@Column(name = "JumlahPinjaman", nullable = false , length = 100)
|
||||
@Caption(value = "JumlahPinjaman")
|
||||
private Integer jumlahPinjaman ;
|
||||
public Integer getJumlahPinjaman() {
|
||||
return jumlahPinjaman ;
|
||||
}
|
||||
public void setJumlahPinjaman(Integer jumlahPinjaman ) {
|
||||
this.jumlahPinjaman = jumlahPinjaman ;
|
||||
}
|
||||
@Column(name = "TanggalPengembalian", nullable = false, length = 100)
|
||||
@Caption(value = "TanggalPengembalian")
|
||||
private Date tanggalPengembalian;
|
||||
|
||||
@Column(name = "JumlahPengembalian", nullable = false , length = 100)
|
||||
@Caption(value = "JumlahPengembalian")
|
||||
private Integer jumlahPengembalian ;
|
||||
public Integer getJumlahPengembalian() {
|
||||
return jumlahPengembalian ;
|
||||
}
|
||||
public void setJumlahPengembalian(Integer jumlahPengembalian ) {
|
||||
this.jumlahPengembalian = jumlahPengembalian ;
|
||||
}
|
||||
@Column(name = "JumlahPinjaman", nullable = false, length = 100)
|
||||
@Caption(value = "JumlahPinjaman")
|
||||
private Integer jumlahPinjaman;
|
||||
|
||||
@Column(name = "DendaHarian", nullable = false , length = 100)
|
||||
@Caption(value = "DendaHarian")
|
||||
private Integer dendaHarian ;
|
||||
public Integer getDendaHarian() {
|
||||
return dendaHarian ;
|
||||
}
|
||||
public void setDendaHarian(Integer dendaHarian ) {
|
||||
this.dendaHarian = dendaHarian ;
|
||||
}
|
||||
@Column(name = "JumlahPengembalian", nullable = false, length = 100)
|
||||
@Caption(value = "JumlahPengembalian")
|
||||
private Integer jumlahPengembalian;
|
||||
|
||||
@Column(name = "JumlahDenda", nullable = false , length = 100)
|
||||
@Caption(value = "JumlahDenda")
|
||||
private Integer jumlahDenda ;
|
||||
public Integer getJumlahDenda() {
|
||||
return jumlahDenda ;
|
||||
}
|
||||
public void setJumlahDenda(Integer jumlahDenda ) {
|
||||
this.jumlahDenda = jumlahDenda ;
|
||||
}
|
||||
@Column(name = "DendaHarian", nullable = false, length = 100)
|
||||
@Caption(value = "DendaHarian")
|
||||
private Integer dendaHarian;
|
||||
|
||||
@Column(name = "JumlahDenda", nullable = false, length = 100)
|
||||
@Caption(value = "JumlahDenda")
|
||||
private Integer jumlahDenda;
|
||||
|
||||
}
|
||||
@ -1,23 +1,24 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PengembalianKendaraanDinas_T")
|
||||
public class PengembalianKendaraanDinas extends BaseTransaction {
|
||||
|
||||
private static final long serialVersionUID = 1324950034363575925L;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectStrukOrderFk")
|
||||
private StrukOrder strukOrder;
|
||||
|
||||
@ -46,52 +47,4 @@ public class PengembalianKendaraanDinas extends BaseTransaction {
|
||||
@Caption(value = "Keterangan")
|
||||
private String keterangan;
|
||||
|
||||
public Integer getKmAwal() {
|
||||
return kmAwal;
|
||||
}
|
||||
|
||||
public void setKmAwal(Integer kmAwal) {
|
||||
this.kmAwal = kmAwal;
|
||||
}
|
||||
|
||||
public Integer getKmTerakhir() {
|
||||
return kmTerakhir;
|
||||
}
|
||||
|
||||
public void setKmTerakhir(Integer kmTerakhir) {
|
||||
this.kmTerakhir = kmTerakhir;
|
||||
}
|
||||
|
||||
public KondisiKendaraan getKondisiKendaraan() {
|
||||
return kondisiKendaraan;
|
||||
}
|
||||
|
||||
public void setKondisiKendaraan(KondisiKendaraan kondisiKendaraan) {
|
||||
this.kondisiKendaraan = kondisiKendaraan;
|
||||
}
|
||||
|
||||
public Integer getKondisiKendaraanId() {
|
||||
return kondisiKendaraanId;
|
||||
}
|
||||
|
||||
public void setKondisiKendaraanId(Integer kondisiKendaraanId) {
|
||||
this.kondisiKendaraanId = kondisiKendaraanId;
|
||||
}
|
||||
|
||||
public String getKeterangan() {
|
||||
return keterangan;
|
||||
}
|
||||
|
||||
public void setKeterangan(String keterangan) {
|
||||
this.keterangan = keterangan;
|
||||
}
|
||||
|
||||
public StrukOrder getStrukOrder() {
|
||||
return strukOrder;
|
||||
}
|
||||
|
||||
public void setStrukOrder(StrukOrder strukOrder) {
|
||||
this.strukOrder = strukOrder;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,71 +1,40 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "Pengendali_M")
|
||||
public class Pengendali extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Pengendali boleh kosong")
|
||||
@Caption(value = "Pengendali")
|
||||
@Column(name = "Pengendali", nullable = true, length = 200)
|
||||
@Column(name = "Pengendali", length = 200)
|
||||
private String namaPengendali;
|
||||
|
||||
@NotNull(message = "Kode Pengendali tidak boleh kosong")
|
||||
@Caption(value = "Kode Pengendali")
|
||||
@Column(name = "KodePengendali", nullable = true, length = 50)
|
||||
@Column(name = "KodePengendali", length = 50)
|
||||
private String kodePengendali;
|
||||
|
||||
@NotNull(message = "Keterangan tidak boleh kosong")
|
||||
@Caption(value = "Keterangan")
|
||||
@Column(name = "Keterangan", nullable = true, length = 200)
|
||||
@Column(name = "Keterangan", length = 200)
|
||||
private String ketPengendali;
|
||||
|
||||
public String getNamaPengendali() {
|
||||
return namaPengendali;
|
||||
}
|
||||
|
||||
public void setNamaPengendali(String namaPengendali) {
|
||||
this.namaPengendali = namaPengendali;
|
||||
}
|
||||
|
||||
public String getKodePengendali() {
|
||||
return kodePengendali;
|
||||
}
|
||||
|
||||
public void setKodePengendali(String kodePengendali) {
|
||||
this.kodePengendali = kodePengendali;
|
||||
}
|
||||
|
||||
public String getKetPengendali() {
|
||||
return ketPengendali;
|
||||
}
|
||||
|
||||
public void setKetPengendali(String ketPengendali) {
|
||||
this.ketPengendali = ketPengendali;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.pengendali_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.pengendali_m_id_seq", sequenceName = "public.pengendali_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.pengendali_m_id_seq")
|
||||
@SequenceGenerator(name = "public.pengendali_m_id_seq", sequenceName = "public.pengendali_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,35 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class penggunaanobat
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_penggunaanobat_M")
|
||||
public class PenggunaanObat extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Name tidak boleh kosong")
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.penggunaanobat_m_id_seq")
|
||||
@SequenceGenerator(name = "public.penggunaanobat_m_id_seq", sequenceName = "public.penggunaanobat_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
}
|
||||
@ -1,65 +1,40 @@
|
||||
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.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class PenghasilanTidakKenaPajak
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PenghasilanTidakKenaPajak_M")
|
||||
public class PenghasilanTidakKenaPajak extends BaseMaster {
|
||||
@Column(name = "Deskripsi", nullable = true, length = 150)
|
||||
|
||||
@Column(name = "Deskripsi", length = 150)
|
||||
@Caption(value = "Deskripsi")
|
||||
private String deskripsi;
|
||||
|
||||
public void setDeskripsi(String deskripsi) {
|
||||
this.deskripsi = deskripsi;
|
||||
}
|
||||
|
||||
public String getDeskripsi() {
|
||||
return this.deskripsi;
|
||||
}
|
||||
|
||||
@NotNull(message = "Kd P T K P tidak boleh kosong")
|
||||
@Column(name = "KdPTKP", nullable = false)
|
||||
@Caption(value = "Kode P T K P")
|
||||
private Byte kdPTKP;
|
||||
|
||||
public void setKdPTKP(Byte kdPTKP) {
|
||||
this.kdPTKP = kdPTKP;
|
||||
}
|
||||
|
||||
public Byte getKdPTKP() {
|
||||
return this.kdPTKP;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectStatusPerkawinanFk")
|
||||
|
||||
@Caption(value = "Object Status Perkawinan")
|
||||
private StatusPerkawinan statusPerkawinan;
|
||||
|
||||
public void setStatusPerkawinan(StatusPerkawinan statusPerkawinan) {
|
||||
this.statusPerkawinan = statusPerkawinan;
|
||||
}
|
||||
|
||||
public StatusPerkawinan getStatusPerkawinan() {
|
||||
return this.statusPerkawinan;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectStatusPerkawinanFk", insertable = false, updatable = false)
|
||||
private Integer statusPerkawinanId;
|
||||
|
||||
@ -68,64 +43,24 @@ public class PenghasilanTidakKenaPajak extends BaseMaster {
|
||||
@Caption(value = "QP T K P")
|
||||
private Byte qPTKP;
|
||||
|
||||
public void setqPTKP(Byte qPTKP) {
|
||||
this.qPTKP = qPTKP;
|
||||
}
|
||||
|
||||
public Byte getqPTKP() {
|
||||
return this.qPTKP;
|
||||
}
|
||||
|
||||
@Column(name = "QtyAnak", nullable = true)
|
||||
@Column(name = "QtyAnak")
|
||||
@Caption(value = "Qty Anak")
|
||||
private Byte qtyAnak;
|
||||
|
||||
public void setqtyAnak(Byte qtyAnak) {
|
||||
this.qtyAnak = qtyAnak;
|
||||
}
|
||||
|
||||
public Byte getqtyAnak() {
|
||||
return this.qtyAnak;
|
||||
}
|
||||
|
||||
@NotNull(message = "Status P T K P tidak boleh kosong")
|
||||
@Column(name = "StatusPTKP", nullable = false, length = 75)
|
||||
@Caption(value = "Status P T K P")
|
||||
private String statusPTKP;
|
||||
|
||||
public void setStatusPTKP(String statusPTKP) {
|
||||
this.statusPTKP = statusPTKP;
|
||||
}
|
||||
|
||||
public String getStatusPTKP() {
|
||||
return this.statusPTKP;
|
||||
}
|
||||
|
||||
@NotNull(message = "Total Harga P T K P tidak boleh kosong")
|
||||
@Column(name = "TotalHargaPTKP", nullable = false)
|
||||
@Caption(value = "Total Harga P T K P")
|
||||
private Double totalHargaPTKP;
|
||||
|
||||
public void setTotalHargaPTKP(Double totalHargaPTKP) {
|
||||
this.totalHargaPTKP = totalHargaPTKP;
|
||||
}
|
||||
|
||||
public Double getTotalHargaPTKP() {
|
||||
return this.totalHargaPTKP;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.penghasilantidakkenapajak_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.penghasilantidakkenapajak_m_id_seq", sequenceName = "public.penghasilantidakkenapajak_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.penghasilantidakkenapajak_m_id_seq")
|
||||
@SequenceGenerator(name = "public.penghasilantidakkenapajak_m_id_seq", sequenceName = "public.penghasilantidakkenapajak_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,69 +1,43 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonManagedReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import static javax.persistence.CascadeType.ALL;
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
/**
|
||||
* class PosisiRahim
|
||||
* class PosisiRahim
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PenghitunganKassaDanAlatOperasi_T")
|
||||
public class PenghitunganKassaDanAlatOperasi extends BaseTransaction {
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPasienFk")
|
||||
@NotNull(message = "Pasien tidak boleh kosong")
|
||||
private AntrianPasienDiPeriksa pasienDaftar;
|
||||
|
||||
private AntrianPasienDiPeriksa pasienDaftar;
|
||||
|
||||
@Column(name = "ObjectPasienFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = false)
|
||||
private String pasienId;
|
||||
|
||||
|
||||
@JsonManagedReference
|
||||
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "penghitunganKassaDanAlatOperasi")
|
||||
private Set<DetailAlatYangDigunakan> detailAlatYangDigunakan=new HashSet<DetailAlatYangDigunakan>();
|
||||
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "penghitunganKassaDanAlatOperasi")
|
||||
private Set<DetailAlatYangDigunakan> detailAlatYangDigunakan = new HashSet<>();
|
||||
|
||||
@JsonManagedReference
|
||||
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "penghitunganKassaDanAlatOperasi")
|
||||
private Set<DetailDokterOperasi> detailDokterOperasi=new HashSet<DetailDokterOperasi>();
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "penghitunganKassaDanAlatOperasi")
|
||||
private Set<DetailDokterOperasi> detailDokterOperasi = new HashSet<>();
|
||||
|
||||
public Set<DetailAlatYangDigunakan> getDetailAlatYangDigunakan() {
|
||||
return detailAlatYangDigunakan;
|
||||
}
|
||||
|
||||
public void setDetailAlatYangDigunakan(Set<DetailAlatYangDigunakan> detailAlatYangDigunakan) {
|
||||
this.detailAlatYangDigunakan = detailAlatYangDigunakan;
|
||||
}
|
||||
|
||||
public Set<DetailDokterOperasi> getDetailDokterOperasi() {
|
||||
return detailDokterOperasi;
|
||||
}
|
||||
|
||||
public void setDetailDokterOperasi(Set<DetailDokterOperasi> detailDokterOperasi) {
|
||||
this.detailDokterOperasi = detailDokterOperasi;
|
||||
}
|
||||
|
||||
public AntrianPasienDiPeriksa getPasienDaftar() {
|
||||
return pasienDaftar;
|
||||
}
|
||||
|
||||
public void setPasienDaftar(AntrianPasienDiPeriksa pasienDaftar) {
|
||||
this.pasienDaftar = pasienDaftar;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,16 +1,15 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.Date;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PengirimanBarang_T")
|
||||
public class PengirimanBarang extends BaseTransaction {
|
||||
@ -36,36 +35,4 @@ public class PengirimanBarang extends BaseTransaction {
|
||||
@Caption(value = "Berat Linen Kotor")
|
||||
private Float beratLinenKotor;
|
||||
|
||||
public Date getTglPengiriman() {
|
||||
return tglPengiriman;
|
||||
}
|
||||
|
||||
public void setTglPengiriman(Date tglPengiriman) {
|
||||
this.tglPengiriman = tglPengiriman;
|
||||
}
|
||||
|
||||
public Float getBeratLinenKotor() {
|
||||
return beratLinenKotor;
|
||||
}
|
||||
|
||||
public void setBeratLinenKotor(Float beratLinenKotor) {
|
||||
this.beratLinenKotor = beratLinenKotor;
|
||||
}
|
||||
|
||||
public Date getTgl() {
|
||||
return tgl;
|
||||
}
|
||||
|
||||
public void setTgl(Date tgl) {
|
||||
this.tgl = tgl;
|
||||
}
|
||||
|
||||
public Ruangan getRuangan() {
|
||||
return ruangan;
|
||||
}
|
||||
|
||||
public void setRuangan(Ruangan ruangan) {
|
||||
this.ruangan = ruangan;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,112 +1,53 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.persistence.CascadeType;
|
||||
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.OneToMany;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import static javax.persistence.CascadeType.ALL;
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name="PengkajianAwal_M")
|
||||
public class PengkajianAwal extends BaseMaster{
|
||||
|
||||
@Table(name = "PengkajianAwal_M")
|
||||
public class PengkajianAwal extends BaseMaster {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.pengkajianawal_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.pengkajianawal_id_seq", sequenceName = "public.pengkajianawal_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.pengkajianawal_id_seq")
|
||||
@SequenceGenerator(name = "public.pengkajianawal_id_seq", sequenceName = "public.pengkajianawal_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
@Caption(value="Nama")
|
||||
@Column(name="Nama", nullable=true)
|
||||
@Caption(value = "Nama")
|
||||
@Column(name = "Nama")
|
||||
private String nama;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@Caption(value="Head Pengkajian Awal")
|
||||
@JoinColumn(name="headPengkajianAwalFk")
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@Caption(value = "Head Pengkajian Awal")
|
||||
@JoinColumn(name = "headPengkajianAwalFk")
|
||||
private PengkajianAwal headPengkajianAwal;
|
||||
|
||||
@Column(name="headPengkajianAwalFk", insertable=false, updatable=false, nullable=true)
|
||||
|
||||
@Column(name = "headPengkajianAwalFk", insertable = false, updatable = false)
|
||||
private Integer headPengkajianAwalId;
|
||||
|
||||
@Caption(value="Desc/Nilai")
|
||||
@Column(name="DescNilai", nullable=true)
|
||||
|
||||
@Caption(value = "Desc/Nilai")
|
||||
@Column(name = "DescNilai")
|
||||
private String descNilai;
|
||||
|
||||
@Caption(value="NoUrut")
|
||||
@Column(name="NoUrut", nullable=true)
|
||||
|
||||
@Caption(value = "NoUrut")
|
||||
@Column(name = "NoUrut")
|
||||
private Integer noUrut;
|
||||
|
||||
|
||||
@JsonBackReference
|
||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "headPengkajianAwal")
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "headPengkajianAwal")
|
||||
private Set<PengkajianAwal> pengkajianAwal = new HashSet<>();
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getNama() {
|
||||
return nama;
|
||||
}
|
||||
|
||||
public void setNama(String nama) {
|
||||
this.nama = nama;
|
||||
}
|
||||
|
||||
public PengkajianAwal getHeadPengkajianAwal() {
|
||||
return headPengkajianAwal;
|
||||
}
|
||||
|
||||
public void setHeadPengkajianAwal(PengkajianAwal headPengkajianAwal) {
|
||||
this.headPengkajianAwal = headPengkajianAwal;
|
||||
}
|
||||
|
||||
public Integer getHeadPengkajianAwalId() {
|
||||
return headPengkajianAwalId;
|
||||
}
|
||||
|
||||
public void setHeadPengkajianAwalId(Integer headPengkajianAwalId) {
|
||||
this.headPengkajianAwalId = headPengkajianAwalId;
|
||||
}
|
||||
|
||||
public String getDescNilai() {
|
||||
return descNilai;
|
||||
}
|
||||
|
||||
public void setDescNilai(String descNilai) {
|
||||
this.descNilai = descNilai;
|
||||
}
|
||||
|
||||
public Integer getNoUrut() {
|
||||
return noUrut;
|
||||
}
|
||||
|
||||
public void setNoUrut(Integer noUrut) {
|
||||
this.noUrut = noUrut;
|
||||
}
|
||||
|
||||
public Set<PengkajianAwal> getPengkajianAwal() {
|
||||
return pengkajianAwal;
|
||||
}
|
||||
|
||||
public void setPengkajianAwal(Set<PengkajianAwal> pengkajianAwal) {
|
||||
this.pengkajianAwal = pengkajianAwal;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,116 +1,53 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.Date;
|
||||
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name="PengkajianAwalBaru_T")
|
||||
@Table(name = "PengkajianAwalBaru_T")
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class PengkajianAwalBaru extends BaseTransaction{
|
||||
|
||||
@Caption(value="KdPap")
|
||||
@Column(name="KdPap")
|
||||
public class PengkajianAwalBaru extends BaseTransaction {
|
||||
|
||||
@Caption(value = "KdPap")
|
||||
@Column(name = "KdPap")
|
||||
private String kdPap;
|
||||
|
||||
@Caption(value="Tanggal Registrasi")
|
||||
@Column(name="TglRegistrasi")
|
||||
|
||||
@Caption(value = "Tanggal Registrasi")
|
||||
@Column(name = "TglRegistrasi")
|
||||
private Date tglRegistrasi;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@Caption(value="Object Ruangan Fk")
|
||||
@JoinColumn(name="ObjectRuanganFk")
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@Caption(value = "Object Ruangan Fk")
|
||||
@JoinColumn(name = "ObjectRuanganFk")
|
||||
private Ruangan ruangan;
|
||||
|
||||
@Column(name="ObjectRuanganFk", insertable=false, updatable=false, nullable=false)
|
||||
|
||||
@Column(name = "ObjectRuanganFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer ruanganId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@Caption(value="Object Pasien Fk")
|
||||
@JoinColumn(name="ObjectPasienFk")
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@Caption(value = "Object Pasien Fk")
|
||||
@JoinColumn(name = "ObjectPasienFk")
|
||||
private Pasien pasien;
|
||||
|
||||
@Column(name="ObjectPasienFk", insertable=false, updatable=false, nullable=false)
|
||||
private Integer pasienId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@Caption(value="Object No Registrasi")
|
||||
@JoinColumn(name="ObjectNoRegistrasiFk")
|
||||
|
||||
@Column(name = "ObjectPasienFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer pasienId;
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@Caption(value = "Object No Registrasi")
|
||||
@JoinColumn(name = "ObjectNoRegistrasiFk")
|
||||
private AntrianPasienDiPeriksa noRegistrasi;
|
||||
|
||||
@Column(name="ObjectNoRegistrasiFk", insertable=false, updatable=false, nullable=true)
|
||||
private String noRegistrasiId;
|
||||
|
||||
public String getKdPap() {
|
||||
return kdPap;
|
||||
}
|
||||
|
||||
public void setKdPap(String kdPap) {
|
||||
this.kdPap = kdPap;
|
||||
}
|
||||
|
||||
public Date getTglRegistrasi() {
|
||||
return tglRegistrasi;
|
||||
}
|
||||
|
||||
public void setTglRegistrasi(Date tglRegistrasi) {
|
||||
this.tglRegistrasi = tglRegistrasi;
|
||||
}
|
||||
|
||||
public Ruangan getRuangan() {
|
||||
return ruangan;
|
||||
}
|
||||
|
||||
public void setRuangan(Ruangan ruangan) {
|
||||
this.ruangan = ruangan;
|
||||
}
|
||||
|
||||
public Integer getRuanganId() {
|
||||
return ruanganId;
|
||||
}
|
||||
|
||||
public void setRuanganId(Integer ruanganId) {
|
||||
this.ruanganId = ruanganId;
|
||||
}
|
||||
|
||||
public Pasien getPasien() {
|
||||
return pasien;
|
||||
}
|
||||
|
||||
public void setPasien(Pasien pasien) {
|
||||
this.pasien = pasien;
|
||||
}
|
||||
|
||||
public Integer getPasienId() {
|
||||
return pasienId;
|
||||
}
|
||||
|
||||
public void setPasienId(Integer pasienId) {
|
||||
this.pasienId = pasienId;
|
||||
}
|
||||
|
||||
public AntrianPasienDiPeriksa getNoRegistrasi() {
|
||||
return noRegistrasi;
|
||||
}
|
||||
|
||||
public void setNoRegistrasi(AntrianPasienDiPeriksa noRegistrasi) {
|
||||
this.noRegistrasi = noRegistrasi;
|
||||
}
|
||||
|
||||
public String getNoRegistrasiId() {
|
||||
return noRegistrasiId;
|
||||
}
|
||||
|
||||
public void setNoRegistrasiId(String noRegistrasiId) {
|
||||
this.noRegistrasiId = noRegistrasiId;
|
||||
}
|
||||
@Column(name = "ObjectNoRegistrasiFk", insertable = false, updatable = false)
|
||||
private String noRegistrasiId;
|
||||
|
||||
}
|
||||
|
||||
@ -1,44 +1,45 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.Table;
|
||||
import static javax.persistence.CascadeType.ALL;
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PengkajianAwalPsikologi_T")
|
||||
public class PengkajianAwalPsikologi extends MedicalRecordTransaction {
|
||||
|
||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "pengkajianAwalPsikologi")
|
||||
private Set<RiwayatPerkembangan> riwayatPerkembangan = new HashSet<RiwayatPerkembangan>();
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "pengkajianAwalPsikologi")
|
||||
private Set<RiwayatPerkembangan> riwayatPerkembangan = new HashSet<>();
|
||||
|
||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "pengkajianAwalPsikologi")
|
||||
private Set<RiwayatPendidikanFormal> riwayatPendidikanFormal = new HashSet<RiwayatPendidikanFormal>();
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "pengkajianAwalPsikologi")
|
||||
private Set<RiwayatPendidikanFormal> riwayatPendidikanFormal = new HashSet<>();
|
||||
|
||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "pengkajianAwalPsikologi")
|
||||
private Set<RiwayatPendidikanNonFormal> riwayatPendidikanNonFormal = new HashSet<RiwayatPendidikanNonFormal>();
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "pengkajianAwalPsikologi")
|
||||
private Set<RiwayatPendidikanNonFormal> riwayatPendidikanNonFormal = new HashSet<>();
|
||||
|
||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "pengkajianAwalPsikologi")
|
||||
private Set<PengalamanOrganisasi> pengalamanOrganisasi = new HashSet<PengalamanOrganisasi>();
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "pengkajianAwalPsikologi")
|
||||
private Set<PengalamanOrganisasi> pengalamanOrganisasi = new HashSet<>();
|
||||
|
||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "pengkajianAwalPsikologi")
|
||||
private Set<AsesmenPsikologis> asesmenPsikologis = new HashSet<AsesmenPsikologis>();
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "pengkajianAwalPsikologi")
|
||||
private Set<AsesmenPsikologis> asesmenPsikologis = new HashSet<>();
|
||||
|
||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "pengkajianAwalPsikologi")
|
||||
private Set<ProfilSensori> profilSensori = new HashSet<ProfilSensori>();
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "pengkajianAwalPsikologi")
|
||||
private Set<ProfilSensori> profilSensori = new HashSet<>();
|
||||
|
||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "pengkajianAwalPsikologi")
|
||||
private Set<KesanPsikologisDiagnosis> kesanPsikologis = new HashSet<KesanPsikologisDiagnosis>();
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "pengkajianAwalPsikologi")
|
||||
private Set<KesanPsikologisDiagnosis> kesanPsikologis = new HashSet<>();
|
||||
|
||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "pengkajianAwalPsikologi")
|
||||
private Set<TesPsikologi> tesPsikologi = new HashSet<TesPsikologi>();
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "pengkajianAwalPsikologi")
|
||||
private Set<TesPsikologi> tesPsikologi = new HashSet<>();
|
||||
|
||||
@Column(name = "analisis")
|
||||
@Caption(value = "Analisis/Psikodinamika")
|
||||
@ -52,92 +53,4 @@ public class PengkajianAwalPsikologi extends MedicalRecordTransaction {
|
||||
@Caption(value = "Rencana Program dan Intervensi")
|
||||
private String rencana;
|
||||
|
||||
public Set<RiwayatPerkembangan> getRiwayatPerkembangan() {
|
||||
return riwayatPerkembangan;
|
||||
}
|
||||
|
||||
public void setRiwayatPerkembangan(Set<RiwayatPerkembangan> riwayatPerkembangan) {
|
||||
this.riwayatPerkembangan = riwayatPerkembangan;
|
||||
}
|
||||
|
||||
public Set<RiwayatPendidikanFormal> getRiwayatPendidikanFormal() {
|
||||
return riwayatPendidikanFormal;
|
||||
}
|
||||
|
||||
public void setRiwayatPendidikanFormal(Set<RiwayatPendidikanFormal> riwayatPendidikanFormal) {
|
||||
this.riwayatPendidikanFormal = riwayatPendidikanFormal;
|
||||
}
|
||||
|
||||
public Set<RiwayatPendidikanNonFormal> getRiwayatPendidikanNonFormal() {
|
||||
return riwayatPendidikanNonFormal;
|
||||
}
|
||||
|
||||
public void setRiwayatPendidikanNonFormal(Set<RiwayatPendidikanNonFormal> riwayatPendidikanNonFormal) {
|
||||
this.riwayatPendidikanNonFormal = riwayatPendidikanNonFormal;
|
||||
}
|
||||
|
||||
public Set<PengalamanOrganisasi> getPengalamanOrganisasi() {
|
||||
return pengalamanOrganisasi;
|
||||
}
|
||||
|
||||
public void setPengalamanOrganisasi(Set<PengalamanOrganisasi> pengalamanOrganisasi) {
|
||||
this.pengalamanOrganisasi = pengalamanOrganisasi;
|
||||
}
|
||||
|
||||
public Set<AsesmenPsikologis> getAsesmenPsikologis() {
|
||||
return asesmenPsikologis;
|
||||
}
|
||||
|
||||
public void setAsesmenPsikologis(Set<AsesmenPsikologis> asesmenPsikologis) {
|
||||
this.asesmenPsikologis = asesmenPsikologis;
|
||||
}
|
||||
|
||||
public Set<ProfilSensori> getProfilSensori() {
|
||||
return profilSensori;
|
||||
}
|
||||
|
||||
public void setProfilSensori(Set<ProfilSensori> profilSensori) {
|
||||
this.profilSensori = profilSensori;
|
||||
}
|
||||
|
||||
public String getAnalisis() {
|
||||
return analisis;
|
||||
}
|
||||
|
||||
public void setAnalisis(String analisis) {
|
||||
this.analisis = analisis;
|
||||
}
|
||||
|
||||
public String getPsikokonseling() {
|
||||
return psikokonseling;
|
||||
}
|
||||
|
||||
public void setPsikokonseling(String psikokonseling) {
|
||||
this.psikokonseling = psikokonseling;
|
||||
}
|
||||
|
||||
public String getRencana() {
|
||||
return rencana;
|
||||
}
|
||||
|
||||
public void setRencana(String rencana) {
|
||||
this.rencana = rencana;
|
||||
}
|
||||
|
||||
public Set<KesanPsikologisDiagnosis> getKesanPsikologis() {
|
||||
return kesanPsikologis;
|
||||
}
|
||||
|
||||
public void setKesanPsikologis(Set<KesanPsikologisDiagnosis> kesanPsikologis) {
|
||||
this.kesanPsikologis = kesanPsikologis;
|
||||
}
|
||||
|
||||
public Set<TesPsikologi> getTesPsikologi() {
|
||||
return tesPsikologi;
|
||||
}
|
||||
|
||||
public void setTesPsikologi(Set<TesPsikologi> tesPsikologi) {
|
||||
this.tesPsikologi = tesPsikologi;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,82 +1,42 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.Table;
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import static javax.persistence.CascadeType.ALL;
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name="PengkajianAwalTransaksi_T")
|
||||
public class PengkajianAwalTransaksi extends BaseTransaction{
|
||||
@Table(name = "PengkajianAwalTransaksi_T")
|
||||
public class PengkajianAwalTransaksi extends BaseTransaction {
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@Caption(value = "pengkajianAwalBaru")
|
||||
@JoinColumn(name = "ObjectPengkajianAwalBaruFk")
|
||||
private PengkajianAwalBaru pengkajianAwalBaru;
|
||||
|
||||
@Column(name = "ObjectPengkajianAwalBaruFk", insertable=false, updatable=false, nullable=true)
|
||||
|
||||
@Column(name = "ObjectPengkajianAwalBaruFk", insertable = false, updatable = false)
|
||||
private String pengkajianAwalBaruId;
|
||||
|
||||
|
||||
@JsonBackReference
|
||||
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "pengkajianAwalTransaksi")
|
||||
Set<DetailPengkajianAwal> detailPengkajianAwal = new HashSet<>();
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "pengkajianAwalTransaksi")
|
||||
private Set<DetailPengkajianAwal> detailPengkajianAwal = new HashSet<>();
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@Caption(value = "pengkajianLanjutan")
|
||||
@JoinColumn(name = "ObjectPengkajianLanjutanFk")
|
||||
private PengkajianAwalBaru pengkajianLanjutan;
|
||||
|
||||
@Column(name = "ObjectPengkajianLanjutanFk", insertable=false, updatable=false, nullable=true)
|
||||
|
||||
@Column(name = "ObjectPengkajianLanjutanFk", insertable = false, updatable = false)
|
||||
private String pengkajianLanjutanId;
|
||||
|
||||
public PengkajianAwalBaru getPengkajianAwalBaru() {
|
||||
return pengkajianAwalBaru;
|
||||
}
|
||||
|
||||
public void setPengkajianAwalBaru(PengkajianAwalBaru pengkajianAwalBaru) {
|
||||
this.pengkajianAwalBaru = pengkajianAwalBaru;
|
||||
}
|
||||
|
||||
public String getPengkajianAwalBaruId() {
|
||||
return pengkajianAwalBaruId;
|
||||
}
|
||||
|
||||
public void setPengkajianAwalBaruId(String pengkajianAwalBaruId) {
|
||||
this.pengkajianAwalBaruId = pengkajianAwalBaruId;
|
||||
}
|
||||
|
||||
public Set<DetailPengkajianAwal> getDetailPengkajianAwal() {
|
||||
return detailPengkajianAwal;
|
||||
}
|
||||
|
||||
public void setDetailPengkajianAwal(Set<DetailPengkajianAwal> detailPengkajianAwal) {
|
||||
this.detailPengkajianAwal = detailPengkajianAwal;
|
||||
}
|
||||
|
||||
public PengkajianAwalBaru getPengkajianLanjutan() {
|
||||
return pengkajianLanjutan;
|
||||
}
|
||||
|
||||
public void setPengkajianLanjutan(PengkajianAwalBaru pengkajianLanjutan) {
|
||||
this.pengkajianLanjutan = pengkajianLanjutan;
|
||||
}
|
||||
|
||||
public String getPengkajianLanjutanId() {
|
||||
return pengkajianLanjutanId;
|
||||
}
|
||||
|
||||
public void setPengkajianLanjutanId(String pengkajianLanjutanId) {
|
||||
this.pengkajianLanjutanId = pengkajianLanjutanId;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -1,84 +1,42 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import static javax.persistence.CascadeType.ALL;
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name="PengkajianKebutuhanDasar_T")
|
||||
public class PengkajianKebutuhanDasar extends BaseTransaction{
|
||||
@Table(name = "PengkajianKebutuhanDasar_T")
|
||||
public class PengkajianKebutuhanDasar extends BaseTransaction {
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@Caption(value = "antrianPasienDiPeriksa")
|
||||
@JoinColumn(name = "ObjectantrianPasienDiPeriksaFk")
|
||||
private AntrianPasienDiPeriksa antrianPasienDiPeriksa;
|
||||
|
||||
private AntrianPasienDiPeriksa antrianPasienDiPeriksa;
|
||||
|
||||
@Column(name = "ObjectantrianPasienDiPeriksaFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String antrianPasienDiPeriksaId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@Caption(value = "pengkajianAwalBaru")
|
||||
@JoinColumn(name = "ObjectPengkajianAwalBaruFk")
|
||||
private PengkajianAwalBaru pengkajianAwalBaru;
|
||||
|
||||
|
||||
@Column(name = "ObjectPengkajianAwalBaruFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String pengkajianAwalBaruId;
|
||||
|
||||
|
||||
@JsonBackReference
|
||||
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "pengkajianKebutuhanDasar")
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "pengkajianKebutuhanDasar")
|
||||
private Set<MapPengkajianKebutuhanDasar> kebutuhanDasar = new HashSet<>();
|
||||
|
||||
public AntrianPasienDiPeriksa getAntrianPasienDiPeriksa() {
|
||||
return antrianPasienDiPeriksa;
|
||||
}
|
||||
|
||||
public void setAntrianPasienDiPeriksa(AntrianPasienDiPeriksa antrianPasienDiPeriksa) {
|
||||
this.antrianPasienDiPeriksa = antrianPasienDiPeriksa;
|
||||
}
|
||||
|
||||
public String getAntrianPasienDiPeriksaId() {
|
||||
return antrianPasienDiPeriksaId;
|
||||
}
|
||||
|
||||
public void setAntrianPasienDiPeriksaId(String antrianPasienDiPeriksaId) {
|
||||
this.antrianPasienDiPeriksaId = antrianPasienDiPeriksaId;
|
||||
}
|
||||
|
||||
public PengkajianAwalBaru getPengkajianAwalBaru() {
|
||||
return pengkajianAwalBaru;
|
||||
}
|
||||
|
||||
public void setPengkajianAwalBaru(PengkajianAwalBaru pengkajianAwalBaru) {
|
||||
this.pengkajianAwalBaru = pengkajianAwalBaru;
|
||||
}
|
||||
|
||||
public String getPengkajianAwalBaruId() {
|
||||
return pengkajianAwalBaruId;
|
||||
}
|
||||
|
||||
public void setPengkajianAwalBaruId(String pengkajianAwalBaruId) {
|
||||
this.pengkajianAwalBaruId = pengkajianAwalBaruId;
|
||||
}
|
||||
|
||||
public Set<MapPengkajianKebutuhanDasar> getKebutuhanDasar() {
|
||||
return kebutuhanDasar;
|
||||
}
|
||||
|
||||
public void setKebutuhanDasar(Set<MapPengkajianKebutuhanDasar> kebutuhanDasar) {
|
||||
this.kebutuhanDasar = kebutuhanDasar;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,50 +1,35 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import org.hibernate.envers.Audited;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class PengobatanKhususCheckIn
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_PengobatanKhusus_M")
|
||||
public class PengobatanKhusus extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Name tidak boleh kosong")
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.pengobatankhusus_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.pengobatankhusus_m_id_seq", sequenceName = "public.pengobatankhusus_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.pengobatankhusus_m_id_seq")
|
||||
@SequenceGenerator(name = "public.pengobatankhusus_m_id_seq", sequenceName = "public.pengobatankhusus_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,50 +1,35 @@
|
||||
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 javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import org.hibernate.envers.Audited;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class PengobatanKhususCheckIn
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_PengobatanKhususCheckIn_M")
|
||||
public class PengobatanKhususCheckIn extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Name tidak boleh kosong")
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.pengobatankhususcheckin_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.pengobatankhususcheckin_m_id_seq", sequenceName = "public.pengobatankhususcheckin_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.pengobatankhususcheckin_m_id_seq")
|
||||
@SequenceGenerator(name = "public.pengobatankhususcheckin_m_id_seq", sequenceName = "public.pengobatankhususcheckin_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,61 +1,29 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import org.hibernate.envers.Audited;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
|
||||
@Entity
|
||||
//@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PengobatanKhusus_T")
|
||||
public class PengobatanKhususDetail extends BaseTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "PengobatanKhususFk")
|
||||
@NotNull(message = "Pengobatan Khusus tidak boleh kosong")
|
||||
private PengobatanKhususCheckIn pengobatanKhusus;
|
||||
|
||||
// @Column(name = "PengobatanKhususFk", insertable=false,updatable=false)
|
||||
// private Integer pengobatanKhususId;
|
||||
@Column(name = "value", nullable = true)
|
||||
|
||||
@Column(name = "value")
|
||||
private String value;
|
||||
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "CheckInFk")
|
||||
@NotNull(message = "CheckIn tidak boleh kosong")
|
||||
private CheckIn checkIn;
|
||||
|
||||
|
||||
|
||||
public PengobatanKhususCheckIn getPengobatanKhusus() {
|
||||
return pengobatanKhusus;
|
||||
}
|
||||
|
||||
public void setPengobatanKhusus(PengobatanKhususCheckIn pengobatanKhusus) {
|
||||
this.pengobatanKhusus = pengobatanKhusus;
|
||||
}
|
||||
|
||||
public CheckIn getCheckIn() {
|
||||
return checkIn;
|
||||
}
|
||||
|
||||
public void setCheckIn(CheckIn checkIn) {
|
||||
this.checkIn = checkIn;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -1,50 +1,35 @@
|
||||
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 javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import org.hibernate.envers.Audited;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class PengobatanKhususCheckIn
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_PengobatanKhususSignIn_M")
|
||||
public class PengobatanKhususSignIn extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Name tidak boleh kosong")
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.pengobatankhusussignin_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.pengobatankhusussignin_m_id_seq", sequenceName = "public.pengobatankhusussignin_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.pengobatankhusussignin_m_id_seq")
|
||||
@SequenceGenerator(name = "public.pengobatankhusussignin_m_id_seq", sequenceName = "public.pengobatankhusussignin_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,20 +1,18 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.Date;
|
||||
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PengukuranKebisingan_M")
|
||||
public class PengukuranKebisingan extends BaseMaster {
|
||||
@ -23,132 +21,39 @@ public class PengukuranKebisingan extends BaseMaster {
|
||||
@Column(name = "Tanggal")
|
||||
private Date tanggal;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@Caption(value = "Tanggal")
|
||||
@JoinColumn(name = "ObjectNamaRuanganFk")
|
||||
private Ruangan namaRuangan;
|
||||
|
||||
//date : 17.09.2018
|
||||
//by : iwan kasan
|
||||
//ada permintaan dari K3KL
|
||||
//untuk ruangan diganti dengan edittable
|
||||
//tdk termapping dari master ruangan
|
||||
//nullable = true
|
||||
@Column(name = "ObjectNamaRuanganFk", nullable = true, insertable = false, updatable = false)
|
||||
|
||||
@Column(name = "ObjectNamaRuanganFk", insertable = false, updatable = false)
|
||||
private Integer namaRuanganId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@Caption(value = "Tanggal")
|
||||
@JoinColumn(name = "ObjectBakuMutuFk")
|
||||
private BakuMutu bakuMutu;
|
||||
|
||||
//date : 17.09.2018
|
||||
//by : iwan kasan
|
||||
//ada permintaan dari K3KL
|
||||
//untuk ruangan diganti dengan edittable
|
||||
//tdk termapping dari master ruangan
|
||||
//nullable = true
|
||||
@Column(name = "ObjectBakuMutuFk", nullable = true, insertable = false, updatable = false)
|
||||
@Column(name = "ObjectBakuMutuFk", insertable = false, updatable = false)
|
||||
private Integer bakuMutuId;
|
||||
|
||||
@Caption(value = "Hasil Pengukuran")
|
||||
@Column(name = "HasilPengukuran")
|
||||
private Integer hasilPengukuran;
|
||||
|
||||
@Column(name="NilaiBakuMutu")
|
||||
|
||||
@Column(name = "NilaiBakuMutu")
|
||||
private Integer nilaiBakuMutu;
|
||||
|
||||
@Column(name="Keterangan")
|
||||
|
||||
@Column(name = "Keterangan")
|
||||
private String keterangan;
|
||||
|
||||
@Column(name="menutype")
|
||||
@Column(name = "menutype")
|
||||
private String menutype;
|
||||
|
||||
public Date getTanggal() {
|
||||
return tanggal;
|
||||
}
|
||||
|
||||
public void setTanggal(Date tanggal) {
|
||||
this.tanggal = tanggal;
|
||||
}
|
||||
|
||||
public Ruangan getNamaRuangan() {
|
||||
return namaRuangan;
|
||||
}
|
||||
|
||||
public void setNamaRuangan(Ruangan namaRuangan) {
|
||||
this.namaRuangan = namaRuangan;
|
||||
}
|
||||
|
||||
public Integer getNamaRuanganId() {
|
||||
return namaRuanganId;
|
||||
}
|
||||
|
||||
public void setNamaRuanganId(Integer namaRuanganId) {
|
||||
this.namaRuanganId = namaRuanganId;
|
||||
}
|
||||
|
||||
public BakuMutu getBakuMutu() {
|
||||
return bakuMutu;
|
||||
}
|
||||
|
||||
public void setBakuMutu(BakuMutu bakuMutu) {
|
||||
this.bakuMutu = bakuMutu;
|
||||
}
|
||||
|
||||
public Integer getBakuMutuId() {
|
||||
return bakuMutuId;
|
||||
}
|
||||
|
||||
public void setBakuMutuId(Integer bakuMutuId) {
|
||||
this.bakuMutuId = bakuMutuId;
|
||||
}
|
||||
|
||||
public Integer getHasilPengukuran() {
|
||||
return hasilPengukuran;
|
||||
}
|
||||
|
||||
public void setHasilPengukuran(Integer hasilPengukuran) {
|
||||
this.hasilPengukuran = hasilPengukuran;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.pengukurankebisingan_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.pengukurankebisingan_m_id_seq", sequenceName = "public.pengukurankebisingan_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.pengukurankebisingan_m_id_seq")
|
||||
@SequenceGenerator(name = "public.pengukurankebisingan_m_id_seq", sequenceName = "public.pengukurankebisingan_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Integer getNilaiBakuMutu() {
|
||||
return nilaiBakuMutu;
|
||||
}
|
||||
|
||||
public void setNilaiBakuMutu(Integer nilaiBakuMutu) {
|
||||
this.nilaiBakuMutu = nilaiBakuMutu;
|
||||
}
|
||||
|
||||
public String getKeterangan() {
|
||||
return keterangan;
|
||||
}
|
||||
|
||||
public void setKeterangan(String keterangan) {
|
||||
this.keterangan = keterangan;
|
||||
}
|
||||
|
||||
public String getMenutype() {
|
||||
return menutype;
|
||||
}
|
||||
|
||||
public void setMenutype(String menutype) {
|
||||
this.menutype = menutype;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,157 +1,76 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PengukuranKinerjaKegiatan_T")
|
||||
public class PengukuranKinerjaKegiatan extends BaseTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectSasaranStrategisFk")
|
||||
@NotNull(message="Sasaran Strategis tidak boleh kosong")
|
||||
@Caption(value="Sasaran Strategis")
|
||||
@NotNull(message = "Sasaran Strategis tidak boleh kosong")
|
||||
@Caption(value = "Sasaran Strategis")
|
||||
private SasaranStrategis sasaranStrategis;
|
||||
|
||||
@Column(name = "ObjectSasaranStrategisFk", insertable=false,updatable=false, nullable = false)
|
||||
|
||||
@Column(name = "ObjectSasaranStrategisFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer sasaranStrategisId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectProgramFk")
|
||||
@NotNull(message="Program tidak boleh kosong")
|
||||
@Caption(value="Program")
|
||||
@NotNull(message = "Program tidak boleh kosong")
|
||||
@Caption(value = "Program")
|
||||
private Program program;
|
||||
|
||||
@Column(name = "ObjectProgramFk", insertable=false,updatable=false, nullable = false)
|
||||
@Column(name = "ObjectProgramFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer programId;
|
||||
|
||||
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
|
||||
@ManyToOne(fetch= FetchType.LAZY)
|
||||
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectPegawaiFk")
|
||||
@NotNull(message="Pegawai tidak boleh kosong")
|
||||
@Caption(value="Pegawai")
|
||||
@NotNull(message = "Pegawai tidak boleh kosong")
|
||||
@Caption(value = "Pegawai")
|
||||
private Pegawai pegawai;
|
||||
|
||||
@Column(name = "ObjectPegawaiFk", insertable=false,updatable=false, nullable = false)
|
||||
|
||||
@Column(name = "ObjectPegawaiFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer pegawaiId;
|
||||
|
||||
@Column(name = "uraian", nullable = true, length = 200)
|
||||
@Caption(value="Uraian")
|
||||
|
||||
@Column(name = "uraian", length = 200)
|
||||
@Caption(value = "Uraian")
|
||||
private String uraian;
|
||||
|
||||
@Column(name = "Input", nullable = true , length = 200)
|
||||
@Caption(value="Input")
|
||||
|
||||
@Column(name = "Input", length = 200)
|
||||
@Caption(value = "Input")
|
||||
private String input;
|
||||
|
||||
@Column(name = "Output", nullable = true , length = 200)
|
||||
@Caption(value="Output")
|
||||
|
||||
@Column(name = "Output", length = 200)
|
||||
@Caption(value = "Output")
|
||||
private String output;
|
||||
|
||||
@Column(name = "Satuan", nullable = true , length = 200)
|
||||
@Caption(value="Satuan")
|
||||
|
||||
@Column(name = "Satuan", length = 200)
|
||||
@Caption(value = "Satuan")
|
||||
private String satuan;
|
||||
|
||||
@Column(name = "RkwTw1", nullable = true , length = 200)
|
||||
@Caption(value="RKW TW 1")
|
||||
@Column(name = "RkwTw1", length = 200)
|
||||
@Caption(value = "RKW TW 1")
|
||||
private String rkoTw1;
|
||||
|
||||
@Column(name = "RealisasiTw1", nullable = true , length = 200)
|
||||
@Caption(value="Realisasi TW 1")
|
||||
|
||||
@Column(name = "RealisasiTw1", length = 200)
|
||||
@Caption(value = "Realisasi TW 1")
|
||||
private String realisasiTw1;
|
||||
|
||||
@Column(name = "TingkatPencapaianKinerja", nullable = true , length = 200)
|
||||
@Caption(value="Tingkat Pencapaian Kinerja")
|
||||
|
||||
@Column(name = "TingkatPencapaianKinerja", length = 200)
|
||||
@Caption(value = "Tingkat Pencapaian Kinerja")
|
||||
private String tingkatPencapaianKinerja;
|
||||
|
||||
public SasaranStrategis getSasaranStrategis() {
|
||||
return sasaranStrategis;
|
||||
}
|
||||
|
||||
public void setSasaranStrategis(SasaranStrategis sasaranStrategis) {
|
||||
this.sasaranStrategis = sasaranStrategis;
|
||||
}
|
||||
|
||||
public Program getProgram() {
|
||||
return program;
|
||||
}
|
||||
|
||||
public void setProgram(Program program) {
|
||||
this.program = program;
|
||||
}
|
||||
|
||||
public String getUraian() {
|
||||
return uraian;
|
||||
}
|
||||
|
||||
public void setUraian(String uraian) {
|
||||
this.uraian = uraian;
|
||||
}
|
||||
|
||||
public Pegawai getPegawai() {
|
||||
return pegawai;
|
||||
}
|
||||
|
||||
public void setPegawai(Pegawai pegawai) {
|
||||
this.pegawai = pegawai;
|
||||
}
|
||||
|
||||
public String getInput() {
|
||||
return input;
|
||||
}
|
||||
|
||||
public void setInput(String input) {
|
||||
this.input = input;
|
||||
}
|
||||
|
||||
public String getOutput() {
|
||||
return output;
|
||||
}
|
||||
|
||||
public void setOutput(String output) {
|
||||
this.output = output;
|
||||
}
|
||||
|
||||
public String getSatuan() {
|
||||
return satuan;
|
||||
}
|
||||
|
||||
public void setSatuan(String satuan) {
|
||||
this.satuan = satuan;
|
||||
}
|
||||
|
||||
public String getRkoTw1() {
|
||||
return rkoTw1;
|
||||
}
|
||||
|
||||
public void setRkoTw1(String rkoTw1) {
|
||||
this.rkoTw1 = rkoTw1;
|
||||
}
|
||||
|
||||
public String getRealisasiTw1() {
|
||||
return realisasiTw1;
|
||||
}
|
||||
|
||||
public void setRealisasiTw1(String realisasiTw1) {
|
||||
this.realisasiTw1 = realisasiTw1;
|
||||
}
|
||||
|
||||
public String getTingkatPencapaianKinerja() {
|
||||
return tingkatPencapaianKinerja;
|
||||
}
|
||||
|
||||
public void setTingkatPencapaianKinerja(String tingkatPencapaianKinerja) {
|
||||
this.tingkatPencapaianKinerja = tingkatPencapaianKinerja;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -1,103 +1,47 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
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;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name="PengukuranSanitasiKLDetail_M")
|
||||
public class PengukuranSanitasiKLDetail extends BaseMaster{
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@JoinColumn(name="ObjectSanitasiKesehatanLingkunganFk")
|
||||
@Table(name = "PengukuranSanitasiKLDetail_M")
|
||||
public class PengukuranSanitasiKLDetail extends BaseMaster {
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectSanitasiKesehatanLingkunganFk")
|
||||
private SanitasiKesehatanLingkungan sanitasiKesehatanLingkungan;
|
||||
|
||||
@Column(name="ObjectSanitasiKesehatanLingkunganFk", nullable=false, insertable=false, updatable=false)
|
||||
|
||||
@Column(name = "ObjectSanitasiKesehatanLingkunganFk", nullable = false, insertable = false, updatable = false)
|
||||
private String sanitasiKesehatanLingkunganId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@JoinColumn(name="ObjectParameterCheckSanitasiDetailFk")
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectParameterCheckSanitasiDetailFk")
|
||||
private ParameterCheckSanitasiDetail parameterCheckSanitasiDetail;
|
||||
|
||||
@Column(name="ObjectParameterCheckSanitasiDetailFk", nullable=false, insertable=false, updatable=false)
|
||||
|
||||
@Column(name = "ObjectParameterCheckSanitasiDetailFk", nullable = false, insertable = false, updatable = false)
|
||||
private Integer parameterCheckSanitasiDetailId;
|
||||
|
||||
|
||||
@Caption(value = "Hasil Pengukuran")
|
||||
@Column(name = "HasilPengukuran")
|
||||
private Float hasilPengukuran;
|
||||
|
||||
|
||||
@Caption(value = "Keterangan")
|
||||
@Column(name = "Keterangan", nullable = true, length = 100)
|
||||
@Column(name = "Keterangan", length = 100)
|
||||
private String keterangan;
|
||||
|
||||
public SanitasiKesehatanLingkungan getSanitasiKesehatanLingkungan() {
|
||||
return sanitasiKesehatanLingkungan;
|
||||
}
|
||||
|
||||
public void setSanitasiKesehatanLingkungan(SanitasiKesehatanLingkungan sanitasiKesehatanLingkungan) {
|
||||
this.sanitasiKesehatanLingkungan = sanitasiKesehatanLingkungan;
|
||||
}
|
||||
|
||||
public ParameterCheckSanitasiDetail getParameterCheckSanitasiDetail() {
|
||||
return parameterCheckSanitasiDetail;
|
||||
}
|
||||
|
||||
public void setParameterCheckSanitasiDetail(ParameterCheckSanitasiDetail parameterCheckSanitasiDetail) {
|
||||
this.parameterCheckSanitasiDetail = parameterCheckSanitasiDetail;
|
||||
}
|
||||
|
||||
public Integer getParameterCheckSanitasiDetailId() {
|
||||
return parameterCheckSanitasiDetailId;
|
||||
}
|
||||
|
||||
public void setParameterCheckSanitasiDetailId(Integer parameterCheckSanitasiDetailId) {
|
||||
this.parameterCheckSanitasiDetailId = parameterCheckSanitasiDetailId;
|
||||
}
|
||||
|
||||
public Float getHasilPengukuran() {
|
||||
return hasilPengukuran;
|
||||
}
|
||||
|
||||
public void setHasilPengukuran(Float hasilPengukuran) {
|
||||
this.hasilPengukuran = hasilPengukuran;
|
||||
}
|
||||
|
||||
public String getKeterangan() {
|
||||
return keterangan;
|
||||
}
|
||||
|
||||
public void setKeterangan(String keterangan) {
|
||||
this.keterangan = keterangan;
|
||||
}
|
||||
|
||||
public String getSanitasiKesehatanLingkunganId() {
|
||||
return sanitasiKesehatanLingkunganId;
|
||||
}
|
||||
|
||||
public void setSanitasiKesehatanLingkunganId(String sanitasiKesehatanLingkunganId) {
|
||||
this.sanitasiKesehatanLingkunganId = sanitasiKesehatanLingkunganId;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.PengukuranSanitasiKLDetail_M_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.PengukuranSanitasiKLDetail_M_id_seq", sequenceName = "public.PengukuranSanitasiKLDetail_M_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.PengukuranSanitasiKLDetail_M_id_seq")
|
||||
@SequenceGenerator(name = "public.PengukuranSanitasiKLDetail_M_id_seq", sequenceName = "public.PengukuranSanitasiKLDetail_M_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,26 +1,24 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.Temporal;
|
||||
import javax.persistence.TemporalType;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
import static javax.persistence.TemporalType.DATE;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @since Jul 6, 2022
|
||||
*
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "sdm_penilaiankinerja_t")
|
||||
public class PenilaianKinerja extends BaseTransaction {
|
||||
@ -30,7 +28,7 @@ public class PenilaianKinerja extends BaseTransaction {
|
||||
@Caption("Bulan")
|
||||
@NotNull(message = "Bulan wajib diisi")
|
||||
@Column(name = "bulan", nullable = false)
|
||||
@Temporal(TemporalType.DATE)
|
||||
@Temporal(DATE)
|
||||
private Date bulan;
|
||||
|
||||
@Caption("Pegawai")
|
||||
@ -54,7 +52,7 @@ public class PenilaianKinerja extends BaseTransaction {
|
||||
@Caption(value = "Nilai Jabatan")
|
||||
@Column(name = "nilaijabatan")
|
||||
private Double nilaiJabatan;
|
||||
|
||||
|
||||
@Caption(value = "IKI")
|
||||
@NotNull(message = "IKI wajib diisi")
|
||||
@Column(name = "iki", nullable = false)
|
||||
@ -75,84 +73,4 @@ public class PenilaianKinerja extends BaseTransaction {
|
||||
@Column(name = "kriteria", nullable = false)
|
||||
private String kriteria;
|
||||
|
||||
public Date getBulan() {
|
||||
return bulan;
|
||||
}
|
||||
|
||||
public void setBulan(Date bulan) {
|
||||
this.bulan = bulan;
|
||||
}
|
||||
|
||||
public Pegawai getPegawai() {
|
||||
return pegawai;
|
||||
}
|
||||
|
||||
public void setPegawai(Pegawai pegawai) {
|
||||
this.pegawai = pegawai;
|
||||
}
|
||||
|
||||
public Integer getPegawaiId() {
|
||||
return pegawaiId;
|
||||
}
|
||||
|
||||
public void setPegawaiId(Integer pegawaiId) {
|
||||
this.pegawaiId = pegawaiId;
|
||||
}
|
||||
|
||||
public Jabatan getJabatan() {
|
||||
return jabatan;
|
||||
}
|
||||
|
||||
public void setJabatan(Jabatan jabatan) {
|
||||
this.jabatan = jabatan;
|
||||
}
|
||||
|
||||
public Integer getJabatanId() {
|
||||
return jabatanId;
|
||||
}
|
||||
|
||||
public void setJabatanId(Integer jabatanId) {
|
||||
this.jabatanId = jabatanId;
|
||||
}
|
||||
|
||||
public Double getNilaiJabatan() {
|
||||
return nilaiJabatan;
|
||||
}
|
||||
|
||||
public void setNilaiJabatan(Double nilaiJabatan) {
|
||||
this.nilaiJabatan = nilaiJabatan;
|
||||
}
|
||||
|
||||
public Double getIki() {
|
||||
return iki;
|
||||
}
|
||||
|
||||
public void setIki(Double iki) {
|
||||
this.iki = iki;
|
||||
}
|
||||
|
||||
public Double getBobot() {
|
||||
return bobot;
|
||||
}
|
||||
|
||||
public void setBobot(Double bobot) {
|
||||
this.bobot = bobot;
|
||||
}
|
||||
|
||||
public Double getHasil() {
|
||||
return hasil;
|
||||
}
|
||||
|
||||
public void setHasil(Double hasil) {
|
||||
this.hasil = hasil;
|
||||
}
|
||||
|
||||
public String getKriteria() {
|
||||
return kriteria;
|
||||
}
|
||||
|
||||
public void setKriteria(String kriteria) {
|
||||
this.kriteria = kriteria;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,20 +1,20 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @since Jul 6, 2022
|
||||
*
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "sdm_penilaiankinerjadetail_t")
|
||||
public class PenilaianKinerjaDetail extends BaseTransaction {
|
||||
@ -78,100 +78,4 @@ public class PenilaianKinerjaDetail extends BaseTransaction {
|
||||
@Column(name = "hasil", nullable = false)
|
||||
private Double hasil;
|
||||
|
||||
public PenilaianKinerja getPenilaianKinerja() {
|
||||
return penilaianKinerja;
|
||||
}
|
||||
|
||||
public void setPenilaianKinerja(PenilaianKinerja penilaianKinerja) {
|
||||
this.penilaianKinerja = penilaianKinerja;
|
||||
}
|
||||
|
||||
public String getPenilaianKinerjaId() {
|
||||
return penilaianKinerjaId;
|
||||
}
|
||||
|
||||
public void setPenilaianKinerjaId(String penilaianKinerjaId) {
|
||||
this.penilaianKinerjaId = penilaianKinerjaId;
|
||||
}
|
||||
|
||||
public Short getJenisIndikatorId() {
|
||||
return jenisIndikatorId;
|
||||
}
|
||||
|
||||
public void setJenisIndikatorId(Short jenisIndikatorId) {
|
||||
this.jenisIndikatorId = jenisIndikatorId;
|
||||
}
|
||||
|
||||
public IndikatorKinerja getIndikatorKinerja() {
|
||||
return indikatorKinerja;
|
||||
}
|
||||
|
||||
public void setIndikatorKinerja(IndikatorKinerja indikatorKinerja) {
|
||||
this.indikatorKinerja = indikatorKinerja;
|
||||
}
|
||||
|
||||
public Integer getIndikatorKinerjaId() {
|
||||
return indikatorKinerjaId;
|
||||
}
|
||||
|
||||
public void setIndikatorKinerjaId(Integer indikatorKinerjaId) {
|
||||
this.indikatorKinerjaId = indikatorKinerjaId;
|
||||
}
|
||||
|
||||
public Integer getBobot() {
|
||||
return bobot;
|
||||
}
|
||||
|
||||
public void setBobot(Integer bobot) {
|
||||
this.bobot = bobot;
|
||||
}
|
||||
|
||||
public Double getTarget() {
|
||||
return target;
|
||||
}
|
||||
|
||||
public void setTarget(Double target) {
|
||||
this.target = target;
|
||||
}
|
||||
|
||||
public Double getRealisasi() {
|
||||
return realisasi;
|
||||
}
|
||||
|
||||
public void setRealisasi(Double realisasi) {
|
||||
this.realisasi = realisasi;
|
||||
}
|
||||
|
||||
public SatuanIndikator getSatuan() {
|
||||
return satuan;
|
||||
}
|
||||
|
||||
public void setSatuan(SatuanIndikator satuan) {
|
||||
this.satuan = satuan;
|
||||
}
|
||||
|
||||
public Integer getSatuanId() {
|
||||
return satuanId;
|
||||
}
|
||||
|
||||
public void setSatuanId(Integer satuanId) {
|
||||
this.satuanId = satuanId;
|
||||
}
|
||||
|
||||
public Double getNilai() {
|
||||
return nilai;
|
||||
}
|
||||
|
||||
public void setNilai(Double nilai) {
|
||||
this.nilai = nilai;
|
||||
}
|
||||
|
||||
public Double getHasil() {
|
||||
return hasil;
|
||||
}
|
||||
|
||||
public void setHasil(Double hasil) {
|
||||
this.hasil = hasil;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,22 +1,21 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonManagedReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import static javax.persistence.CascadeType.ALL;
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PenilaianKinerjaSatpam_T")
|
||||
public class PenilaianKinerjaSatpam extends BaseTransaction {
|
||||
@ -24,150 +23,54 @@ public class PenilaianKinerjaSatpam extends BaseTransaction {
|
||||
private static final long serialVersionUID = -158325643089440159L;
|
||||
|
||||
@Caption(value = "Nama Satpam")
|
||||
@Column(name = "namaSatpam", nullable = true)
|
||||
@Column(name = "namaSatpam")
|
||||
private String namaSatpam;
|
||||
|
||||
@Caption(value = "Tgl Penilaian")
|
||||
@Column(name = "TglPenilaian", nullable = true)
|
||||
@Column(name = "TglPenilaian")
|
||||
private Date tglPenilaian;
|
||||
|
||||
@Caption(value = "Tgl Periode Awal")
|
||||
@Column(name = "TglPeriodeAwal", nullable = true)
|
||||
@Column(name = "TglPeriodeAwal")
|
||||
private Date tglPeriodeAwal;
|
||||
|
||||
@Caption(value = "Tgl Periode Akhir")
|
||||
@Column(name = "TglPeriodeAkhir", nullable = true)
|
||||
@Column(name = "TglPeriodeAkhir")
|
||||
private Date tglPeriodeAkhir;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPemberiNilaiFk")
|
||||
private Pegawai pemberiNilai;
|
||||
|
||||
@Column(name = "ObjectPemberiNilaiFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectPemberiNilaiFk", insertable = false, updatable = false)
|
||||
private Integer pemberiNilaiId;
|
||||
|
||||
@Caption(value = "Grand Total Nilai")
|
||||
@Column(name = "GrandTotal", nullable = true)
|
||||
@Column(name = "GrandTotal")
|
||||
private Integer grandTotal;
|
||||
|
||||
@Column(name = "TotalNilaiUraianTugas", nullable = true)
|
||||
@Column(name = "TotalNilaiUraianTugas")
|
||||
private Integer totalNilaiUraianTugas;
|
||||
|
||||
@Column(name = "TotalNilaiKualitas", nullable = true)
|
||||
@Column(name = "TotalNilaiKualitas")
|
||||
private Integer totalNilaiKualitas;
|
||||
|
||||
@Column(name = "TotalNilaiSikapPerilaku", nullable = true)
|
||||
@Column(name = "TotalNilaiSikapPerilaku")
|
||||
private Integer totalNilaiSikapPerilaku;
|
||||
|
||||
@JsonManagedReference
|
||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "penilaianKinerjaSatpam")
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "penilaianKinerjaSatpam")
|
||||
@Caption(value = "mapUraianTugas")
|
||||
private List<MappingUraianTugas> mapUraianTugas = new ArrayList<MappingUraianTugas>();
|
||||
private List<MappingUraianTugas> mapUraianTugas = new ArrayList<>();
|
||||
|
||||
@JsonManagedReference
|
||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "penilaianKinerjaSatpam")
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "penilaianKinerjaSatpam")
|
||||
@Caption(value = "mapKualitas")
|
||||
private List<MappingKualitas> mapKualitas = new ArrayList<MappingKualitas>();
|
||||
private List<MappingKualitas> mapKualitas = new ArrayList<>();
|
||||
|
||||
@JsonManagedReference
|
||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "penilaianKinerjaSatpam")
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "penilaianKinerjaSatpam")
|
||||
@Caption(value = "mapSikapPerilaku")
|
||||
private List<MappingSikapPerilaku> mapSikapPerilaku = new ArrayList<MappingSikapPerilaku>();
|
||||
|
||||
public Integer getTotalNilaiUraianTugas() {
|
||||
return totalNilaiUraianTugas;
|
||||
}
|
||||
|
||||
public void setTotalNilaiUraianTugas(Integer totalNilaiUraianTugas) {
|
||||
this.totalNilaiUraianTugas = totalNilaiUraianTugas;
|
||||
}
|
||||
|
||||
public Integer getTotalNilaiKualitas() {
|
||||
return totalNilaiKualitas;
|
||||
}
|
||||
|
||||
public void setTotalNilaiKualitas(Integer totalNilaiKualitas) {
|
||||
this.totalNilaiKualitas = totalNilaiKualitas;
|
||||
}
|
||||
|
||||
public Integer getTotalNilaiSikapPerilaku() {
|
||||
return totalNilaiSikapPerilaku;
|
||||
}
|
||||
|
||||
public void setTotalNilaiSikapPerilaku(Integer totalNilaiSikapPerilaku) {
|
||||
this.totalNilaiSikapPerilaku = totalNilaiSikapPerilaku;
|
||||
}
|
||||
|
||||
public Date getTglPenilaian() {
|
||||
return tglPenilaian;
|
||||
}
|
||||
|
||||
public void setTglPenilaian(Date tglPenilaian) {
|
||||
this.tglPenilaian = tglPenilaian;
|
||||
}
|
||||
|
||||
public Pegawai getPemberiNilai() {
|
||||
return pemberiNilai;
|
||||
}
|
||||
|
||||
public void setPemberiNilai(Pegawai pemberiNilai) {
|
||||
this.pemberiNilai = pemberiNilai;
|
||||
}
|
||||
|
||||
public Integer getGrandTotal() {
|
||||
return grandTotal;
|
||||
}
|
||||
|
||||
public void setGrandTotal(Integer grandTotal) {
|
||||
this.grandTotal = grandTotal;
|
||||
}
|
||||
|
||||
public List<MappingUraianTugas> getMapUraianTugas() {
|
||||
return mapUraianTugas;
|
||||
}
|
||||
|
||||
public void setMapUraianTugas(List<MappingUraianTugas> mapUraianTugas) {
|
||||
this.mapUraianTugas = mapUraianTugas;
|
||||
}
|
||||
|
||||
public List<MappingKualitas> getMapKualitas() {
|
||||
return mapKualitas;
|
||||
}
|
||||
|
||||
public void setMapKualitas(List<MappingKualitas> mapKualitas) {
|
||||
this.mapKualitas = mapKualitas;
|
||||
}
|
||||
|
||||
public List<MappingSikapPerilaku> getMapSikapPerilaku() {
|
||||
return mapSikapPerilaku;
|
||||
}
|
||||
|
||||
public void setMapSikapPerilaku(List<MappingSikapPerilaku> mapSikapPerilaku) {
|
||||
this.mapSikapPerilaku = mapSikapPerilaku;
|
||||
}
|
||||
|
||||
public String getNamaSatpam() {
|
||||
return namaSatpam;
|
||||
}
|
||||
|
||||
public void setNamaSatpam(String namaSatpam) {
|
||||
this.namaSatpam = namaSatpam;
|
||||
}
|
||||
|
||||
public Date getTglPeriodeAwal() {
|
||||
return tglPeriodeAwal;
|
||||
}
|
||||
|
||||
public void setTglPeriodeAwal(Date tglPeriodeAwal) {
|
||||
this.tglPeriodeAwal = tglPeriodeAwal;
|
||||
}
|
||||
|
||||
public Date getTglPeriodeAkhir() {
|
||||
return tglPeriodeAkhir;
|
||||
}
|
||||
|
||||
public void setTglPeriodeAkhir(Date tglPeriodeAkhir) {
|
||||
this.tglPeriodeAkhir = tglPeriodeAkhir;
|
||||
}
|
||||
private List<MappingSikapPerilaku> mapSikapPerilaku = new ArrayList<>();
|
||||
|
||||
}
|
||||
|
||||
@ -1,50 +1,35 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import org.hibernate.envers.Audited;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class Penyakit
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_Penyakit_M")
|
||||
public class Penyakit extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Name tidak boleh kosong")
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.penyakit_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.penyakit_m_id_seq", sequenceName = "public.penyakit_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.penyakit_m_id_seq")
|
||||
@SequenceGenerator(name = "public.penyakit_m_id_seq", sequenceName = "public.penyakit_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,49 +1,35 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class AkibatHaid
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PenyakitIbuHamil_M")
|
||||
public class PenyakitIbuHamil extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Name tidak boleh kosong")
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.penyakitibuhamil_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.penyakitibuhamil_m_id_seq", sequenceName = "public.penyakitibuhamil_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.penyakitibuhamil_m_id_seq")
|
||||
@SequenceGenerator(name = "public.penyakitibuhamil_m_id_seq", sequenceName = "public.penyakitibuhamil_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,50 +1,35 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import org.hibernate.envers.Audited;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class PenyakitObstetriLainnya
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_PenyakitObstetriLainnya_M")
|
||||
public class PenyakitObstetriLainnya extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Name tidak boleh kosong")
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.penyakitobstetrilainnya_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.penyakitobstetrilainnya_m_id_seq", sequenceName = "public.penyakitobstetrilainnya_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.penyakitobstetrilainnya_m_id_seq")
|
||||
@SequenceGenerator(name = "public.penyakitobstetrilainnya_m_id_seq", sequenceName = "public.penyakitobstetrilainnya_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,44 +1,30 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "rm_PenyakitWaktuHamil_m")
|
||||
public class PenyakitWaktuHamil extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Name tidak boleh kosong")
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.penyakitwaktuhamil_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.penyakitwaktuhamil_m_id_seq", sequenceName = "public.penyakitwaktuhamil_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.penyakitwaktuhamil_m_id_seq")
|
||||
@SequenceGenerator(name = "public.penyakitwaktuhamil_m_id_seq", sequenceName = "public.penyakitwaktuhamil_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,65 +1,41 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.io.Serializable;
|
||||
import org.hibernate.envers.Audited;
|
||||
import javax.persistence.*;
|
||||
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
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.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import org.hibernate.envers.Audited;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class PenyebabDiagnosa
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PenyebabDiagnosa_M")
|
||||
public class PenyebabDiagnosa extends BaseMaster {
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectDiagnosaFk")
|
||||
@NotNull(message = "Kd Diagnosa tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Diagnosa")
|
||||
private Diagnosa diagnosa;
|
||||
|
||||
public void setDiagnosa(Diagnosa diagnosa) {
|
||||
this.diagnosa = diagnosa;
|
||||
}
|
||||
|
||||
public Diagnosa getDiagnosa() {
|
||||
return this.diagnosa;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectDiagnosaFk", insertable = false, updatable = false)
|
||||
private Integer diagnosaId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKelompokPDiagnosaFk")
|
||||
@NotNull(message = "Kd Kelompok P Diagnosa tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Kelompok P Diagnosa")
|
||||
private KelompokPenyebabDiagnosa kelompokPDiagnosa;
|
||||
|
||||
public void setKelompokPDiagnosa(KelompokPenyebabDiagnosa kelompokPDiagnosa) {
|
||||
this.kelompokPDiagnosa = kelompokPDiagnosa;
|
||||
}
|
||||
|
||||
public KelompokPenyebabDiagnosa getKelompokPDiagnosa() {
|
||||
return this.kelompokPDiagnosa;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectKelompokPDiagnosaFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer kelompokPDiagnosaId;
|
||||
|
||||
@ -68,52 +44,20 @@ public class PenyebabDiagnosa extends BaseMaster {
|
||||
@Caption(value = "Kode Penyebab Diagnosa")
|
||||
private short kdPenyebabDiagnosa;
|
||||
|
||||
public void setKdPenyebabDiagnosa(short kdPenyebabDiagnosa) {
|
||||
this.kdPenyebabDiagnosa = kdPenyebabDiagnosa;
|
||||
}
|
||||
|
||||
public short getKdPenyebabDiagnosa() {
|
||||
return this.kdPenyebabDiagnosa;
|
||||
}
|
||||
|
||||
@NotNull(message = "Penyebab Diagnosa tidak boleh kosong")
|
||||
@Column(name = "PenyebabDiagnosa", nullable = false, length = 100)
|
||||
@Caption(value = "Penyebab Diagnosa")
|
||||
private String penyebabDiagnosa;
|
||||
|
||||
public void setPenyebabDiagnosa(String penyebabDiagnosa) {
|
||||
this.penyebabDiagnosa = penyebabDiagnosa;
|
||||
}
|
||||
|
||||
public String getPenyebabDiagnosa() {
|
||||
return this.penyebabDiagnosa;
|
||||
}
|
||||
|
||||
@NotNull(message = "QPenyebab Diagnosa tidak boleh kosong")
|
||||
@Column(name = "QPenyebabDiagnosa", nullable = false)
|
||||
@Caption(value = "QPenyebab Diagnosa")
|
||||
private short qPenyebabDiagnosa;
|
||||
|
||||
public void setqPenyebabDiagnosa(short qPenyebabDiagnosa) {
|
||||
this.qPenyebabDiagnosa = qPenyebabDiagnosa;
|
||||
}
|
||||
|
||||
public short getqPenyebabDiagnosa() {
|
||||
return this.qPenyebabDiagnosa;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.penyebabdiagnosa_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.penyebabdiagnosa_m_id_seq", sequenceName = "public.penyebabdiagnosa_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.penyebabdiagnosa_m_id_seq")
|
||||
@SequenceGenerator(name = "public.penyebabdiagnosa_m_id_seq", sequenceName = "public.penyebabdiagnosa_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,83 +1,45 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.io.Serializable;
|
||||
import org.hibernate.envers.Audited;
|
||||
import javax.persistence.*;
|
||||
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
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.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import org.hibernate.envers.Audited;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class PenyebabInfeksiNosokomial
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PenyebabInfeksiNosokomial_M")
|
||||
public class PenyebabInfeksiNosokomial extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Kd Penyebab I N tidak boleh kosong")
|
||||
@Column(name = "KdPenyebabIN", nullable = false)
|
||||
@Caption(value = "Kode Penyebab I N")
|
||||
private short kdPenyebabIN;
|
||||
|
||||
public void setKdPenyebabIN(short kdPenyebabIN) {
|
||||
this.kdPenyebabIN = kdPenyebabIN;
|
||||
}
|
||||
|
||||
public short getKdPenyebabIN() {
|
||||
return this.kdPenyebabIN;
|
||||
}
|
||||
|
||||
@NotNull(message = "Penyebab I N tidak boleh kosong")
|
||||
@Column(name = "PenyebabIN", nullable = false, length = 100)
|
||||
@Caption(value = "Penyebab I N")
|
||||
private String penyebabIN;
|
||||
|
||||
public void setPenyebabIN(String penyebabIN) {
|
||||
this.penyebabIN = penyebabIN;
|
||||
}
|
||||
|
||||
public String getPenyebabIN() {
|
||||
return this.penyebabIN;
|
||||
}
|
||||
|
||||
@NotNull(message = "QPenyebab I N tidak boleh kosong")
|
||||
@Column(name = "QPenyebabIN", nullable = false)
|
||||
@Caption(value = "QPenyebab I N")
|
||||
private short qPenyebabIN;
|
||||
|
||||
public void setqPenyebabIN(short qPenyebabIN) {
|
||||
this.qPenyebabIN = qPenyebabIN;
|
||||
}
|
||||
|
||||
public short getqPenyebabIN() {
|
||||
return this.qPenyebabIN;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.penyebabinfeksinosokomial_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.penyebabinfeksinosokomial_m_id_seq", sequenceName = "public.penyebabinfeksinosokomial_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.penyebabinfeksinosokomial_m_id_seq")
|
||||
@SequenceGenerator(name = "public.penyebabinfeksinosokomial_m_id_seq", sequenceName = "public.penyebabinfeksinosokomial_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -20,6 +20,7 @@ import static javax.persistence.GenerationType.SEQUENCE;
|
||||
@Entity
|
||||
@Table(name = "PenyebabKematian_M")
|
||||
public class PenyebabKematian extends BaseMaster {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.penyebabkematian_m_id_seq")
|
||||
@SequenceGenerator(name = "public.penyebabkematian_m_id_seq", sequenceName = "public.penyebabkematian_m_id_seq", allocationSize = 1)
|
||||
@ -40,4 +41,5 @@ public class PenyebabKematian extends BaseMaster {
|
||||
@Column(name = "QPenyebabKematian", nullable = false)
|
||||
@Caption(value = "QPenyebab Kematian")
|
||||
private Byte qPenyebabKematian;
|
||||
|
||||
}
|
||||
@ -1,44 +1,28 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;import org.hibernate.envers.Audited;
|
||||
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PenyulitAnestesi_T")
|
||||
public class PenyulitAnestesi extends BaseTransaction{
|
||||
|
||||
@NotNull(message="keterangan tidak boleh kosong")
|
||||
public class PenyulitAnestesi extends BaseTransaction {
|
||||
|
||||
@NotNull(message = "keterangan tidak boleh kosong")
|
||||
@Column(name = "keterangan")
|
||||
@Caption(value="Keterangan")
|
||||
@Caption(value = "Keterangan")
|
||||
private String keterangan;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPemeriksaanFisikFk")
|
||||
@NotNull(message="Pemeriksaan Fisik tidak boleh kosong")
|
||||
@Caption(value="Object pemeriksaanFisik")
|
||||
@NotNull(message = "Pemeriksaan Fisik tidak boleh kosong")
|
||||
@Caption(value = "Object pemeriksaanFisik")
|
||||
private PemeriksaanFisik pemeriksaanFisik;
|
||||
|
||||
public String getKeterangan() {
|
||||
return keterangan;
|
||||
}
|
||||
|
||||
public void setKeterangan(String keterangan) {
|
||||
this.keterangan = keterangan;
|
||||
}
|
||||
|
||||
public PemeriksaanFisik getPemeriksaanFisik() {
|
||||
return pemeriksaanFisik;
|
||||
}
|
||||
|
||||
public void setPemeriksaanFisik(PemeriksaanFisik pemeriksaanFisik) {
|
||||
this.pemeriksaanFisik = pemeriksaanFisik;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,16 +1,16 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PenyusunanEPlanning_T")
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
@ -22,22 +22,22 @@ public class PenyusunanDetailEPlanning extends BaseTransaction {
|
||||
@Caption(value = "Object Penyusunan EPlanning")
|
||||
private PenyusunanEPlanning penyusunanEPlanning;
|
||||
|
||||
@Column(name = "ObjectPenyusunanEPlanningFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectPenyusunanEPlanningFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String penyusunanEPlanningId;
|
||||
|
||||
@Column(name = "Qty", nullable = true)
|
||||
@Column(name = "Qty")
|
||||
@Caption(value = "Qty")
|
||||
private Double qty;
|
||||
|
||||
@Column(name = "Harga", nullable = true)
|
||||
@Column(name = "Harga")
|
||||
@Caption(value = "Harga")
|
||||
private Double harga;
|
||||
|
||||
@Column(name = "Total", nullable = true)
|
||||
@Column(name = "Total")
|
||||
@Caption(value = "Total")
|
||||
private Double total;
|
||||
|
||||
@Column(name = "Keterangan", nullable = true)
|
||||
@Column(name = "Keterangan")
|
||||
@Caption(value = "Keterangan")
|
||||
private String keterangan;
|
||||
|
||||
@ -46,55 +46,7 @@ public class PenyusunanDetailEPlanning extends BaseTransaction {
|
||||
@Caption(value = "Object Produk")
|
||||
private Produk produk;
|
||||
|
||||
@Column(name = "ObjectProdukFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectProdukFk", insertable = false, updatable = false)
|
||||
private Integer produkId;
|
||||
|
||||
public PenyusunanEPlanning getPenyusunanEPlanning() {
|
||||
return penyusunanEPlanning;
|
||||
}
|
||||
|
||||
public void setPenyusunanEPlanning(PenyusunanEPlanning penyusunanEPlanning) {
|
||||
this.penyusunanEPlanning = penyusunanEPlanning;
|
||||
}
|
||||
|
||||
public Double getQty() {
|
||||
return qty;
|
||||
}
|
||||
|
||||
public void setQty(Double qty) {
|
||||
this.qty = qty;
|
||||
}
|
||||
|
||||
public Double getHarga() {
|
||||
return harga;
|
||||
}
|
||||
|
||||
public void setHarga(Double harga) {
|
||||
this.harga = harga;
|
||||
}
|
||||
|
||||
public Double getTotal() {
|
||||
return total;
|
||||
}
|
||||
|
||||
public void setTotal(Double total) {
|
||||
this.total = total;
|
||||
}
|
||||
|
||||
public String getKeterangan() {
|
||||
return keterangan;
|
||||
}
|
||||
|
||||
public void setKeterangan(String keterangan) {
|
||||
this.keterangan = keterangan;
|
||||
}
|
||||
|
||||
public Produk getProduk() {
|
||||
return produk;
|
||||
}
|
||||
|
||||
public void setProduk(Produk produk) {
|
||||
this.produk = produk;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,16 +1,16 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PenyusunanDetailTRPNPB_T")
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
@ -22,26 +22,26 @@ public class PenyusunanDetailTRPNPB extends BaseTransaction {
|
||||
@Caption(value = "Object Penyusunan TRPNPB")
|
||||
private PenyusunanTRPNPB penyusunanTRPNPB;
|
||||
|
||||
@Column(name = "ObjectPenyusunanTRPNBPFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectPenyusunanTRPNBPFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String penyusunanTRPNPBId;
|
||||
|
||||
@Column(name = "VolumeRelasasi", nullable = true)
|
||||
@Column(name = "VolumeRelasasi")
|
||||
@Caption(value = "Volume Realisasi")
|
||||
private float volumeRealisasi;
|
||||
|
||||
@Column(name = "Harga", nullable = true)
|
||||
@Column(name = "Harga")
|
||||
@Caption(value = "Harga")
|
||||
private Double harga;
|
||||
|
||||
@Column(name = "TotalRelasasi", nullable = true)
|
||||
@Column(name = "TotalRelasasi")
|
||||
@Caption(value = "Total Realisasi")
|
||||
private Double totalRealisasi;
|
||||
|
||||
@Column(name = "VolumeTarget", nullable = true)
|
||||
@Column(name = "VolumeTarget")
|
||||
@Caption(value = "Volume Target")
|
||||
private float volumeTarget;
|
||||
|
||||
@Column(name = "TotalTarget", nullable = true)
|
||||
@Column(name = "TotalTarget")
|
||||
@Caption(value = "Total Target")
|
||||
private Double totalTarget;
|
||||
|
||||
@ -50,63 +50,7 @@ public class PenyusunanDetailTRPNPB extends BaseTransaction {
|
||||
@Caption(value = "Object Produk")
|
||||
private Produk produk;
|
||||
|
||||
@Column(name = "ObjectProdukFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectProdukFk", insertable = false, updatable = false)
|
||||
private Integer produkId;
|
||||
|
||||
public PenyusunanTRPNPB getPenyusunanTRPNPB() {
|
||||
return penyusunanTRPNPB;
|
||||
}
|
||||
|
||||
public void setPenyusunanTRPNPB(PenyusunanTRPNPB penyusunanTRPNPB) {
|
||||
this.penyusunanTRPNPB = penyusunanTRPNPB;
|
||||
}
|
||||
|
||||
public float getVolumeRealisasi() {
|
||||
return volumeRealisasi;
|
||||
}
|
||||
|
||||
public void setVolumeRealisasi(float volumeRealisasi) {
|
||||
this.volumeRealisasi = volumeRealisasi;
|
||||
}
|
||||
|
||||
public Double getHarga() {
|
||||
return harga;
|
||||
}
|
||||
|
||||
public void setHarga(Double harga) {
|
||||
this.harga = harga;
|
||||
}
|
||||
|
||||
public Double getTotalRealisasi() {
|
||||
return totalRealisasi;
|
||||
}
|
||||
|
||||
public void setTotalRealisasi(Double totalRealisasi) {
|
||||
this.totalRealisasi = totalRealisasi;
|
||||
}
|
||||
|
||||
public float getVolumeTarget() {
|
||||
return volumeTarget;
|
||||
}
|
||||
|
||||
public void setVolumeTarget(float volumeTarget) {
|
||||
this.volumeTarget = volumeTarget;
|
||||
}
|
||||
|
||||
public Double getTotalTarget() {
|
||||
return totalTarget;
|
||||
}
|
||||
|
||||
public void setTotalTarget(Double totalTarget) {
|
||||
this.totalTarget = totalTarget;
|
||||
}
|
||||
|
||||
public Produk getProduk() {
|
||||
return produk;
|
||||
}
|
||||
|
||||
public void setProduk(Produk produk) {
|
||||
this.produk = produk;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,23 +1,22 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.annotation.JsonManagedReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import static javax.persistence.CascadeType.ALL;
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PenyusunanEPlanning_T")
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
@ -28,64 +27,24 @@ public class PenyusunanEPlanning extends BaseTransaction {
|
||||
@Caption(value = "Object Unit Kerja")
|
||||
private UnitKerja unitKerja;
|
||||
|
||||
@Column(name = "ObjectUnitKerjaFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectUnitKerjaFk", insertable = false, updatable = false)
|
||||
private Integer unitKerjaId;
|
||||
|
||||
@Column(name = "Status", nullable = true)
|
||||
@Column(name = "Status")
|
||||
@Caption(value = "Status")
|
||||
private String status;
|
||||
|
||||
@Column(name = "TglUsulan", nullable = true)
|
||||
@Column(name = "TglUsulan")
|
||||
@Caption(value = "Tanggal Usulan")
|
||||
private Date tglUsulan;
|
||||
|
||||
@Column(name = "PeriodeAnggaran", nullable = true)
|
||||
@Column(name = "PeriodeAnggaran")
|
||||
@Caption(value = "Periode Anggaran")
|
||||
private Date periodeAnggaran;
|
||||
|
||||
@JsonManagedReference
|
||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "penyusunanEPlanning")
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "penyusunanEPlanning")
|
||||
@Caption(value = "penyusunanDetailEPlanningSet")
|
||||
private Set<PenyusunanDetailEPlanning> penyusunanDetailEPlanningSet = new HashSet<PenyusunanDetailEPlanning>();
|
||||
|
||||
public UnitKerja getUnitKerja() {
|
||||
return unitKerja;
|
||||
}
|
||||
|
||||
public void setUnitKerja(UnitKerja unitKerja) {
|
||||
this.unitKerja = unitKerja;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Date getTglUsulan() {
|
||||
return tglUsulan;
|
||||
}
|
||||
|
||||
public void setTglUsulan(Date tglUsulan) {
|
||||
this.tglUsulan = tglUsulan;
|
||||
}
|
||||
|
||||
public Set<PenyusunanDetailEPlanning> getPenyusunanDetailEPlanningSet() {
|
||||
return penyusunanDetailEPlanningSet;
|
||||
}
|
||||
|
||||
public void setPenyusunanDetailEPlanningSet(Set<PenyusunanDetailEPlanning> penyusunanDetailEPlanningSet) {
|
||||
this.penyusunanDetailEPlanningSet = penyusunanDetailEPlanningSet;
|
||||
}
|
||||
|
||||
public Date getPeriodeAnggaran() {
|
||||
return periodeAnggaran;
|
||||
}
|
||||
|
||||
public void setPeriodeAnggaran(Date periodeAnggaran) {
|
||||
this.periodeAnggaran = periodeAnggaran;
|
||||
}
|
||||
private Set<PenyusunanDetailEPlanning> penyusunanDetailEPlanningSet = new HashSet<>();
|
||||
|
||||
}
|
||||
|
||||
@ -1,109 +1,54 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.annotation.JsonManagedReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import static javax.persistence.CascadeType.ALL;
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PenyusunanTRPNPB_T")
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class PenyusunanTRPNPB extends BaseTransaction {
|
||||
|
||||
@Column(name = "Tahun", nullable = true)
|
||||
@Column(name = "Tahun")
|
||||
@Caption(value = "Tahun")
|
||||
private Integer tahun;
|
||||
|
||||
@Column(name = "Prosentase", nullable = true)
|
||||
@Column(name = "Prosentase")
|
||||
@Caption(value = "Prosentase")
|
||||
private Integer prosentase;
|
||||
|
||||
@Column(name = "PeriodeAwal", nullable = true)
|
||||
@Column(name = "PeriodeAwal")
|
||||
@Caption(value = "Periode Awal")
|
||||
private Date periodeAwal;
|
||||
|
||||
@Column(name = "PeriodeAkhir", nullable = true)
|
||||
@Column(name = "PeriodeAkhir")
|
||||
@Caption(value = "Periode Akhir")
|
||||
private Date periodeAkhir;
|
||||
|
||||
@Column(name = "Status", nullable = true)
|
||||
@Column(name = "Status")
|
||||
@Caption(value = "Status")
|
||||
private String status;
|
||||
|
||||
@Column(name = "TglPenyusunan", nullable = true)
|
||||
@Column(name = "TglPenyusunan")
|
||||
@Caption(value = "Tgl Penyusunan")
|
||||
private Date tglPenyusunan;
|
||||
|
||||
@JsonManagedReference
|
||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "penyusunanTRPNPB")
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "penyusunanTRPNPB")
|
||||
@Caption(value = "penyusunanDetailTRPNPBSet")
|
||||
private Set<PenyusunanDetailTRPNPB> penyusunanDetailTRPNPBSet = new HashSet<PenyusunanDetailTRPNPB>();
|
||||
|
||||
public Set<PenyusunanDetailTRPNPB> getPenyusunanDetailTRPNPBSet() {
|
||||
return penyusunanDetailTRPNPBSet;
|
||||
}
|
||||
|
||||
public void setPenyusunanDetailTRPNPBSet(Set<PenyusunanDetailTRPNPB> penyusunanDetailTRPNPBSet) {
|
||||
this.penyusunanDetailTRPNPBSet = penyusunanDetailTRPNPBSet;
|
||||
}
|
||||
|
||||
public Integer getTahun() {
|
||||
return tahun;
|
||||
}
|
||||
|
||||
public void setTahun(Integer tahun) {
|
||||
this.tahun = tahun;
|
||||
}
|
||||
|
||||
public Integer getProsentase() {
|
||||
return prosentase;
|
||||
}
|
||||
|
||||
public void setProsentase(Integer prosentase) {
|
||||
this.prosentase = prosentase;
|
||||
}
|
||||
|
||||
public Date getPeriodeAwal() {
|
||||
return periodeAwal;
|
||||
}
|
||||
|
||||
public void setPeriodeAwal(Date periodeAwal) {
|
||||
this.periodeAwal = periodeAwal;
|
||||
}
|
||||
|
||||
public Date getPeriodeAkhir() {
|
||||
return periodeAkhir;
|
||||
}
|
||||
|
||||
public void setPeriodeAkhir(Date periodeAkhir) {
|
||||
this.periodeAkhir = periodeAkhir;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Date getTglPenyusunan() {
|
||||
return tglPenyusunan;
|
||||
}
|
||||
|
||||
public void setTglPenyusunan(Date tglPenyusunan) {
|
||||
this.tglPenyusunan = tglPenyusunan;
|
||||
}
|
||||
private Set<PenyusunanDetailTRPNPB> penyusunanDetailTRPNPBSet = new HashSet<>();
|
||||
|
||||
}
|
||||
|
||||
@ -1,18 +1,18 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import org.hibernate.envers.Audited;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Entity // @Audited
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_Peralatan_M")
|
||||
public class Peralatan extends BaseMaster {
|
||||
|
||||
@ -21,30 +21,14 @@ public class Peralatan extends BaseMaster {
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Column(name = "MetodePemindahanPasien", nullable = true)
|
||||
@Column(name = "MetodePemindahanPasien")
|
||||
@Caption(value = "Name")
|
||||
private Boolean metodePemindahanPasien;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.peralatan_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.peralatan_m_id_seq", sequenceName = "public.peralatan_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.peralatan_m_id_seq")
|
||||
@SequenceGenerator(name = "public.peralatan_m_id_seq", sequenceName = "public.peralatan_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,110 +1,46 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.Transient;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;import org.hibernate.envers.Audited;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Entity //@Audited
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PeralatanDetail_T")
|
||||
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class PeralatanDetail extends BaseTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "PeralatanFk")
|
||||
@NotNull(message = "Peralatan tidak boleh kosong")
|
||||
private Peralatan peralatan ;
|
||||
|
||||
private Peralatan peralatan;
|
||||
|
||||
@Column(name = "PeralatanFk", insertable = false, updatable = false)
|
||||
private Integer peralatanId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "TransferPasienInternalFk", nullable=true)
|
||||
@JoinColumn(name = "TransferPasienInternalFk")
|
||||
private TransferPasienInternal transferPasienInternal;
|
||||
|
||||
@Column(name = "TransferPasienInternalFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = true)
|
||||
|
||||
@Column(name = "TransferPasienInternalFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String transferPasienInternalId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "TransferPasienExsternalFk", nullable=true)
|
||||
@JoinColumn(name = "TransferPasienExsternalFk")
|
||||
private TransferPasienExsternal transferPasienExsternal;
|
||||
|
||||
@Column(name = "TransferPasienExsternalFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = true)
|
||||
|
||||
@Column(name = "TransferPasienExsternalFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String transferPasienExsternalId;
|
||||
|
||||
|
||||
@NotNull(message = "Is Nilai tidak boleh kosong")
|
||||
@Column(name = "isNilai")
|
||||
@Caption(value = "Is Nilai")
|
||||
private Boolean isNilai;
|
||||
|
||||
private Boolean isNilai;
|
||||
|
||||
public Peralatan getPeralatan() {
|
||||
return peralatan;
|
||||
}
|
||||
|
||||
public void setPeralatan(Peralatan peralatan) {
|
||||
this.peralatan = peralatan;
|
||||
}
|
||||
|
||||
public Boolean getIsNilai() {
|
||||
return isNilai;
|
||||
}
|
||||
|
||||
public void setIsNilai(Boolean isNilai) {
|
||||
this.isNilai = isNilai;
|
||||
}
|
||||
|
||||
public TransferPasienInternal getTransferPasienInternal() {
|
||||
return transferPasienInternal;
|
||||
}
|
||||
|
||||
public void setTransferPasienInternal(TransferPasienInternal transferPasienInternal) {
|
||||
this.transferPasienInternal = transferPasienInternal;
|
||||
}
|
||||
|
||||
public Integer getPeralatanId() {
|
||||
return peralatanId;
|
||||
}
|
||||
|
||||
public void setPeralatanId(Integer peralatanId) {
|
||||
this.peralatanId = peralatanId;
|
||||
}
|
||||
|
||||
public String getTransferPasienInternalId() {
|
||||
return transferPasienInternalId;
|
||||
}
|
||||
|
||||
public void setTransferPasienInternalId(String transferPasienInternalId) {
|
||||
this.transferPasienInternalId = transferPasienInternalId;
|
||||
}
|
||||
|
||||
public TransferPasienExsternal getTransferPasienExsternal() {
|
||||
return transferPasienExsternal;
|
||||
}
|
||||
|
||||
public void setTransferPasienExsternal(TransferPasienExsternal transferPasienExsternal) {
|
||||
this.transferPasienExsternal = transferPasienExsternal;
|
||||
}
|
||||
|
||||
public String getTransferPasienExsternalId() {
|
||||
return transferPasienExsternalId;
|
||||
}
|
||||
|
||||
public void setTransferPasienExsternalId(String transferPasienExsternalId) {
|
||||
this.transferPasienExsternalId = transferPasienExsternalId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -1,15 +1,16 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "Peran_M")
|
||||
public class Peran extends BaseMaster {
|
||||
@ -18,26 +19,10 @@ public class Peran extends BaseMaster {
|
||||
@Caption(value = "Peran")
|
||||
private String peran;
|
||||
|
||||
public String getPeran() {
|
||||
return peran;
|
||||
}
|
||||
|
||||
public void setPeran(String peran) {
|
||||
this.peran = peran;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.peran_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.peran_m_id_seq", sequenceName = "public.peran_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.peran_m_id_seq")
|
||||
@SequenceGenerator(name = "public.peran_m_id_seq", sequenceName = "public.peran_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,83 +1,50 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Entity
|
||||
@Table(name="PeranHubungan_T")
|
||||
public class PeranHubungan extends BaseTransaction{
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPasienDaftarFk")
|
||||
@NotNull(message="PasienDaftar Harus Diisi")
|
||||
@Caption(value="PasienDaftar")
|
||||
private AntrianPasienDiPeriksa pasienDaftar;
|
||||
|
||||
@Column(name = "ObjectPasienDaftarFk", insertable=false,updatable=false, nullable=false)
|
||||
private String pasienDaftarId;
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
@NotNull(message = "Tgl Input tidak boleh kosong")
|
||||
@Column(name = "tglInput", nullable = false)
|
||||
@Caption(value = "Tgl Input")
|
||||
private Date tglInput;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectMasalahDalamKeluargaFk")
|
||||
@NotNull(message="Object MasalahDalamKeluarga Harus Diisi")
|
||||
@Caption(value="Object MasalahDalamKeluarga")
|
||||
private StatusYaTidak masalahDalamKeluarga;
|
||||
|
||||
@Column(name = "ObjectMasalahDalamKeluargaFk", insertable=false,updatable=false, nullable=false)
|
||||
private Integer masalahDalamKeluargaId;
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PeranHubungan_T")
|
||||
public class PeranHubungan extends BaseTransaction {
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPenyakitTerhadapKeluargaFk")
|
||||
@NotNull(message="Object PenyakitTerhadapKeluarga Harus Diisi")
|
||||
@Caption(value="Object PenyakitTerhadapKeluarga")
|
||||
private StatusYaTidak penyakitTerhadapKeluarga;
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPasienDaftarFk")
|
||||
@NotNull(message = "PasienDaftar Harus Diisi")
|
||||
@Caption(value = "PasienDaftar")
|
||||
private AntrianPasienDiPeriksa pasienDaftar;
|
||||
|
||||
@Column(name = "ObjectPenyakitTerhadapKeluargaFk", insertable=false,updatable=false, nullable=false)
|
||||
private Integer penyakitTerhadapKeluargaId;
|
||||
@Column(name = "ObjectPasienDaftarFk", insertable = false, updatable = false, nullable = false)
|
||||
private String pasienDaftarId;
|
||||
|
||||
public AntrianPasienDiPeriksa getPasienDaftar() {
|
||||
return pasienDaftar;
|
||||
}
|
||||
@NotNull(message = "Tgl Input tidak boleh kosong")
|
||||
@Column(name = "tglInput", nullable = false)
|
||||
@Caption(value = "Tgl Input")
|
||||
private Date tglInput;
|
||||
|
||||
public void setPasienDaftar(AntrianPasienDiPeriksa pasienDaftar) {
|
||||
this.pasienDaftar = pasienDaftar;
|
||||
}
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectMasalahDalamKeluargaFk")
|
||||
@NotNull(message = "Object MasalahDalamKeluarga Harus Diisi")
|
||||
@Caption(value = "Object MasalahDalamKeluarga")
|
||||
private StatusYaTidak masalahDalamKeluarga;
|
||||
|
||||
public Date getTglInput() {
|
||||
return tglInput;
|
||||
}
|
||||
@Column(name = "ObjectMasalahDalamKeluargaFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer masalahDalamKeluargaId;
|
||||
|
||||
public void setTglInput(Date tglInput) {
|
||||
this.tglInput = tglInput;
|
||||
}
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPenyakitTerhadapKeluargaFk")
|
||||
@NotNull(message = "Object PenyakitTerhadapKeluarga Harus Diisi")
|
||||
@Caption(value = "Object PenyakitTerhadapKeluarga")
|
||||
private StatusYaTidak penyakitTerhadapKeluarga;
|
||||
|
||||
public StatusYaTidak getMasalahDalamKeluarga() {
|
||||
return masalahDalamKeluarga;
|
||||
}
|
||||
@Column(name = "ObjectPenyakitTerhadapKeluargaFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer penyakitTerhadapKeluargaId;
|
||||
|
||||
public void setMasalahDalamKeluarga(StatusYaTidak masalahDalamKeluarga) {
|
||||
this.masalahDalamKeluarga = masalahDalamKeluarga;
|
||||
}
|
||||
|
||||
public StatusYaTidak getPenyakitTerhadapKeluarga() {
|
||||
return penyakitTerhadapKeluarga;
|
||||
}
|
||||
|
||||
public void setPenyakitTerhadapKeluarga(StatusYaTidak penyakitTerhadapKeluarga) {
|
||||
this.penyakitTerhadapKeluarga = penyakitTerhadapKeluarga;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -1,44 +1,30 @@
|
||||
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 javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "rm_PeranMasalah_M")
|
||||
public class PeranMasalah extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Name tidak boleh kosong")
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.peranmasalah_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.peranmasalah_m_id_seq", sequenceName = "public.peranmasalah_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.peranmasalah_m_id_seq")
|
||||
@SequenceGenerator(name = "public.peranmasalah_m_id_seq", sequenceName = "public.peranmasalah_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,44 +1,30 @@
|
||||
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 javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "rm_PeranPengaruhPenyakit_M")
|
||||
public class PeranPengaruhPenyakit extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Name tidak boleh kosong")
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.peranpengaruhpenyakit_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.peranpengaruhpenyakit_m_id_seq", sequenceName = "public.peranpengaruhpenyakit_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.peranpengaruhpenyakit_m_id_seq")
|
||||
@SequenceGenerator(name = "public.peranpengaruhpenyakit_m_id_seq", sequenceName = "public.peranpengaruhpenyakit_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,50 +1,35 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import org.hibernate.envers.Audited;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class PerawatanPutingSusu
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_PerawatanPutingSusu_M")
|
||||
public class PerawatanPutingSusu extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Name tidak boleh kosong")
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.perawatanputingsusu_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.perawatanputingsusu_m_id_seq", sequenceName = "public.perawatanputingsusu_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.perawatanputingsusu_m_id_seq")
|
||||
@SequenceGenerator(name = "public.perawatanputingsusu_m_id_seq", sequenceName = "public.perawatanputingsusu_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,175 +1,67 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.OneToOne;
|
||||
import javax.persistence.Table;
|
||||
import static javax.persistence.CascadeType.ALL;
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonManagedReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;import org.hibernate.envers.Audited;
|
||||
import com.jasamedika.medifirst2000.vo.AlatKhususVO;
|
||||
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PerencanaanAnestesi_T")
|
||||
public class PerencanaanAnestesi extends BaseTransaction{
|
||||
|
||||
public class PerencanaanAnestesi extends BaseTransaction {
|
||||
|
||||
@Column(name = "Catatan")
|
||||
@Caption(value="Catatan")
|
||||
@Caption(value = "Catatan")
|
||||
private String catatan;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPraAnestesiDokterFk")
|
||||
@Caption(value="PraAnestesiDokter")
|
||||
@Caption(value = "PraAnestesiDokter")
|
||||
private PraAnestesiDokter praAnestesiDokter;
|
||||
|
||||
@Column(name = "ObjectPraAnestesiDokterFk", insertable=false,updatable=false)
|
||||
|
||||
@Column(name = "ObjectPraAnestesiDokterFk", insertable = false, updatable = false)
|
||||
private String praAnestesiDokterId;
|
||||
|
||||
|
||||
@Column(name = "RawatInap")
|
||||
@Caption(value="RawatInap")
|
||||
@Caption(value = "RawatInap")
|
||||
private String rawatInap;
|
||||
|
||||
|
||||
@Column(name = "RawatJalan")
|
||||
@Caption(value="RawatJalan")
|
||||
private String rawatJalan;
|
||||
|
||||
@Caption(value = "RawatJalan")
|
||||
private String rawatJalan;
|
||||
|
||||
@Column(name = "Sedasi")
|
||||
@Caption(value="Sedasi")
|
||||
@Caption(value = "Sedasi")
|
||||
private String sedasi;
|
||||
|
||||
|
||||
@Column(name = "GA")
|
||||
@Caption(value="GA")
|
||||
private String ga;
|
||||
|
||||
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "perencanaanAnestesi")
|
||||
private Set<Monitoring> monitoring=new HashSet<Monitoring>();
|
||||
|
||||
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "perencanaanAnestesi")
|
||||
private Set<TeknikKhusus> teknikKhusus=new HashSet<TeknikKhusus>();
|
||||
|
||||
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "perencanaanAnestesi")
|
||||
private Set<AlatKhusus> alatKhusus=new HashSet<AlatKhusus>();
|
||||
|
||||
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "perencanaanAnestesi")
|
||||
private Set<RawatKhusus> rawatKhusus=new HashSet<RawatKhusus>();
|
||||
|
||||
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "perencanaanAnestesi")
|
||||
private Set<PersiapanPraAnestesi> persiapanPraAnestesi=new HashSet<PersiapanPraAnestesi>();
|
||||
|
||||
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "perencanaanAnestesi")
|
||||
private Set<Regional> regional=new HashSet<Regional>();
|
||||
@Caption(value = "GA")
|
||||
private String ga;
|
||||
|
||||
public String getCatatan() {
|
||||
return catatan;
|
||||
}
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "perencanaanAnestesi")
|
||||
private Set<Monitoring> monitoring = new HashSet<>();
|
||||
|
||||
public void setCatatan(String catatan) {
|
||||
this.catatan = catatan;
|
||||
}
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "perencanaanAnestesi")
|
||||
private Set<TeknikKhusus> teknikKhusus = new HashSet<>();
|
||||
|
||||
public Set<Monitoring> getMonitoring() {
|
||||
return monitoring;
|
||||
}
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "perencanaanAnestesi")
|
||||
private Set<AlatKhusus> alatKhusus = new HashSet<>();
|
||||
|
||||
public void setMonitoring(Set<Monitoring> monitoring) {
|
||||
this.monitoring = monitoring;
|
||||
}
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "perencanaanAnestesi")
|
||||
private Set<RawatKhusus> rawatKhusus = new HashSet<>();
|
||||
|
||||
public PraAnestesiDokter getPraAnestesiDokter() {
|
||||
return praAnestesiDokter;
|
||||
}
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "perencanaanAnestesi")
|
||||
private Set<PersiapanPraAnestesi> persiapanPraAnestesi = new HashSet<>();
|
||||
|
||||
public void setPraAnestesiDokter(PraAnestesiDokter praAnestesiDokter) {
|
||||
this.praAnestesiDokter = praAnestesiDokter;
|
||||
}
|
||||
|
||||
public Set<TeknikKhusus> getTeknikKhusus() {
|
||||
return teknikKhusus;
|
||||
}
|
||||
|
||||
public void setTeknikKhusus(Set<TeknikKhusus> teknikKhusus) {
|
||||
this.teknikKhusus = teknikKhusus;
|
||||
}
|
||||
|
||||
public Set<AlatKhusus> getAlatKhusus() {
|
||||
return alatKhusus;
|
||||
}
|
||||
|
||||
public void setAlatKhusus(Set<AlatKhusus> alatKhusus) {
|
||||
this.alatKhusus = alatKhusus;
|
||||
}
|
||||
|
||||
public String getPraAnestesiDokterId() {
|
||||
return praAnestesiDokterId;
|
||||
}
|
||||
|
||||
public void setPraAnestesiDokterId(String praAnestesiDokterId) {
|
||||
this.praAnestesiDokterId = praAnestesiDokterId;
|
||||
}
|
||||
|
||||
public String getRawatInap() {
|
||||
return rawatInap;
|
||||
}
|
||||
|
||||
public Set<PersiapanPraAnestesi> getPersiapanPraAnestesi() {
|
||||
return persiapanPraAnestesi;
|
||||
}
|
||||
|
||||
public void setPersiapanPraAnestesi(Set<PersiapanPraAnestesi> persiapanPraAnestesi) {
|
||||
this.persiapanPraAnestesi = persiapanPraAnestesi;
|
||||
}
|
||||
|
||||
public void setRawatInap(String rawatInap) {
|
||||
this.rawatInap = rawatInap;
|
||||
}
|
||||
|
||||
public String getRawatJalan() {
|
||||
return rawatJalan;
|
||||
}
|
||||
|
||||
public void setRawatJalan(String rawatJalan) {
|
||||
this.rawatJalan = rawatJalan;
|
||||
}
|
||||
|
||||
public Set<RawatKhusus> getRawatKhusus() {
|
||||
return rawatKhusus;
|
||||
}
|
||||
|
||||
public void setRawatKhusus(Set<RawatKhusus> rawatKhusus) {
|
||||
this.rawatKhusus = rawatKhusus;
|
||||
}
|
||||
|
||||
public Set<Regional> getRegional() {
|
||||
return regional;
|
||||
}
|
||||
|
||||
public void setRegional(Set<Regional> regional) {
|
||||
this.regional = regional;
|
||||
}
|
||||
|
||||
public String getSedasi() {
|
||||
return sedasi;
|
||||
}
|
||||
|
||||
public void setSedasi(String sedasi) {
|
||||
this.sedasi = sedasi;
|
||||
}
|
||||
|
||||
public String getGa() {
|
||||
return ga;
|
||||
}
|
||||
|
||||
public void setGa(String ga) {
|
||||
this.ga = ga;
|
||||
}
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "perencanaanAnestesi")
|
||||
private Set<Regional> regional = new HashSet<>();
|
||||
|
||||
}
|
||||
|
||||
@ -1,57 +1,33 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import static javax.persistence.CascadeType.ALL;
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name="PerencanaanPulang_t")
|
||||
public class PerencanaanPulang extends BaseTransaction{
|
||||
@Table(name = "PerencanaanPulang_t")
|
||||
public class PerencanaanPulang extends BaseTransaction {
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectantrianPasienDiPeriksaFk")
|
||||
@Caption(value = "Object antrianPasienDiPeriksa")
|
||||
private AntrianPasienDiPeriksa antrianPasienDiPeriksa;
|
||||
|
||||
@Column(name = "ObjectantrianPasienDiPeriksaFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false,nullable=false)
|
||||
@Column(name = "ObjectantrianPasienDiPeriksaFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = false)
|
||||
private String antrianPasienDiPeriksaId;
|
||||
|
||||
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "perencanaanPulang")
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "perencanaanPulang")
|
||||
@Caption(value = "komponenPenilaianDetailSet")
|
||||
private Set<KomponenPenilaianDetail> komponenPenilaianDetailSet=new HashSet<KomponenPenilaianDetail>();
|
||||
private Set<KomponenPenilaianDetail> komponenPenilaianDetailSet = new HashSet<>();
|
||||
|
||||
public AntrianPasienDiPeriksa getAntrianPasienDiPeriksa() {
|
||||
return antrianPasienDiPeriksa;
|
||||
}
|
||||
|
||||
public void setAntrianPasienDiPeriksa(AntrianPasienDiPeriksa antrianPasienDiPeriksa) {
|
||||
this.antrianPasienDiPeriksa = antrianPasienDiPeriksa;
|
||||
}
|
||||
|
||||
public String getAntrianPasienDiPeriksaId() {
|
||||
return antrianPasienDiPeriksaId;
|
||||
}
|
||||
|
||||
public void setAntrianPasienDiPeriksaId(String antrianPasienDiPeriksaId) {
|
||||
this.antrianPasienDiPeriksaId = antrianPasienDiPeriksaId;
|
||||
}
|
||||
|
||||
public Set<KomponenPenilaianDetail> getKomponenPenilaianDetailSet() {
|
||||
return komponenPenilaianDetailSet;
|
||||
}
|
||||
|
||||
public void setKomponenPenilaianDetailSet(Set<KomponenPenilaianDetail> komponenPenilaianDetailSet) {
|
||||
this.komponenPenilaianDetailSet = komponenPenilaianDetailSet;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,84 +1,47 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
import javax.persistence.*;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* class PerhitunganAbk
|
||||
* class PerhitunganAbk
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "sdm_PerhitunganAbk_T")
|
||||
public class PerhitunganAbk extends BaseTransaction{
|
||||
@Column(name = "Kode", nullable = false , length = 100)
|
||||
@Caption(value = "Kode")
|
||||
private String kode ;
|
||||
public String getKode() {
|
||||
return kode ;
|
||||
}
|
||||
public void setKode(String kode ) {
|
||||
this.kode = kode ;
|
||||
}
|
||||
public class PerhitunganAbk extends BaseTransaction {
|
||||
|
||||
@Column(name = "Name", nullable = false , length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name ;
|
||||
public String getName() {
|
||||
return name ;
|
||||
}
|
||||
public void setName(String name ) {
|
||||
this.name = name ;
|
||||
}
|
||||
@Column(name = "Kode", nullable = false, length = 100)
|
||||
@Caption(value = "Kode")
|
||||
private String kode;
|
||||
|
||||
@Column(name = "JumlahHari", nullable = false , length = 100)
|
||||
@Caption(value = "JumlahHari")
|
||||
private Integer jumlahHari ;
|
||||
public Integer getJumlahHari() {
|
||||
return jumlahHari ;
|
||||
}
|
||||
public void setJumlahHari(Integer jumlahHari ) {
|
||||
this.jumlahHari = jumlahHari ;
|
||||
}
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
@Column(name = "Nilai", nullable = false , length = 100)
|
||||
@Caption(value = "Nilai")
|
||||
private String nilai ;
|
||||
public String getNilai() {
|
||||
return nilai ;
|
||||
}
|
||||
public void setNilai(String nilai ) {
|
||||
this.nilai = nilai ;
|
||||
}
|
||||
@Column(name = "JumlahHari", nullable = false, length = 100)
|
||||
@Caption(value = "JumlahHari")
|
||||
private Integer jumlahHari;
|
||||
|
||||
@Column(name = "Keterangan", nullable = false , length = 100)
|
||||
@Caption(value = "Keterangan")
|
||||
private String keterangan ;
|
||||
public String getKeterangan() {
|
||||
return keterangan ;
|
||||
}
|
||||
public void setKeterangan(String keterangan ) {
|
||||
this.keterangan = keterangan ;
|
||||
}
|
||||
@Column(name = "Nilai", nullable = false, length = 100)
|
||||
@Caption(value = "Nilai")
|
||||
private String nilai;
|
||||
|
||||
@Column(name = "Tahun", nullable = false , length = 100)
|
||||
@Caption(value = "Tahun")
|
||||
private Integer tahun ;
|
||||
public Integer getTahun() {
|
||||
return tahun ;
|
||||
}
|
||||
public void setTahun(Integer tahun ) {
|
||||
this.tahun = tahun ;
|
||||
}
|
||||
@Column(name = "Keterangan", nullable = false, length = 100)
|
||||
@Caption(value = "Keterangan")
|
||||
private String keterangan;
|
||||
|
||||
@Column(name = "Tahun", nullable = false, length = 100)
|
||||
@Caption(value = "Tahun")
|
||||
private Integer tahun;
|
||||
|
||||
}
|
||||
@ -1,69 +1,44 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
import javax.persistence.*;
|
||||
import com.jasamedika.medifirst2000.entities.JenisHonor;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* class PerhitunganHonorTimPegawai
|
||||
* class PerhitunganHonorTimPegawai
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "sdm_PerhitunganHonorTimPegawai_T")
|
||||
public class PerhitunganHonorTimPegawai extends BaseTransaction{
|
||||
@Column(name = "NomorHonor", nullable = false , length = 100)
|
||||
@Caption(value = "NomorHonor")
|
||||
private String nomorHonor ;
|
||||
public String getNomorHonor() {
|
||||
return nomorHonor ;
|
||||
}
|
||||
public void setNomorHonor(String nomorHonor ) {
|
||||
this.nomorHonor = nomorHonor ;
|
||||
}
|
||||
public class PerhitunganHonorTimPegawai extends BaseTransaction {
|
||||
|
||||
@Column(name = "TanggalProses", nullable = false , length = 100)
|
||||
@Caption(value = "TanggalProses")
|
||||
private Date tanggalProses ;
|
||||
public Date getTanggalProses() {
|
||||
return tanggalProses ;
|
||||
}
|
||||
public void setTanggalProses(Date tanggalProses ) {
|
||||
this.tanggalProses = tanggalProses ;
|
||||
}
|
||||
@Column(name = "NomorHonor", nullable = false, length = 100)
|
||||
@Caption(value = "NomorHonor")
|
||||
private String nomorHonor;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "JenisHonorFk")
|
||||
@NotNull(message = "Jenis Honor Harus Diisi")
|
||||
@Caption(value = "Jenis Honor")
|
||||
@Column(name = "TanggalProses", nullable = false, length = 100)
|
||||
@Caption(value = "TanggalProses")
|
||||
private Date tanggalProses;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "JenisHonorFk")
|
||||
@NotNull(message = "Jenis Honor Harus Diisi")
|
||||
@Caption(value = "Jenis Honor")
|
||||
private JenisHonor jenisHonor;
|
||||
public JenisHonor getJenisHonor() {
|
||||
return jenisHonor;
|
||||
}
|
||||
public void setJenisHonor(JenisHonor jenisHonor) {
|
||||
this.jenisHonor = jenisHonor;
|
||||
}
|
||||
@Column(name = "JenisHonorFk", insertable=false,updatable=false)
|
||||
|
||||
@Column(name = "JenisHonorFk", insertable = false, updatable = false)
|
||||
private String jenisHonorId;
|
||||
|
||||
@Column(name = "Keterangan", nullable = false , length = 100)
|
||||
@Caption(value = "Keterangan")
|
||||
private String keterangan ;
|
||||
public String getKeterangan() {
|
||||
return keterangan ;
|
||||
}
|
||||
public void setKeterangan(String keterangan ) {
|
||||
this.keterangan = keterangan ;
|
||||
}
|
||||
|
||||
@Column(name = "Keterangan", nullable = false, length = 100)
|
||||
@Caption(value = "Keterangan")
|
||||
private String keterangan;
|
||||
|
||||
}
|
||||
@ -1,84 +1,43 @@
|
||||
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.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Entity //@Audited
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PerhitunganPoin_M")
|
||||
public class PerhitunganPoin extends BaseMaster {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectDetailJenisProdukFk")
|
||||
@Caption(value = "Object Detail Jenis Produk")
|
||||
private DetailJenisProduk detailJenisProduk;
|
||||
|
||||
@Column(name = "ObjectDetailJenisProdukFk", insertable = false, updatable = false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectDetailJenisProdukFk", insertable = false, updatable = false)
|
||||
private Integer detailJenisProdukId;
|
||||
|
||||
|
||||
@Caption(value = "PersentasePoin")
|
||||
@NotNull(message = "PersentasePoin tidak boleh kosong")
|
||||
@Column(name = "persentasePoin", nullable = true)
|
||||
@Column(name = "persentasePoin")
|
||||
private Double persentasePoin;
|
||||
|
||||
|
||||
@Caption(value = "PembagiPoin")
|
||||
@NotNull(message = "PembagiPoin tidak boleh kosong")
|
||||
@Column(name = "pembagiPoin", nullable = true)
|
||||
@Column(name = "pembagiPoin")
|
||||
private Double pembagiPoin;
|
||||
|
||||
public DetailJenisProduk getDetailJenisProduk() {
|
||||
return detailJenisProduk;
|
||||
}
|
||||
|
||||
public void setDetailJenisProduk(DetailJenisProduk detailJenisProduk) {
|
||||
this.detailJenisProduk = detailJenisProduk;
|
||||
}
|
||||
|
||||
public Integer getDetailJenisProdukId() {
|
||||
return detailJenisProdukId;
|
||||
}
|
||||
|
||||
public void setDetailJenisProdukId(Integer detailJenisProdukId) {
|
||||
this.detailJenisProdukId = detailJenisProdukId;
|
||||
}
|
||||
|
||||
public Double getPersentasePoin() {
|
||||
return persentasePoin;
|
||||
}
|
||||
|
||||
public void setPersentasePoin(Double persentasePoin) {
|
||||
this.persentasePoin = persentasePoin;
|
||||
}
|
||||
|
||||
public Double getPembagiPoin() {
|
||||
return pembagiPoin;
|
||||
}
|
||||
|
||||
public void setPembagiPoin(Double pembagiPoin) {
|
||||
this.pembagiPoin = pembagiPoin;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.PerhitunganPoin_M_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.PerhitunganPoin_M_id_seq", sequenceName = "public.PerhitunganPoin_M_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.PerhitunganPoin_M_id_seq")
|
||||
@SequenceGenerator(name = "public.PerhitunganPoin_M_id_seq", sequenceName = "public.PerhitunganPoin_M_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,65 +1,39 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
import javax.persistence.*;
|
||||
import com.jasamedika.medifirst2000.entities.JenisGaji;
|
||||
import com.jasamedika.medifirst2000.entities.TahunUmr;
|
||||
import com.jasamedika.medifirst2000.entities.NamaAsuransi;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* class PerhitunganPremiBPJSKesehatan
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "sdm_PerhitunganPremiBPJSKesehatan_T")
|
||||
public class PerhitunganPremiBPJSKesehatan extends BaseTransaction {
|
||||
|
||||
@Column(name = "NomorGaji", nullable = false, length = 100)
|
||||
@Caption(value = "NomorGaji")
|
||||
private String nomorGaji;
|
||||
|
||||
public String getNomorGaji() {
|
||||
return nomorGaji;
|
||||
}
|
||||
|
||||
public void setNomorGaji(String nomorGaji) {
|
||||
this.nomorGaji = nomorGaji;
|
||||
}
|
||||
|
||||
@Column(name = "TanggalProses", nullable = false, length = 100)
|
||||
@Caption(value = "TanggalProses")
|
||||
private Date tanggalProses;
|
||||
|
||||
public Date getTanggalProses() {
|
||||
return tanggalProses;
|
||||
}
|
||||
|
||||
public void setTanggalProses(Date tanggalProses) {
|
||||
this.tanggalProses = tanggalProses;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "JenisGajiFk")
|
||||
@NotNull(message = "Jenis Gaji Harus Diisi")
|
||||
@Caption(value = "Jenis Gaji")
|
||||
private JenisGaji jenisGaji;
|
||||
|
||||
public JenisGaji getJenisGaji() {
|
||||
return jenisGaji;
|
||||
}
|
||||
|
||||
public void setJenisGaji(JenisGaji jenisGaji) {
|
||||
this.jenisGaji = jenisGaji;
|
||||
}
|
||||
|
||||
@Column(name = "JenisGajiFk", insertable = false, updatable = false)
|
||||
private String jenisGajiId;
|
||||
|
||||
@ -69,14 +43,6 @@ public class PerhitunganPremiBPJSKesehatan extends BaseTransaction {
|
||||
@Caption(value = "Tahun U M R")
|
||||
private TahunUmr tahunUMR;
|
||||
|
||||
public TahunUmr getTahunUMR() {
|
||||
return tahunUMR;
|
||||
}
|
||||
|
||||
public void setTahunUMR(TahunUmr tahunUMR) {
|
||||
this.tahunUMR = tahunUMR;
|
||||
}
|
||||
|
||||
@Column(name = "TahunUMRFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String tahunUMRId;
|
||||
|
||||
@ -84,28 +50,12 @@ public class PerhitunganPremiBPJSKesehatan extends BaseTransaction {
|
||||
@Caption(value = "JumlahUMR")
|
||||
private String jumlahUMR;
|
||||
|
||||
public String getJumlahUMR() {
|
||||
return jumlahUMR;
|
||||
}
|
||||
|
||||
public void setJumlahUMR(String jumlahUMR) {
|
||||
this.jumlahUMR = jumlahUMR;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "NamaAsuransiFk")
|
||||
@NotNull(message = "Nama Asuransi Harus Diisi")
|
||||
@Caption(value = "Nama Asuransi")
|
||||
private NamaAsuransi namaAsuransi;
|
||||
|
||||
public NamaAsuransi getNamaAsuransi() {
|
||||
return namaAsuransi;
|
||||
}
|
||||
|
||||
public void setNamaAsuransi(NamaAsuransi namaAsuransi) {
|
||||
this.namaAsuransi = namaAsuransi;
|
||||
}
|
||||
|
||||
@Column(name = "NamaAsuransiFk", insertable = false, updatable = false)
|
||||
private Integer namaAsuransiId;
|
||||
|
||||
@ -113,12 +63,4 @@ public class PerhitunganPremiBPJSKesehatan extends BaseTransaction {
|
||||
@Caption(value = "Keterangan")
|
||||
private String keterangan;
|
||||
|
||||
public String getKeterangan() {
|
||||
return keterangan;
|
||||
}
|
||||
|
||||
public void setKeterangan(String keterangan) {
|
||||
this.keterangan = keterangan;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,109 +1,66 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
import javax.persistence.*;
|
||||
import com.jasamedika.medifirst2000.entities.JenisGaji;
|
||||
import com.jasamedika.medifirst2000.entities.TahunUmr;
|
||||
import com.jasamedika.medifirst2000.entities.NamaAsuransi;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* class PerhitunganPremiBPJSKetenagaKerjaan
|
||||
* class PerhitunganPremiBPJSKetenagaKerjaan
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "sdm_PerhitunganPremiBPJSKetenagaKerjaan_T")
|
||||
public class PerhitunganPremiBPJSKetenagaKerjaan extends BaseTransaction{
|
||||
@Column(name = "NomorGaji", nullable = false , length = 100)
|
||||
@Caption(value = "NomorGaji")
|
||||
private String nomorGaji ;
|
||||
public String getNomorGaji() {
|
||||
return nomorGaji ;
|
||||
}
|
||||
public void setNomorGaji(String nomorGaji ) {
|
||||
this.nomorGaji = nomorGaji ;
|
||||
}
|
||||
public class PerhitunganPremiBPJSKetenagaKerjaan extends BaseTransaction {
|
||||
|
||||
@Column(name = "TanggalProses", nullable = false , length = 100)
|
||||
@Caption(value = "TanggalProses")
|
||||
private Date tanggalProses ;
|
||||
public Date getTanggalProses() {
|
||||
return tanggalProses ;
|
||||
}
|
||||
public void setTanggalProses(Date tanggalProses ) {
|
||||
this.tanggalProses = tanggalProses ;
|
||||
}
|
||||
@Column(name = "NomorGaji", nullable = false, length = 100)
|
||||
@Caption(value = "NomorGaji")
|
||||
private String nomorGaji;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "JenisGajiFk")
|
||||
@NotNull(message = "Jenis Gaji Harus Diisi")
|
||||
@Caption(value = "Jenis Gaji")
|
||||
@Column(name = "TanggalProses", nullable = false, length = 100)
|
||||
@Caption(value = "TanggalProses")
|
||||
private Date tanggalProses;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "JenisGajiFk")
|
||||
@NotNull(message = "Jenis Gaji Harus Diisi")
|
||||
@Caption(value = "Jenis Gaji")
|
||||
private JenisGaji jenisGaji;
|
||||
public JenisGaji getJenisGaji() {
|
||||
return jenisGaji;
|
||||
}
|
||||
public void setJenisGaji(JenisGaji jenisGaji) {
|
||||
this.jenisGaji = jenisGaji;
|
||||
}
|
||||
@Column(name = "JenisGajiFk", insertable=false,updatable=false)
|
||||
|
||||
@Column(name = "JenisGajiFk", insertable = false, updatable = false)
|
||||
private String jenisGajiId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "TahunUMRFk")
|
||||
@NotNull(message = "Tahun U M R Harus Diisi")
|
||||
@Caption(value = "Tahun U M R")
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "TahunUMRFk")
|
||||
@NotNull(message = "Tahun U M R Harus Diisi")
|
||||
@Caption(value = "Tahun U M R")
|
||||
private TahunUmr tahunUMR;
|
||||
public TahunUmr getTahunUMR() {
|
||||
return tahunUMR;
|
||||
}
|
||||
public void setTahunUMR(TahunUmr tahunUMR) {
|
||||
this.tahunUMR = tahunUMR;
|
||||
}
|
||||
@Column(name = "TahunUMRFk", insertable=false,updatable=false)
|
||||
|
||||
@Column(name = "TahunUMRFk", insertable = false, updatable = false)
|
||||
private String tahunUMRId;
|
||||
|
||||
@Column(name = "JumlahUMR", nullable = false , length = 100)
|
||||
@Caption(value = "JumlahUMR")
|
||||
private String jumlahUMR ;
|
||||
public String getJumlahUMR() {
|
||||
return jumlahUMR ;
|
||||
}
|
||||
public void setJumlahUMR(String jumlahUMR ) {
|
||||
this.jumlahUMR = jumlahUMR ;
|
||||
}
|
||||
@Column(name = "JumlahUMR", nullable = false, length = 100)
|
||||
@Caption(value = "JumlahUMR")
|
||||
private String jumlahUMR;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "NamaAsuransiFk")
|
||||
@NotNull(message = "Nama Asuransi Harus Diisi")
|
||||
@Caption(value = "Nama Asuransi")
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "NamaAsuransiFk")
|
||||
@NotNull(message = "Nama Asuransi Harus Diisi")
|
||||
@Caption(value = "Nama Asuransi")
|
||||
private NamaAsuransi namaAsuransi;
|
||||
public NamaAsuransi getNamaAsuransi() {
|
||||
return namaAsuransi;
|
||||
}
|
||||
public void setNamaAsuransi(NamaAsuransi namaAsuransi) {
|
||||
this.namaAsuransi = namaAsuransi;
|
||||
}
|
||||
@Column(name = "NamaAsuransiFk", insertable=false,updatable=false)
|
||||
|
||||
@Column(name = "NamaAsuransiFk", insertable = false, updatable = false)
|
||||
private Integer namaAsuransiId;
|
||||
|
||||
@Column(name = "Keterangan", nullable = false , length = 100)
|
||||
@Caption(value = "Keterangan")
|
||||
private String keterangan ;
|
||||
public String getKeterangan() {
|
||||
return keterangan ;
|
||||
}
|
||||
public void setKeterangan(String keterangan ) {
|
||||
this.keterangan = keterangan ;
|
||||
}
|
||||
|
||||
@Column(name = "Keterangan", nullable = false, length = 100)
|
||||
@Caption(value = "Keterangan")
|
||||
private String keterangan;
|
||||
|
||||
}
|
||||
@ -1,129 +1,68 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
import javax.persistence.*;
|
||||
import com.jasamedika.medifirst2000.entities.StatusMeninggalDunia;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* class PerhitunganSantunanPegawaiMeninggalDunia
|
||||
* class PerhitunganSantunanPegawaiMeninggalDunia
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "sdm_PerhitunganSantunanPegawaiMeninggalDunia_T")
|
||||
public class PerhitunganSantunanPegawaiMeninggalDunia extends BaseTransaction{
|
||||
@Column(name = "NomorSantunan", nullable = false , length = 100)
|
||||
@Caption(value = "NomorSantunan")
|
||||
private String nomorSantunan ;
|
||||
public String getNomorSantunan() {
|
||||
return nomorSantunan ;
|
||||
}
|
||||
public void setNomorSantunan(String nomorSantunan ) {
|
||||
this.nomorSantunan = nomorSantunan ;
|
||||
}
|
||||
public class PerhitunganSantunanPegawaiMeninggalDunia extends BaseTransaction {
|
||||
|
||||
@Column(name = "TanggalProses", nullable = false , length = 100)
|
||||
@Caption(value = "TanggalProses")
|
||||
private Date tanggalProses ;
|
||||
public Date getTanggalProses() {
|
||||
return tanggalProses ;
|
||||
}
|
||||
public void setTanggalProses(Date tanggalProses ) {
|
||||
this.tanggalProses = tanggalProses ;
|
||||
}
|
||||
@Column(name = "NomorSantunan", nullable = false, length = 100)
|
||||
@Caption(value = "NomorSantunan")
|
||||
private String nomorSantunan;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "StatusMeninggalFk")
|
||||
@NotNull(message = "Status Meninggal Harus Diisi")
|
||||
@Caption(value = "Status Meninggal")
|
||||
@Column(name = "TanggalProses", nullable = false, length = 100)
|
||||
@Caption(value = "TanggalProses")
|
||||
private Date tanggalProses;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "StatusMeninggalFk")
|
||||
@NotNull(message = "Status Meninggal Harus Diisi")
|
||||
@Caption(value = "Status Meninggal")
|
||||
private StatusMeninggalDunia statusMeninggal;
|
||||
public StatusMeninggalDunia getStatusMeninggal() {
|
||||
return statusMeninggal;
|
||||
}
|
||||
public void setStatusMeninggal(StatusMeninggalDunia statusMeninggal) {
|
||||
this.statusMeninggal = statusMeninggal;
|
||||
}
|
||||
@Column(name = "StatusMeninggalFk", insertable=false,updatable=false)
|
||||
|
||||
@Column(name = "StatusMeninggalFk", insertable = false, updatable = false)
|
||||
private Integer statusMeninggalId;
|
||||
|
||||
@Column(name = "Nama", nullable = false , length = 100)
|
||||
@Caption(value = "Nama")
|
||||
private String nama ;
|
||||
public String getNama() {
|
||||
return nama ;
|
||||
}
|
||||
public void setNama(String nama ) {
|
||||
this.nama = nama ;
|
||||
}
|
||||
@Column(name = "Nama", nullable = false, length = 100)
|
||||
@Caption(value = "Nama")
|
||||
private String nama;
|
||||
|
||||
@Column(name = "JumlahOrang", nullable = false , length = 100)
|
||||
@Caption(value = "JumlahOrang")
|
||||
private Integer jumlahOrang ;
|
||||
public Integer getJumlahOrang() {
|
||||
return jumlahOrang ;
|
||||
}
|
||||
public void setJumlahOrang(Integer jumlahOrang ) {
|
||||
this.jumlahOrang = jumlahOrang ;
|
||||
}
|
||||
@Column(name = "JumlahOrang", nullable = false, length = 100)
|
||||
@Caption(value = "JumlahOrang")
|
||||
private Integer jumlahOrang;
|
||||
|
||||
@Column(name = "JenisSantunan1", nullable = false , length = 100)
|
||||
@Caption(value = "JenisSantunan1")
|
||||
private String jenisSantunan1 ;
|
||||
public String getJenisSantunan1() {
|
||||
return jenisSantunan1 ;
|
||||
}
|
||||
public void setJenisSantunan1(String jenisSantunan1 ) {
|
||||
this.jenisSantunan1 = jenisSantunan1 ;
|
||||
}
|
||||
@Column(name = "JenisSantunan1", nullable = false, length = 100)
|
||||
@Caption(value = "JenisSantunan1")
|
||||
private String jenisSantunan1;
|
||||
|
||||
@Column(name = "JenisSantunan2", nullable = false , length = 100)
|
||||
@Caption(value = "JenisSantunan2")
|
||||
private String jenisSantunan2 ;
|
||||
public String getJenisSantunan2() {
|
||||
return jenisSantunan2 ;
|
||||
}
|
||||
public void setJenisSantunan2(String jenisSantunan2 ) {
|
||||
this.jenisSantunan2 = jenisSantunan2 ;
|
||||
}
|
||||
@Column(name = "JenisSantunan2", nullable = false, length = 100)
|
||||
@Caption(value = "JenisSantunan2")
|
||||
private String jenisSantunan2;
|
||||
|
||||
@Column(name = "JumlahSantunan", nullable = false , length = 100)
|
||||
@Caption(value = "JumlahSantunan")
|
||||
private String jumlahSantunan ;
|
||||
public String getJumlahSantunan() {
|
||||
return jumlahSantunan ;
|
||||
}
|
||||
public void setJumlahSantunan(String jumlahSantunan ) {
|
||||
this.jumlahSantunan = jumlahSantunan ;
|
||||
}
|
||||
@Column(name = "JumlahSantunan", nullable = false, length = 100)
|
||||
@Caption(value = "JumlahSantunan")
|
||||
private String jumlahSantunan;
|
||||
|
||||
@Column(name = "JumlahKaranganBunga", nullable = false , length = 100)
|
||||
@Caption(value = "JumlahKaranganBunga")
|
||||
private Integer jumlahKaranganBunga ;
|
||||
public Integer getJumlahKaranganBunga() {
|
||||
return jumlahKaranganBunga ;
|
||||
}
|
||||
public void setJumlahKaranganBunga(Integer jumlahKaranganBunga ) {
|
||||
this.jumlahKaranganBunga = jumlahKaranganBunga ;
|
||||
}
|
||||
|
||||
@Column(name = "Total", nullable = false , length = 100)
|
||||
@Caption(value = "Total")
|
||||
private String total ;
|
||||
public String getTotal() {
|
||||
return total ;
|
||||
}
|
||||
public void setTotal(String total ) {
|
||||
this.total = total ;
|
||||
}
|
||||
@Column(name = "JumlahKaranganBunga", nullable = false, length = 100)
|
||||
@Caption(value = "JumlahKaranganBunga")
|
||||
private Integer jumlahKaranganBunga;
|
||||
|
||||
@Column(name = "Total", nullable = false, length = 100)
|
||||
@Caption(value = "Total")
|
||||
private String total;
|
||||
|
||||
}
|
||||
@ -1,54 +1,36 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
import javax.persistence.*;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* class PerhitunganUangLemburPegawai
|
||||
* class PerhitunganUangLemburPegawai
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "sdm_PerhitunganUangLemburPegawai_T")
|
||||
public class PerhitunganUangLemburPegawai extends BaseTransaction{
|
||||
@Column(name = "NomorUangLembur", nullable = false , length = 100)
|
||||
@Caption(value = "NomorUangLembur")
|
||||
private String nomorUangLembur ;
|
||||
public String getNomorUangLembur() {
|
||||
return nomorUangLembur ;
|
||||
}
|
||||
public void setNomorUangLembur(String nomorUangLembur ) {
|
||||
this.nomorUangLembur = nomorUangLembur ;
|
||||
}
|
||||
public class PerhitunganUangLemburPegawai extends BaseTransaction {
|
||||
|
||||
@Column(name = "TanggalProses", nullable = false , length = 100)
|
||||
@Caption(value = "TanggalProses")
|
||||
private Date tanggalProses ;
|
||||
public Date getTanggalProses() {
|
||||
return tanggalProses ;
|
||||
}
|
||||
public void setTanggalProses(Date tanggalProses ) {
|
||||
this.tanggalProses = tanggalProses ;
|
||||
}
|
||||
@Column(name = "NomorUangLembur", nullable = false, length = 100)
|
||||
@Caption(value = "NomorUangLembur")
|
||||
private String nomorUangLembur;
|
||||
|
||||
@Column(name = "Keterangan", nullable = false , length = 100)
|
||||
@Caption(value = "Keterangan")
|
||||
private String keterangan ;
|
||||
public String getKeterangan() {
|
||||
return keterangan ;
|
||||
}
|
||||
public void setKeterangan(String keterangan ) {
|
||||
this.keterangan = keterangan ;
|
||||
}
|
||||
@Column(name = "TanggalProses", nullable = false, length = 100)
|
||||
@Caption(value = "TanggalProses")
|
||||
private Date tanggalProses;
|
||||
|
||||
@Column(name = "Keterangan", nullable = false, length = 100)
|
||||
@Caption(value = "Keterangan")
|
||||
private String keterangan;
|
||||
|
||||
}
|
||||
@ -1,170 +1,69 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.persistence.*;
|
||||
import org.joda.time.DateTime;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
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.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* class PeriodeAccount
|
||||
* class PeriodeAccount
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PeriodeAccount_T")
|
||||
public class PeriodeAccount extends BaseTransaction {
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectJenisAccountFk")
|
||||
@NotNull(message="Object Jenis Account Harus Diisi")
|
||||
@Caption(value="Object Jenis Account")
|
||||
@NotNull(message = "Object Jenis Account Harus Diisi")
|
||||
@Caption(value = "Object Jenis Account")
|
||||
private JenisAccount kdjenisaccount;
|
||||
|
||||
@Column(name = "ObjectJenisAccountFk", insertable=false,updatable=false)
|
||||
@Column(name = "ObjectJenisAccountFk", insertable = false, updatable = false)
|
||||
private Integer ObjectJenisAccountId;
|
||||
|
||||
@Caption(value="Kode Periode Account")
|
||||
@Column(name = "KdPeriodeAccount", nullable = false )
|
||||
@Caption(value = "Kode Periode Account")
|
||||
@Column(name = "KdPeriodeAccount", nullable = false)
|
||||
private Integer kdperiodeaccount;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectRuanganFk")
|
||||
@NotNull(message="Object Ruangan Harus Diisi")
|
||||
@Caption(value="Object Ruangan")
|
||||
@NotNull(message = "Object Ruangan Harus Diisi")
|
||||
@Caption(value = "Object Ruangan")
|
||||
private Ruangan kdruangan;
|
||||
|
||||
@Column(name = "ObjectRuanganFk", insertable=false,updatable=false)
|
||||
@Column(name = "ObjectRuanganFk", insertable = false, updatable = false)
|
||||
private Integer ObjectRuanganId;
|
||||
|
||||
@Caption(value="Keterangan Lainnya")
|
||||
@Column(name = "KeteranganLainnya", nullable = true , length = 150)
|
||||
@Caption(value = "Keterangan Lainnya")
|
||||
@Column(name = "KeteranganLainnya", length = 150)
|
||||
private String keteranganlainnya;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "NoClosingFk")
|
||||
@Caption(value="No Closing")
|
||||
@Caption(value = "No Closing")
|
||||
private StrukClosing noclosing;
|
||||
|
||||
@Column(name = "NoClosingFk", insertable=false,updatable=false)
|
||||
@Column(name = "NoClosingFk", insertable = false, updatable = false)
|
||||
private String NoClosingId;
|
||||
|
||||
@Caption(value="Periode Account")
|
||||
@Column(name = "PeriodeAccount", nullable = false , length = 75)
|
||||
@Caption(value = "Periode Account")
|
||||
@Column(name = "PeriodeAccount", nullable = false, length = 75)
|
||||
private String periodeaccount;
|
||||
|
||||
@Caption(value="Tanggal Akhir Periode")
|
||||
@Column(name = "TglAkhirPeriode", nullable = false )
|
||||
@Caption(value = "Tanggal Akhir Periode")
|
||||
@Column(name = "TglAkhirPeriode", nullable = false)
|
||||
private Date tglakhirperiode;
|
||||
|
||||
@Caption(value="Tanggal Awal Periode")
|
||||
@Column(name = "TglAwalPeriode", nullable = false )
|
||||
@Caption(value = "Tanggal Awal Periode")
|
||||
@Column(name = "TglAwalPeriode", nullable = false)
|
||||
private Date tglawalperiode;
|
||||
|
||||
public JenisAccount getKdjenisaccount() {
|
||||
return kdjenisaccount;
|
||||
}
|
||||
|
||||
public void setKdjenisaccount(JenisAccount kdjenisaccount) {
|
||||
this.kdjenisaccount = kdjenisaccount;
|
||||
}
|
||||
|
||||
public Integer getObjectJenisAccountId() {
|
||||
return ObjectJenisAccountId;
|
||||
}
|
||||
|
||||
public void setObjectJenisAccountId(Integer objectJenisAccountId) {
|
||||
ObjectJenisAccountId = objectJenisAccountId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getKdperiodeaccount() {
|
||||
return kdperiodeaccount;
|
||||
}
|
||||
|
||||
public void setKdperiodeaccount(Integer kdperiodeaccount) {
|
||||
this.kdperiodeaccount = kdperiodeaccount;
|
||||
}
|
||||
|
||||
public Ruangan getKdruangan() {
|
||||
return kdruangan;
|
||||
}
|
||||
|
||||
public void setKdruangan(Ruangan kdruangan) {
|
||||
this.kdruangan = kdruangan;
|
||||
}
|
||||
|
||||
public Integer getObjectRuanganId() {
|
||||
return ObjectRuanganId;
|
||||
}
|
||||
|
||||
public void setObjectRuanganId(Integer objectRuanganId) {
|
||||
ObjectRuanganId = objectRuanganId;
|
||||
}
|
||||
|
||||
public String getKeteranganlainnya() {
|
||||
return keteranganlainnya;
|
||||
}
|
||||
|
||||
public void setKeteranganlainnya(String keteranganlainnya) {
|
||||
this.keteranganlainnya = keteranganlainnya;
|
||||
}
|
||||
|
||||
public StrukClosing getNoclosing() {
|
||||
return noclosing;
|
||||
}
|
||||
|
||||
public void setNoclosing(StrukClosing noclosing) {
|
||||
this.noclosing = noclosing;
|
||||
}
|
||||
|
||||
|
||||
public String getPeriodeaccount() {
|
||||
return periodeaccount;
|
||||
}
|
||||
|
||||
public void setPeriodeaccount(String periodeaccount) {
|
||||
this.periodeaccount = periodeaccount;
|
||||
}
|
||||
|
||||
public Date getTglakhirperiode() {
|
||||
return tglakhirperiode;
|
||||
}
|
||||
|
||||
public void setTglakhirperiode(Date tglakhirperiode) {
|
||||
this.tglakhirperiode = tglakhirperiode;
|
||||
}
|
||||
|
||||
public Date getTglawalperiode() {
|
||||
return tglawalperiode;
|
||||
}
|
||||
|
||||
public void setTglawalperiode(Date tglawalperiode) {
|
||||
this.tglawalperiode = tglawalperiode;
|
||||
}
|
||||
|
||||
public String getNoClosingId() {
|
||||
return NoClosingId;
|
||||
}
|
||||
|
||||
public void setNoClosingId(String noClosingId) {
|
||||
NoClosingId = noClosingId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,210 +0,0 @@
|
||||
/*package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.io.Serializable;
|
||||
import javax.persistence.*;
|
||||
import org.joda.time.DateTime;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
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.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
|
||||
*//**
|
||||
* class PeriodeAccountSaldo
|
||||
*
|
||||
* @author Generator
|
||||
*//*
|
||||
@Entity
|
||||
@Table(name = "PeriodeAccountSaldo_T")
|
||||
public class PeriodeAccountSaldo extends BaseTransaction {
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectAccountFk")
|
||||
@NotNull(message="Object Account Harus Diisi")
|
||||
@Caption(value="Object Account")
|
||||
private ChartOfAccount kdaccount;
|
||||
|
||||
public void setObjectAccount(ChartOfAccount kdaccount) {
|
||||
this.kdaccount = kdaccount;
|
||||
}
|
||||
|
||||
@Column(name = "KdAccount", nullable = false )
|
||||
public ChartOfAccount getObjectAccount(){
|
||||
return this.kdaccount;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectAccountFk", insertable=false,updatable=false)
|
||||
private Integer ObjectAccountId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectHistoryLoginDFk")
|
||||
@Caption(value="Object History Login D")
|
||||
private HistoryLoginModulAplikasi kdhistorylogind;
|
||||
|
||||
public void setObjectHistoryLoginD(HistoryLoginModulAplikasi kdhistorylogind) {
|
||||
this.kdhistorylogind = kdhistorylogind;
|
||||
}
|
||||
|
||||
@Column(name = "KdHistoryLoginD", nullable = true )
|
||||
public HistoryLoginModulAplikasi getObjectHistoryLoginD(){
|
||||
return this.kdhistorylogind;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectHistoryLoginDFk", insertable=false,updatable=false)
|
||||
private Integer ObjectHistoryLoginDId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectHistoryLoginIFk")
|
||||
@NotNull(message="Object History Login I Harus Diisi")
|
||||
@Caption(value="Object History Login I")
|
||||
private HistoryLoginModulAplikasi kdhistorylogini;
|
||||
|
||||
public void setObjectHistoryLoginI(HistoryLoginModulAplikasi kdhistorylogini) {
|
||||
this.kdhistorylogini = kdhistorylogini;
|
||||
}
|
||||
|
||||
@Column(name = "KdHistoryLoginI", nullable = false )
|
||||
public HistoryLoginModulAplikasi getObjectHistoryLoginI(){
|
||||
return this.kdhistorylogini;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectHistoryLoginIFk", insertable=false,updatable=false)
|
||||
private Integer ObjectHistoryLoginIId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectHistoryLoginSFk")
|
||||
@Caption(value="Object History Login S")
|
||||
private HistoryLoginModulAplikasi kdhistorylogins;
|
||||
|
||||
public void setObjectHistoryLoginS(HistoryLoginModulAplikasi kdhistorylogins) {
|
||||
this.kdhistorylogins = kdhistorylogins;
|
||||
}
|
||||
|
||||
@Column(name = "KdHistoryLoginS", nullable = true )
|
||||
public HistoryLoginModulAplikasi getObjectHistoryLoginS(){
|
||||
return this.kdhistorylogins;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectHistoryLoginSFk", insertable=false,updatable=false)
|
||||
private Integer ObjectHistoryLoginSId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectHistoryLoginUFk")
|
||||
@Caption(value="Object History Login U")
|
||||
private HistoryLoginModulAplikasi kdhistoryloginu;
|
||||
|
||||
public void setObjectHistoryLoginU(HistoryLoginModulAplikasi kdhistoryloginu) {
|
||||
this.kdhistoryloginu = kdhistoryloginu;
|
||||
}
|
||||
|
||||
@Column(name = "KdHistoryLoginU", nullable = true )
|
||||
public HistoryLoginModulAplikasi getObjectHistoryLoginU(){
|
||||
return this.kdhistoryloginu;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectHistoryLoginUFk", insertable=false,updatable=false)
|
||||
private Integer ObjectHistoryLoginUId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPeriodeAccountFk")
|
||||
@NotNull(message="Object Periode Account Harus Diisi")
|
||||
@Caption(value="Object Periode Account")
|
||||
private PeriodeAccount kdperiodeaccount;
|
||||
|
||||
public void setObjectPeriodeAccount(PeriodeAccount kdperiodeaccount) {
|
||||
this.kdperiodeaccount = kdperiodeaccount;
|
||||
}
|
||||
|
||||
@Column(name = "KdPeriodeAccount", nullable = false )
|
||||
public PeriodeAccount getObjectPeriodeAccount(){
|
||||
return this.kdperiodeaccount;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectPeriodeAccountFk", insertable=false,updatable=false)
|
||||
private Integer ObjectPeriodeAccountId;
|
||||
|
||||
@Caption(value="Keterangan Lainnya")
|
||||
private String keteranganlainnya;
|
||||
|
||||
public void setKeteranganLainnya(String keteranganlainnya) {
|
||||
this.keteranganlainnya = keteranganlainnya;
|
||||
}
|
||||
|
||||
@Column(name = "KeteranganLainnya", nullable = true , length = 150)
|
||||
public String getKeteranganLainnya(){
|
||||
return this.keteranganlainnya;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "NoVerifikasiFk")
|
||||
@Caption(value="No Verifikasi")
|
||||
private StrukVerifikasi noverifikasi;
|
||||
|
||||
public void setNoVerifikasi(StrukVerifikasi noverifikasi) {
|
||||
this.noverifikasi = noverifikasi;
|
||||
}
|
||||
|
||||
@Column(name = "NoVerifikasi", nullable = true , length = 10)
|
||||
public StrukVerifikasi getNoVerifikasi(){
|
||||
return this.noverifikasi;
|
||||
}
|
||||
|
||||
@Column(name = "NoVerifikasiFk", insertable=false,updatable=false)
|
||||
private Integer NoVerifikasiId;
|
||||
|
||||
@Caption(value="Saldo Akhir D Periode")
|
||||
private Double saldoakhirdperiode;
|
||||
|
||||
public void setSaldoAkhirDPeriode(Double saldoakhirdperiode) {
|
||||
this.saldoakhirdperiode = saldoakhirdperiode;
|
||||
}
|
||||
|
||||
@Column(name = "SaldoAkhirDPeriode", nullable = false )
|
||||
public Double getSaldoAkhirDPeriode(){
|
||||
return this.saldoakhirdperiode;
|
||||
}
|
||||
|
||||
@Caption(value="Saldo Akhir K Periode")
|
||||
private Double saldoakhirkperiode;
|
||||
|
||||
public void setSaldoAkhirKPeriode(Double saldoakhirkperiode) {
|
||||
this.saldoakhirkperiode = saldoakhirkperiode;
|
||||
}
|
||||
|
||||
@Column(name = "SaldoAkhirKPeriode", nullable = false )
|
||||
public Double getSaldoAkhirKPeriode(){
|
||||
return this.saldoakhirkperiode;
|
||||
}
|
||||
|
||||
@Caption(value="Saldo Awal D Periode")
|
||||
private Double saldoawaldperiode;
|
||||
|
||||
public void setSaldoAwalDPeriode(Double saldoawaldperiode) {
|
||||
this.saldoawaldperiode = saldoawaldperiode;
|
||||
}
|
||||
|
||||
@Column(name = "SaldoAwalDPeriode", nullable = false )
|
||||
public Double getSaldoAwalDPeriode(){
|
||||
return this.saldoawaldperiode;
|
||||
}
|
||||
|
||||
@Caption(value="Saldo Awal K Periode")
|
||||
private Double saldoawalkperiode;
|
||||
|
||||
public void setSaldoAwalKPeriode(Double saldoawalkperiode) {
|
||||
this.saldoawalkperiode = saldoawalkperiode;
|
||||
}
|
||||
|
||||
@Column(name = "SaldoAwalKPeriode", nullable = false )
|
||||
public Double getSaldoAwalKPeriode(){
|
||||
return this.saldoawalkperiode;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
*/
|
||||
@ -22,6 +22,7 @@ import static javax.persistence.GenerationType.SEQUENCE;
|
||||
@Entity
|
||||
@Table(name = "periode_monitoring_m", schema = "mkko")
|
||||
public class PeriodeMonitoring extends BaseActive implements Serializable {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "sg_periode_monitoring_m")
|
||||
@SequenceGenerator(name = "sg_periode_monitoring_m", schema = "mkko", sequenceName = "mkko.periode_monitoring_m_seq", allocationSize = 1)
|
||||
@ -33,4 +34,5 @@ public class PeriodeMonitoring extends BaseActive implements Serializable {
|
||||
@NotBlank(message = "Periode tidak boleh kosong")
|
||||
@Caption("Periode")
|
||||
private String periode;
|
||||
|
||||
}
|
||||
|
||||
@ -1,15 +1,16 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PeriodePelaporan_M")
|
||||
public class PeriodePelaporan extends BaseMaster {
|
||||
@ -18,26 +19,10 @@ public class PeriodePelaporan extends BaseMaster {
|
||||
@Caption(value = "Periode Pelaporan")
|
||||
private String periodePelaporan;
|
||||
|
||||
public String getPeriodePelaporan() {
|
||||
return periodePelaporan;
|
||||
}
|
||||
|
||||
public void setPeriodePelaporan(String periodePelaporan) {
|
||||
this.periodePelaporan = periodePelaporan;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.periodepelaporan_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.periodepelaporan_m_id_seq", sequenceName = "public.periodepelaporan_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.periodepelaporan_m_id_seq")
|
||||
@SequenceGenerator(name = "public.periodepelaporan_m_id_seq", sequenceName = "public.periodepelaporan_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,49 +1,35 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
|
||||
/**
|
||||
* class PeriodePengajar
|
||||
* class PeriodePengajar
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "sdm_PeriodePengajar_T")
|
||||
public class PeriodePengajar extends BaseTransaction{
|
||||
@Column(name = "Id", nullable = false , length = 100)
|
||||
@Caption(value = "Id")
|
||||
private Integer id ;
|
||||
public Integer getId() {
|
||||
return id ;
|
||||
}
|
||||
public void setId(Integer id ) {
|
||||
this.id = id ;
|
||||
}
|
||||
public class PeriodePengajar extends BaseTransaction {
|
||||
|
||||
@Column(name = "Kode", nullable = false , length = 100)
|
||||
@Caption(value = "Kode")
|
||||
private Integer kode ;
|
||||
public Integer getKode() {
|
||||
return kode ;
|
||||
}
|
||||
public void setKode(Integer kode ) {
|
||||
this.kode = kode ;
|
||||
}
|
||||
@Column(name = "Id", nullable = false, length = 100)
|
||||
@Caption(value = "Id")
|
||||
private Integer id;
|
||||
|
||||
@Column(name = "Name", nullable = false , length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name ;
|
||||
public String getName() {
|
||||
return name ;
|
||||
}
|
||||
public void setName(String name ) {
|
||||
this.name = name ;
|
||||
}
|
||||
@Column(name = "Kode", nullable = false, length = 100)
|
||||
@Caption(value = "Kode")
|
||||
private Integer kode;
|
||||
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
}
|
||||
@ -1,59 +1,37 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class PeriodePinjaman
|
||||
* class PeriodePinjaman
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "sdm_PeriodePinjaman_M")
|
||||
public class PeriodePinjaman extends BaseMaster{
|
||||
|
||||
public class PeriodePinjaman extends BaseMaster {
|
||||
|
||||
@Column(name = "Kode", nullable = false , length = 100)
|
||||
@Caption(value = "Kode")
|
||||
private Integer kode ;
|
||||
public Integer getKode() {
|
||||
return kode ;
|
||||
}
|
||||
public void setKode(Integer kode ) {
|
||||
this.kode = kode ;
|
||||
}
|
||||
@Column(name = "Kode", nullable = false, length = 100)
|
||||
@Caption(value = "Kode")
|
||||
private Integer kode;
|
||||
|
||||
@Column(name = "Name", nullable = false , length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name ;
|
||||
public String getName() {
|
||||
return name ;
|
||||
}
|
||||
public void setName(String name ) {
|
||||
this.name = name ;
|
||||
}
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.sdm_PeriodePinjaman_M_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.sdm_PeriodePinjaman_M_id_seq", sequenceName = "public.sdm_PeriodePinjaman_M_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.sdm_PeriodePinjaman_M_id_seq")
|
||||
@SequenceGenerator(name = "public.sdm_PeriodePinjaman_M_id_seq", sequenceName = "public.sdm_PeriodePinjaman_M_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,16 +1,17 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PerizinanLimbah_M")
|
||||
public class PerizinanLimbah extends BaseMaster {
|
||||
@ -20,26 +21,10 @@ public class PerizinanLimbah extends BaseMaster {
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.perizinanlimbah_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.perizinanlimbah_m_id_seq", sequenceName = "public.perizinanlimbah_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.perizinanlimbah_m_id_seq")
|
||||
@SequenceGenerator(name = "public.perizinanlimbah_m_id_seq", sequenceName = "public.perizinanlimbah_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,16 +1,17 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "Perlakuan_M")
|
||||
public class Perlakuan extends BaseMaster {
|
||||
@ -20,26 +21,10 @@ public class Perlakuan extends BaseMaster {
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.perlakuan_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.perlakuan_m_id_seq", sequenceName = "public.perlakuan_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.perlakuan_m_id_seq")
|
||||
@SequenceGenerator(name = "public.perlakuan_m_id_seq", sequenceName = "public.perlakuan_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,22 +1,21 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonManagedReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import static javax.persistence.CascadeType.ALL;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PermintaanBarangDariRuangan_T")
|
||||
public class PermintaanBarangDariRuangan extends BaseTransaction {
|
||||
@ -50,48 +49,8 @@ public class PermintaanBarangDariRuangan extends BaseTransaction {
|
||||
private Integer ruanganId;
|
||||
|
||||
@JsonManagedReference
|
||||
@OneToMany(cascade = CascadeType.ALL, mappedBy = "permintaanBarangDariRuangan")
|
||||
@OneToMany(cascade = ALL, mappedBy = "permintaanBarangDariRuangan")
|
||||
@Caption(value = "permintaanBarangDariRuanganSet")
|
||||
private Set<PermintaanBarangDariRuanganSet> permintaanBarangDariRuanganSet = new HashSet<PermintaanBarangDariRuanganSet>();
|
||||
|
||||
public String getNoOrder() {
|
||||
return noOrder;
|
||||
}
|
||||
|
||||
public void setNoOrder(String noOrder) {
|
||||
this.noOrder = noOrder;
|
||||
}
|
||||
|
||||
public Date getTglOrder() {
|
||||
return tglOrder;
|
||||
}
|
||||
|
||||
public void setTglOrder(Date tglOrder) {
|
||||
this.tglOrder = tglOrder;
|
||||
}
|
||||
|
||||
public StatusBarang getStatusBarang() {
|
||||
return statusBarang;
|
||||
}
|
||||
|
||||
public void setStatusBarang(StatusBarang statusBarang) {
|
||||
this.statusBarang = statusBarang;
|
||||
}
|
||||
|
||||
public Ruangan getRuangan() {
|
||||
return ruangan;
|
||||
}
|
||||
|
||||
public void setRuangan(Ruangan ruangan) {
|
||||
this.ruangan = ruangan;
|
||||
}
|
||||
|
||||
public Set<PermintaanBarangDariRuanganSet> getPermintaanBarangDariRuanganSet() {
|
||||
return permintaanBarangDariRuanganSet;
|
||||
}
|
||||
|
||||
public void setPermintaanBarangDariRuanganSet(Set<PermintaanBarangDariRuanganSet> permintaanBarangDariRuanganSet) {
|
||||
this.permintaanBarangDariRuanganSet = permintaanBarangDariRuanganSet;
|
||||
}
|
||||
private Set<PermintaanBarangDariRuanganSet> permintaanBarangDariRuanganSet = new HashSet<>();
|
||||
|
||||
}
|
||||
|
||||
@ -1,15 +1,14 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PermintaanBarangDariRuanganSet_T")
|
||||
public class PermintaanBarangDariRuanganSet extends BaseTransaction {
|
||||
@ -40,44 +39,4 @@ public class PermintaanBarangDariRuanganSet extends BaseTransaction {
|
||||
@Caption(value = "Satuan")
|
||||
private String satuan;
|
||||
|
||||
public String getNamaBarang() {
|
||||
return namaBarang;
|
||||
}
|
||||
|
||||
public void setNamaBarang(String namaBarang) {
|
||||
this.namaBarang = namaBarang;
|
||||
}
|
||||
|
||||
public Integer getStok() {
|
||||
return stok;
|
||||
}
|
||||
|
||||
public void setStok(Integer stok) {
|
||||
this.stok = stok;
|
||||
}
|
||||
|
||||
public Integer getQty() {
|
||||
return qty;
|
||||
}
|
||||
|
||||
public void setQty(Integer qty) {
|
||||
this.qty = qty;
|
||||
}
|
||||
|
||||
public String getSatuan() {
|
||||
return satuan;
|
||||
}
|
||||
|
||||
public void setSatuan(String satuan) {
|
||||
this.satuan = satuan;
|
||||
}
|
||||
|
||||
public PermintaanBarangDariRuangan getPermintaanBarangDariRuangan() {
|
||||
return permintaanBarangDariRuangan;
|
||||
}
|
||||
|
||||
public void setPermintaanBarangDariRuangan(PermintaanBarangDariRuangan permintaanBarangDariRuangan) {
|
||||
this.permintaanBarangDariRuangan = permintaanBarangDariRuangan;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,37 +1,29 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* class PermohonanCutiPegawai
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "sdm_PermohonanCutiPegawai_T")
|
||||
public class PermohonanCutiPegawai extends BaseTransaction {
|
||||
|
||||
@Column(name = "NomorPermohonan", nullable = false, length = 100)
|
||||
@Caption(value = "NomorPermohonan")
|
||||
private String nomorPermohonan;
|
||||
|
||||
public String getNomorPermohonan() {
|
||||
return nomorPermohonan;
|
||||
}
|
||||
|
||||
public void setNomorPermohonan(String nomorPermohonan) {
|
||||
this.nomorPermohonan = nomorPermohonan;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "Pegawai")
|
||||
@NotNull(message = "Pegawai Harus Diisi")
|
||||
@ -45,28 +37,12 @@ public class PermohonanCutiPegawai extends BaseTransaction {
|
||||
@Caption(value = "PolaJadwal")
|
||||
private String polaJadwal;
|
||||
|
||||
public String getPolaJadwal() {
|
||||
return polaJadwal;
|
||||
}
|
||||
|
||||
public void setPolaJadwal(String polaJadwal) {
|
||||
this.polaJadwal = polaJadwal;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "JenisCutiFk")
|
||||
@NotNull(message = "Jenis Cuti Harus Diisi")
|
||||
@Caption(value = "Jenis Cuti")
|
||||
private JenisCuti jenisCuti;
|
||||
|
||||
public JenisCuti getJenisCuti() {
|
||||
return jenisCuti;
|
||||
}
|
||||
|
||||
public void setJenisCuti(JenisCuti jenisCuti) {
|
||||
this.jenisCuti = jenisCuti;
|
||||
}
|
||||
|
||||
@Column(name = "JenisCutiFk", insertable = false, updatable = false)
|
||||
private Integer jenisCutiId;
|
||||
|
||||
@ -74,92 +50,28 @@ public class PermohonanCutiPegawai extends BaseTransaction {
|
||||
@Caption(value = "Tahun")
|
||||
private Integer tahun;
|
||||
|
||||
public Integer getTahun() {
|
||||
return tahun;
|
||||
}
|
||||
|
||||
public void setTahun(Integer tahun) {
|
||||
this.tahun = tahun;
|
||||
}
|
||||
|
||||
@Column(name = "JatahCuti", nullable = false, length = 100)
|
||||
@Caption(value = "JatahCuti")
|
||||
private Integer jatahCuti;
|
||||
|
||||
public Integer getJatahCuti() {
|
||||
return jatahCuti;
|
||||
}
|
||||
|
||||
public void setJatahCuti(Integer jatahCuti) {
|
||||
this.jatahCuti = jatahCuti;
|
||||
}
|
||||
|
||||
@Column(name = "TanggalAwalCuti", nullable = false, length = 100)
|
||||
@Caption(value = "TanggalAwalCuti")
|
||||
private Date tanggalAwalCuti;
|
||||
|
||||
public Date getTanggalAwalCuti() {
|
||||
return tanggalAwalCuti;
|
||||
}
|
||||
|
||||
public void setTanggalAwalCuti(Date tanggalAwalCuti) {
|
||||
this.tanggalAwalCuti = tanggalAwalCuti;
|
||||
}
|
||||
|
||||
@Column(name = "TanggalAkhirCuti", nullable = false, length = 100)
|
||||
@Caption(value = "TanggalAkhirCuti")
|
||||
private Date tanggalAkhirCuti;
|
||||
|
||||
public Date getTanggalAkhirCuti() {
|
||||
return tanggalAkhirCuti;
|
||||
}
|
||||
|
||||
public void setTanggalAkhirCuti(Date tanggalAkhirCuti) {
|
||||
this.tanggalAkhirCuti = tanggalAkhirCuti;
|
||||
}
|
||||
|
||||
public Pegawai getPegawai() {
|
||||
return pegawai;
|
||||
}
|
||||
|
||||
public void setPegawai(Pegawai pegawai) {
|
||||
this.pegawai = pegawai;
|
||||
}
|
||||
|
||||
@Column(name = "JumlahHari", nullable = false, length = 100)
|
||||
@Caption(value = "JumlahHari")
|
||||
private Integer jumlahHari;
|
||||
|
||||
public Integer getJumlahHari() {
|
||||
return jumlahHari;
|
||||
}
|
||||
|
||||
public void setJumlahHari(Integer jumlahHari) {
|
||||
this.jumlahHari = jumlahHari;
|
||||
}
|
||||
|
||||
@Column(name = "SisaCuti", nullable = false, length = 100)
|
||||
@Caption(value = "SisaCuti")
|
||||
private Integer sisaCuti;
|
||||
|
||||
public Integer getSisaCuti() {
|
||||
return sisaCuti;
|
||||
}
|
||||
|
||||
public void setSisaCuti(Integer sisaCuti) {
|
||||
this.sisaCuti = sisaCuti;
|
||||
}
|
||||
|
||||
@Column(name = "Keterangan", nullable = false, length = 100)
|
||||
@Caption(value = "Keterangan")
|
||||
private String keterangan;
|
||||
|
||||
public String getKeterangan() {
|
||||
return keterangan;
|
||||
}
|
||||
|
||||
public void setKeterangan(String keterangan) {
|
||||
this.keterangan = keterangan;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,90 +1,42 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.sql.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;import org.hibernate.envers.Audited;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Entity //@Audited
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.sql.Date;
|
||||
|
||||
/**
|
||||
* @author Shakato
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PernahDirawatDetail_T")
|
||||
public class PernahDirawatDetail extends BaseTransaction {
|
||||
/**
|
||||
* @author Shakato
|
||||
*/
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectRiwayatKesehatanFk")
|
||||
@Caption(value = "ID RiwayatKesehatan")
|
||||
//@NotNull(message = "ID HasilTriase tidak boleh kosong")
|
||||
private RiwayatKesehatan riwayatKesehatan;
|
||||
|
||||
@Column(name = "ObjectRiwayatKesehatanFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectRiwayatKesehatanFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String riwayatKesehatanId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectDiagnosaFk")
|
||||
@Caption(value = "ID Diagnosa")
|
||||
@NotNull(message = "ID Diagnosa tidak boleh kosong")
|
||||
private Diagnosa diagnosa;
|
||||
|
||||
|
||||
@Column(name = "ObjectDiagnosaFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer diagnosaId;
|
||||
|
||||
@Column(name = "tanggal", nullable = true)
|
||||
@Column(name = "tanggal")
|
||||
@Caption(value = "tanggal")
|
||||
private Date tanggal;
|
||||
|
||||
public RiwayatKesehatan getRiwayatKesehatan() {
|
||||
return riwayatKesehatan;
|
||||
}
|
||||
|
||||
public void setRiwayatKesehatan(RiwayatKesehatan riwayatKesehatan) {
|
||||
this.riwayatKesehatan = riwayatKesehatan;
|
||||
}
|
||||
|
||||
public String getRiwayatKesehatanId() {
|
||||
return riwayatKesehatanId;
|
||||
}
|
||||
|
||||
public void setRiwayatKesehatanId(String riwayatKesehatanId) {
|
||||
this.riwayatKesehatanId = riwayatKesehatanId;
|
||||
}
|
||||
|
||||
public Diagnosa getDiagnosa() {
|
||||
return diagnosa;
|
||||
}
|
||||
|
||||
public void setDiagnosa(Diagnosa diagnosa) {
|
||||
this.diagnosa = diagnosa;
|
||||
}
|
||||
|
||||
public Integer getDiagnosaId() {
|
||||
return diagnosaId;
|
||||
}
|
||||
|
||||
public void setDiagnosaId(Integer diagnosaId) {
|
||||
this.diagnosaId = diagnosaId;
|
||||
}
|
||||
|
||||
public Date getTanggal() {
|
||||
return tanggal;
|
||||
}
|
||||
|
||||
public void setTanggal(Date tanggal) {
|
||||
this.tanggal = tanggal;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,77 +1,43 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
import javax.persistence.*;
|
||||
import com.jasamedika.medifirst2000.entities.InstitusiPendidikan;
|
||||
import com.jasamedika.medifirst2000.entities.JurusanPeminatan;
|
||||
import com.jasamedika.medifirst2000.entities.Fakultas;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* class PernelitianEksternal
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "sdm_PernelitianEksternal_T")
|
||||
public class PernelitianEksternal extends BaseTransaction {
|
||||
|
||||
@Column(name = "Nim", nullable = false, length = 100)
|
||||
@Caption(value = "Nim")
|
||||
private String nim;
|
||||
|
||||
public String getNim() {
|
||||
return nim;
|
||||
}
|
||||
|
||||
public void setNim(String nim) {
|
||||
this.nim = nim;
|
||||
}
|
||||
|
||||
@Column(name = "NamaPeneliti", nullable = false, length = 100)
|
||||
@Caption(value = "NamaPeneliti")
|
||||
private String namaPeneliti;
|
||||
|
||||
public String getNamaPeneliti() {
|
||||
return namaPeneliti;
|
||||
}
|
||||
|
||||
public void setNamaPeneliti(String namaPeneliti) {
|
||||
this.namaPeneliti = namaPeneliti;
|
||||
}
|
||||
|
||||
@Column(name = "PeriodePengajaran", nullable = false, length = 100)
|
||||
@Caption(value = "PeriodePengajaran")
|
||||
private Integer periodePengajaran;
|
||||
|
||||
public Integer getPeriodePengajaran() {
|
||||
return periodePengajaran;
|
||||
}
|
||||
|
||||
public void setPeriodePengajaran(Integer periodePengajaran) {
|
||||
this.periodePengajaran = periodePengajaran;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "InstitusiPendidikanFk")
|
||||
@NotNull(message = "Institusi Pendidikan Harus Diisi")
|
||||
@Caption(value = "Institusi Pendidikan")
|
||||
private InstitusiPendidikan institusiPendidikan;
|
||||
|
||||
public InstitusiPendidikan getInstitusiPendidikan() {
|
||||
return institusiPendidikan;
|
||||
}
|
||||
|
||||
public void setInstitusiPendidikan(InstitusiPendidikan institusiPendidikan) {
|
||||
this.institusiPendidikan = institusiPendidikan;
|
||||
}
|
||||
|
||||
@Column(name = "InstitusiPendidikanFk", insertable = false, updatable = false)
|
||||
private Integer institusiPendidikanId;
|
||||
|
||||
@ -81,14 +47,6 @@ public class PernelitianEksternal extends BaseTransaction {
|
||||
@Caption(value = "Jurusan Peminatan")
|
||||
private JurusanPeminatan jurusanPeminatan;
|
||||
|
||||
public JurusanPeminatan getJurusanPeminatan() {
|
||||
return jurusanPeminatan;
|
||||
}
|
||||
|
||||
public void setJurusanPeminatan(JurusanPeminatan jurusanPeminatan) {
|
||||
this.jurusanPeminatan = jurusanPeminatan;
|
||||
}
|
||||
|
||||
@Column(name = "JurusanPeminatanFk", insertable = false, updatable = false)
|
||||
private Integer jurusanPeminatanId;
|
||||
|
||||
@ -98,14 +56,6 @@ public class PernelitianEksternal extends BaseTransaction {
|
||||
@Caption(value = "Fakultas")
|
||||
private Fakultas fakultas;
|
||||
|
||||
public Fakultas getFakultas() {
|
||||
return fakultas;
|
||||
}
|
||||
|
||||
public void setFakultas(Fakultas fakultas) {
|
||||
this.fakultas = fakultas;
|
||||
}
|
||||
|
||||
@Column(name = "FakultasFk", insertable = false, updatable = false)
|
||||
private Integer fakultasId;
|
||||
|
||||
@ -113,120 +63,40 @@ public class PernelitianEksternal extends BaseTransaction {
|
||||
@Caption(value = "JudulPeneltian")
|
||||
private String judulPeneltian;
|
||||
|
||||
public String getJudulPeneltian() {
|
||||
return judulPeneltian;
|
||||
}
|
||||
|
||||
public void setJudulPeneltian(String judulPeneltian) {
|
||||
this.judulPeneltian = judulPeneltian;
|
||||
}
|
||||
|
||||
@Column(name = "LokasiPenelitian", nullable = false, length = 100)
|
||||
@Caption(value = "LokasiPenelitian")
|
||||
private String lokasiPenelitian;
|
||||
|
||||
public String getLokasiPenelitian() {
|
||||
return lokasiPenelitian;
|
||||
}
|
||||
|
||||
public void setLokasiPenelitian(String lokasiPenelitian) {
|
||||
this.lokasiPenelitian = lokasiPenelitian;
|
||||
}
|
||||
|
||||
@Column(name = "TanggalMulai", nullable = false, length = 100)
|
||||
@Caption(value = "TanggalMulai")
|
||||
private Date tanggalMulai;
|
||||
|
||||
public Date getTanggalMulai() {
|
||||
return tanggalMulai;
|
||||
}
|
||||
|
||||
public void setTanggalMulai(Date tanggalMulai) {
|
||||
this.tanggalMulai = tanggalMulai;
|
||||
}
|
||||
|
||||
@Column(name = "NamaPendamping", nullable = false, length = 100)
|
||||
@Caption(value = "NamaPendamping")
|
||||
private String NamaPendamping;
|
||||
|
||||
public String getNamaPendamping() {
|
||||
return NamaPendamping;
|
||||
}
|
||||
|
||||
public void setNamaPendamping(String NamaPendamping) {
|
||||
this.NamaPendamping = NamaPendamping;
|
||||
}
|
||||
|
||||
@Column(name = "BiayaPenelitian", nullable = false, length = 100)
|
||||
@Caption(value = "BiayaPenelitian")
|
||||
private Integer biayaPenelitian;
|
||||
|
||||
public Integer getBiayaPenelitian() {
|
||||
return biayaPenelitian;
|
||||
}
|
||||
|
||||
public void setBiayaPenelitian(Integer biayaPenelitian) {
|
||||
this.biayaPenelitian = biayaPenelitian;
|
||||
}
|
||||
|
||||
@Column(name = "TanggalPembayaran", nullable = false, length = 100)
|
||||
@Caption(value = "TanggalPembayaran")
|
||||
private Date tanggalPembayaran;
|
||||
|
||||
public Date getTanggalPembayaran() {
|
||||
return tanggalPembayaran;
|
||||
}
|
||||
|
||||
public void setTanggalPembayaran(Date tanggalPembayaran) {
|
||||
this.tanggalPembayaran = tanggalPembayaran;
|
||||
}
|
||||
|
||||
@Column(name = "NomorKwitansi", nullable = false, length = 100)
|
||||
@Caption(value = "NomorKwitansi")
|
||||
private String nomorKwitansi;
|
||||
|
||||
public String getNomorKwitansi() {
|
||||
return nomorKwitansi;
|
||||
}
|
||||
|
||||
public void setNomorKwitansi(String nomorKwitansi) {
|
||||
this.nomorKwitansi = nomorKwitansi;
|
||||
}
|
||||
|
||||
@Column(name = "TanggalSelesai", nullable = false, length = 100)
|
||||
@Caption(value = "TanggalSelesai")
|
||||
private Date tanggalSelesai;
|
||||
|
||||
public Date getTanggalSelesai() {
|
||||
return tanggalSelesai;
|
||||
}
|
||||
|
||||
public void setTanggalSelesai(Date tanggalSelesai) {
|
||||
this.tanggalSelesai = tanggalSelesai;
|
||||
}
|
||||
|
||||
@Column(name = "TanggalPresentasi", nullable = false, length = 100)
|
||||
@Caption(value = "TanggalPresentasi")
|
||||
private Date tanggalPresentasi;
|
||||
|
||||
public Date getTanggalPresentasi() {
|
||||
return tanggalPresentasi;
|
||||
}
|
||||
|
||||
public void setTanggalPresentasi(Date tanggalPresentasi) {
|
||||
this.tanggalPresentasi = tanggalPresentasi;
|
||||
}
|
||||
|
||||
@Column(name = "LaporanPenelitian", nullable = false, length = 100)
|
||||
@Caption(value = "LaporanPenelitian")
|
||||
private String laporanPenelitian;
|
||||
|
||||
public String getLaporanPenelitian() {
|
||||
return laporanPenelitian;
|
||||
}
|
||||
|
||||
public void setLaporanPenelitian(String laporanPenelitian) {
|
||||
this.laporanPenelitian = laporanPenelitian;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,44 +1,30 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_Persalinan_M")
|
||||
public class Persalinan extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Name tidak boleh kosong")
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.persalinan_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.persalinan_m_id_seq", sequenceName = "public.persalinan_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.persalinan_m_id_seq")
|
||||
@SequenceGenerator(name = "public.persalinan_m_id_seq", sequenceName = "public.persalinan_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,151 +1,82 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.io.Serializable;
|
||||
import org.hibernate.envers.Audited;
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
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.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import org.hibernate.envers.Audited;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class PersenHargaJualProduk
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PersenHargaJualProduk_M")
|
||||
public class PersenHargaJualProduk extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Jenis Harga Netto tidak boleh kosong")
|
||||
@Column(name = "JenisHargaNetto", nullable = false)
|
||||
@Caption(value = "Jenis Harga Netto")
|
||||
private Byte jenisHargaNetto;
|
||||
|
||||
public void setJenisHargaNetto(Byte jenisHargaNetto) {
|
||||
this.jenisHargaNetto = jenisHargaNetto;
|
||||
}
|
||||
|
||||
public Byte getJenisHargaNetto() {
|
||||
return this.jenisHargaNetto;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectAsalProdukFk")
|
||||
@NotNull(message = "Kd Asal Produk tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Asal Produk")
|
||||
private AsalProduk asalProduk;
|
||||
|
||||
public void setAsalProduk(AsalProduk asalProduk) {
|
||||
this.asalProduk = asalProduk;
|
||||
}
|
||||
|
||||
public AsalProduk getAsalProduk() {
|
||||
return this.asalProduk;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectAsalProdukFk", insertable = false, updatable = false)
|
||||
private Integer asalProdukId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectJenisTransaksiFk")
|
||||
@NotNull(message = "Kd Jenis Transaksi tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Jenis Transaksi")
|
||||
private JenisTransaksi jenisTransaksi;
|
||||
|
||||
public void setJenisTransaksi(JenisTransaksi jenisTransaksi) {
|
||||
this.jenisTransaksi = jenisTransaksi;
|
||||
}
|
||||
|
||||
public JenisTransaksi getJenisTransaksi() {
|
||||
return this.jenisTransaksi;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectJenisTransaksiFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer jenisTransaksiId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKelasFk")
|
||||
@NotNull(message = "Kd Kelas tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Kelas")
|
||||
private DetailKamar kelas;
|
||||
|
||||
public void setKelas(DetailKamar kelas) {
|
||||
this.kelas = kelas;
|
||||
}
|
||||
|
||||
public DetailKamar getKelas() {
|
||||
return this.kelas;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectKelasFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer kelasId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKelasPembandingFk")
|
||||
|
||||
@Caption(value = "Object Kelas Pembanding")
|
||||
private DetailKamar kelasPembanding;
|
||||
|
||||
public void setKelasPembanding(DetailKamar kelasPembanding) {
|
||||
this.kelasPembanding = kelasPembanding;
|
||||
}
|
||||
|
||||
public DetailKamar getKelasPembanding() {
|
||||
return this.kelasPembanding;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectKelasPembandingFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer kelasPembandingId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKelasTarifFk")
|
||||
@NotNull(message = "Kd Kelas Tarif tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Kelas Tarif")
|
||||
private DetailKamar kelasTarif;
|
||||
|
||||
public void setKelasTarif(DetailKamar kelasTarif) {
|
||||
this.kelasTarif = kelasTarif;
|
||||
}
|
||||
|
||||
public DetailKamar getKelasTarif() {
|
||||
return this.kelasTarif;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectKelasTarifFk", insertable = false, updatable = false)
|
||||
private Integer kelasTarifId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKelompokPasienFk")
|
||||
@NotNull(message = "Kd Kelompok Pasien tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Kelompok Pasien")
|
||||
private KelompokPasien kelompokPasien;
|
||||
|
||||
public void setKelompokPasien(KelompokPasien kelompokPasien) {
|
||||
this.kelompokPasien = kelompokPasien;
|
||||
}
|
||||
|
||||
public KelompokPasien getKelompokPasien() {
|
||||
return this.kelompokPasien;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectKelompokPasienFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer kelompokPasienId;
|
||||
|
||||
@ -154,29 +85,12 @@ public class PersenHargaJualProduk extends BaseMaster {
|
||||
@Caption(value = "Kode Penjamin Pasien")
|
||||
private short kdPenjaminPasien;
|
||||
|
||||
public void setKdPenjaminPasien(short kdPenjaminPasien) {
|
||||
this.kdPenjaminPasien = kdPenjaminPasien;
|
||||
}
|
||||
|
||||
public short getKdPenjaminPasien() {
|
||||
return this.kdPenjaminPasien;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectRangeFk")
|
||||
@NotNull(message = "Kd Range tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Range")
|
||||
private Range range;
|
||||
|
||||
public void setRange(Range range) {
|
||||
this.range = range;
|
||||
}
|
||||
|
||||
public Range getRange() {
|
||||
return this.range;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectRangeFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer rangeId;
|
||||
|
||||
@ -185,51 +99,19 @@ public class PersenHargaJualProduk extends BaseMaster {
|
||||
@Caption(value = "Persen Up Harga Satuan")
|
||||
private Double persenUpHargaSatuan;
|
||||
|
||||
public void setPersenUpHargaSatuan(Double persenUpHargaSatuan) {
|
||||
this.persenUpHargaSatuan = persenUpHargaSatuan;
|
||||
}
|
||||
|
||||
public Double getPersenUpHargaSatuan() {
|
||||
return this.persenUpHargaSatuan;
|
||||
}
|
||||
|
||||
@Column(name = "TglBerlakuAkhir", nullable = true)
|
||||
@Column(name = "TglBerlakuAkhir")
|
||||
@Caption(value = "Tanggal Berlaku Akhir")
|
||||
private Date tglBerlakuAkhir;
|
||||
|
||||
public void setTglBerlakuAkhir(Date tglBerlakuAkhir) {
|
||||
this.tglBerlakuAkhir = tglBerlakuAkhir;
|
||||
}
|
||||
|
||||
public Date getTglBerlakuAkhir() {
|
||||
return this.tglBerlakuAkhir;
|
||||
}
|
||||
|
||||
@NotNull(message = "Tgl Berlaku Awal tidak boleh kosong")
|
||||
@Column(name = "TglBerlakuAwal", nullable = false)
|
||||
@Caption(value = "Tanggal Berlaku Awal")
|
||||
private Date tglBerlakuAwal;
|
||||
|
||||
public void setTglBerlakuAwal(Date tglBerlakuAwal) {
|
||||
this.tglBerlakuAwal = tglBerlakuAwal;
|
||||
}
|
||||
|
||||
public Date getTglBerlakuAwal() {
|
||||
return this.tglBerlakuAwal;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.persenhargajualproduk_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.persenhargajualproduk_m_id_seq", sequenceName = "public.persenhargajualproduk_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.persenhargajualproduk_m_id_seq")
|
||||
@SequenceGenerator(name = "public.persenhargajualproduk_m_id_seq", sequenceName = "public.persenhargajualproduk_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,151 +1,82 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.io.Serializable;
|
||||
import org.hibernate.envers.Audited;
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
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.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import org.hibernate.envers.Audited;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class PersenHargaJualProdukD
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PersenHargaJualProdukD_M")
|
||||
public class PersenHargaJualProdukD extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Jenis Harga Netto tidak boleh kosong")
|
||||
@Column(name = "JenisHargaNetto", nullable = false)
|
||||
@Caption(value = "Jenis Harga Netto")
|
||||
private Byte jenisHargaNetto;
|
||||
|
||||
public void setJenisHargaNetto(Byte jenisHargaNetto) {
|
||||
this.jenisHargaNetto = jenisHargaNetto;
|
||||
}
|
||||
|
||||
public Byte getJenisHargaNetto() {
|
||||
return this.jenisHargaNetto;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectAsalProdukFk")
|
||||
@NotNull(message = "Kd Asal Produk tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Asal Produk")
|
||||
private AsalProduk asalProduk;
|
||||
|
||||
public void setAsalProduk(AsalProduk asalProduk) {
|
||||
this.asalProduk = asalProduk;
|
||||
}
|
||||
|
||||
public AsalProduk getAsalProduk() {
|
||||
return this.asalProduk;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectAsalProdukFk", insertable = false, updatable = false)
|
||||
private Integer asalProdukId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectJenisProdukFk")
|
||||
@NotNull(message = "Kd Jenis Produk tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Jenis Produk")
|
||||
private JenisProduk jenisProduk;
|
||||
|
||||
public void setJenisProduk(JenisProduk jenisProduk) {
|
||||
this.jenisProduk = jenisProduk;
|
||||
}
|
||||
|
||||
public JenisProduk getJenisProduk() {
|
||||
return this.jenisProduk;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectJenisProdukFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer jenisProdukId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKelasFk")
|
||||
@NotNull(message = "Kd Kelas tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Kelas")
|
||||
private DetailKamar kelas;
|
||||
|
||||
public void setKelas(DetailKamar kelas) {
|
||||
this.kelas = kelas;
|
||||
}
|
||||
|
||||
public DetailKamar getKelas() {
|
||||
return this.kelas;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectKelasFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer kelasId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKelasPembandingFk")
|
||||
|
||||
@Caption(value = "Object Kelas Pembanding")
|
||||
private DetailKamar kelasPembanding;
|
||||
|
||||
public void setKelasPembanding(DetailKamar kelasPembanding) {
|
||||
this.kelasPembanding = kelasPembanding;
|
||||
}
|
||||
|
||||
public DetailKamar getKelasPembanding() {
|
||||
return this.kelasPembanding;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectKelasPembandingFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer kelasPembandingId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKelasTarifFk")
|
||||
@NotNull(message = "Kd Kelas Tarif tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Kelas Tarif")
|
||||
private DetailKamar kelasTarif;
|
||||
|
||||
public void setKelasTarif(DetailKamar kelasTarif) {
|
||||
this.kelasTarif = kelasTarif;
|
||||
}
|
||||
|
||||
public DetailKamar getKelasTarif() {
|
||||
return this.kelasTarif;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectKelasTarifFk", insertable = false, updatable = false)
|
||||
private Integer kelasTarifId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKelompokPasienFk")
|
||||
@NotNull(message = "Kd Kelompok Pasien tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Kelompok Pasien")
|
||||
private KelompokPasien kelompokPasien;
|
||||
|
||||
public void setKelompokPasien(KelompokPasien kelompokPasien) {
|
||||
this.kelompokPasien = kelompokPasien;
|
||||
}
|
||||
|
||||
public KelompokPasien getKelompokPasien() {
|
||||
return this.kelompokPasien;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectKelompokPasienFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer kelompokPasienId;
|
||||
|
||||
@ -154,29 +85,12 @@ public class PersenHargaJualProdukD extends BaseMaster {
|
||||
@Caption(value = "Kode Penjamin Pasien")
|
||||
private short kdPenjaminPasien;
|
||||
|
||||
public void setKdPenjaminPasien(short kdPenjaminPasien) {
|
||||
this.kdPenjaminPasien = kdPenjaminPasien;
|
||||
}
|
||||
|
||||
public short getKdPenjaminPasien() {
|
||||
return this.kdPenjaminPasien;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectRangeFk")
|
||||
@NotNull(message = "Kd Range tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Range")
|
||||
private Range range;
|
||||
|
||||
public void setRange(Range range) {
|
||||
this.range = range;
|
||||
}
|
||||
|
||||
public Range getRange() {
|
||||
return this.range;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectRangeFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer rangeId;
|
||||
|
||||
@ -185,51 +99,19 @@ public class PersenHargaJualProdukD extends BaseMaster {
|
||||
@Caption(value = "Persen Up Harga Satuan")
|
||||
private Double persenUpHargaSatuan;
|
||||
|
||||
public void setPersenUpHargaSatuan(Double persenUpHargaSatuan) {
|
||||
this.persenUpHargaSatuan = persenUpHargaSatuan;
|
||||
}
|
||||
|
||||
public Double getPersenUpHargaSatuan() {
|
||||
return this.persenUpHargaSatuan;
|
||||
}
|
||||
|
||||
@Column(name = "TglBerlakuAkhir", nullable = true)
|
||||
@Column(name = "TglBerlakuAkhir")
|
||||
@Caption(value = "Tanggal Berlaku Akhir")
|
||||
private Date tglBerlakuAkhir;
|
||||
|
||||
public void setTglBerlakuAkhir(Date tglBerlakuAkhir) {
|
||||
this.tglBerlakuAkhir = tglBerlakuAkhir;
|
||||
}
|
||||
|
||||
public Date getTglBerlakuAkhir() {
|
||||
return this.tglBerlakuAkhir;
|
||||
}
|
||||
|
||||
@NotNull(message = "Tgl Berlaku Awal tidak boleh kosong")
|
||||
@Column(name = "TglBerlakuAwal", nullable = false)
|
||||
@Caption(value = "Tanggal Berlaku Awal")
|
||||
private Date tglBerlakuAwal;
|
||||
|
||||
public void setTglBerlakuAwal(Date tglBerlakuAwal) {
|
||||
this.tglBerlakuAwal = tglBerlakuAwal;
|
||||
}
|
||||
|
||||
public Date getTglBerlakuAwal() {
|
||||
return this.tglBerlakuAwal;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.persenhargajualprodukd_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.persenhargajualprodukd_m_id_seq", sequenceName = "public.persenhargajualprodukd_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.persenhargajualprodukd_m_id_seq")
|
||||
@SequenceGenerator(name = "public.persenhargajualprodukd_m_id_seq", sequenceName = "public.persenhargajualprodukd_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,163 +1,91 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
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 javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class PersenTanggunganPenjamin
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PersenTanggunganPenjamin_M")
|
||||
public class PersenTanggunganPenjamin extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Is Paket tidak boleh kosong")
|
||||
@Column(name = "isPaket", nullable = false)
|
||||
@Caption(value = "Is Paket")
|
||||
private Byte isPaket;
|
||||
|
||||
public void setIsPaket(Byte isPaket) {
|
||||
this.isPaket = isPaket;
|
||||
}
|
||||
|
||||
public Byte getIsPaket() {
|
||||
return this.isPaket;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectAsalProdukFk")
|
||||
@NotNull(message = "Kd Asal Produk tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Asal Produk")
|
||||
private AsalProduk asalProduk;
|
||||
|
||||
public void setAsalProduk(AsalProduk asalProduk) {
|
||||
this.asalProduk = asalProduk;
|
||||
}
|
||||
|
||||
public AsalProduk getAsalProduk() {
|
||||
return this.asalProduk;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectAsalProdukFk", insertable = false, updatable = false)
|
||||
private Integer asalProdukId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectGolonganAsuransiFk")
|
||||
@NotNull(message = "Kd Golongan Asuransi tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Golongan Asuransi")
|
||||
private GolonganAsuransi kdGolonganAsuransi;
|
||||
|
||||
public void setGolonganAsuransi(GolonganAsuransi kdGolonganAsuransi) {
|
||||
this.kdGolonganAsuransi = kdGolonganAsuransi;
|
||||
}
|
||||
|
||||
public GolonganAsuransi getGolonganAsuransi() {
|
||||
return this.kdGolonganAsuransi;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectGolonganAsuransiFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer golonganAsuransiId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectHubunganPesertaFk")
|
||||
@NotNull(message = "Kd Hubungan Peserta tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Hubungan Peserta")
|
||||
private HubunganPesertaAsuransi hubunganPeserta;
|
||||
|
||||
public void setHubunganPeserta(HubunganPesertaAsuransi hubunganPeserta) {
|
||||
this.hubunganPeserta = hubunganPeserta;
|
||||
}
|
||||
|
||||
public HubunganPesertaAsuransi getHubunganPeserta() {
|
||||
return this.hubunganPeserta;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectHubunganPesertaFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer hubunganPesertaId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectJenisTransaksiFk")
|
||||
@NotNull(message = "Kd Jenis Transaksi tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Jenis Transaksi")
|
||||
private JenisTransaksi jenisTransaksi;
|
||||
|
||||
public void setJenisTransaksi(JenisTransaksi jenisTransaksi) {
|
||||
this.jenisTransaksi = jenisTransaksi;
|
||||
}
|
||||
|
||||
public JenisTransaksi getJenisTransaksi() {
|
||||
return this.jenisTransaksi;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectJenisTransaksiFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer jenisTransaksiId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKelasFk")
|
||||
@NotNull(message = "Kd Kelas tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Kelas")
|
||||
private DetailKamar kelas;
|
||||
|
||||
public void setKelas(DetailKamar kelas) {
|
||||
this.kelas = kelas;
|
||||
}
|
||||
|
||||
public DetailKamar getKelas() {
|
||||
return this.kelas;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectKelasFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer kelasId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKelasSelisihBerlakuFk")
|
||||
|
||||
@Caption(value = "Object Kelas Selisih Berlaku")
|
||||
private DetailKamar kelasSelisihBerlaku;
|
||||
|
||||
public void setKelasSelisihBerlaku(DetailKamar kelasSelisihBerlaku) {
|
||||
this.kelasSelisihBerlaku = kelasSelisihBerlaku;
|
||||
}
|
||||
|
||||
public DetailKamar getKelasSelisihBerlaku() {
|
||||
return this.kelasSelisihBerlaku;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectKelasSelisihBerlakuFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer kelasSelisihBerlakuId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKelompokPasienFk")
|
||||
@NotNull(message = "Kd Kelompok Pasien tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Kelompok Pasien")
|
||||
private KelompokPasien kelompokPasien;
|
||||
|
||||
public void setKelompokPasien(KelompokPasien kelompokPasien) {
|
||||
this.kelompokPasien = kelompokPasien;
|
||||
}
|
||||
|
||||
public KelompokPasien getKelompokPasien() {
|
||||
return this.kelompokPasien;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectKelompokPasienFk", insertable = false, updatable = false)
|
||||
private Integer kelompokPasienId;
|
||||
|
||||
@ -166,166 +94,61 @@ public class PersenTanggunganPenjamin extends BaseMaster {
|
||||
@Caption(value = "Kode Penjamin Pasien")
|
||||
private Integer kdPenjaminPasien;
|
||||
|
||||
public void setKdPenjaminPasien(Integer kdPenjaminPasien) {
|
||||
this.kdPenjaminPasien = kdPenjaminPasien;
|
||||
}
|
||||
|
||||
public Integer getKdPenjaminPasien() {
|
||||
return this.kdPenjaminPasien;
|
||||
}
|
||||
|
||||
@Column(name = "MaxTPenjamin", nullable = true)
|
||||
@Column(name = "MaxTPenjamin")
|
||||
@Caption(value = "Max T Penjamin")
|
||||
private Double maxTPenjamin;
|
||||
|
||||
public void setMaxTPenjamin(Double maxTPenjamin) {
|
||||
this.maxTPenjamin = maxTPenjamin;
|
||||
}
|
||||
|
||||
public Double getMaxTPenjamin() {
|
||||
return this.maxTPenjamin;
|
||||
}
|
||||
|
||||
@Column(name = "MaxTPenjaminAll", nullable = true)
|
||||
@Column(name = "MaxTPenjaminAll")
|
||||
@Caption(value = "Max T Penjamin All")
|
||||
private Double maxTPenjaminAll;
|
||||
|
||||
public void setMaxTPenjaminAll(Double maxTPenjaminAll) {
|
||||
this.maxTPenjaminAll = maxTPenjaminAll;
|
||||
}
|
||||
|
||||
public Double getMaxTPenjaminAll() {
|
||||
return this.maxTPenjaminAll;
|
||||
}
|
||||
|
||||
@Column(name = "NoUrutKelasSelisihBerlaku", nullable = true)
|
||||
@Column(name = "NoUrutKelasSelisihBerlaku")
|
||||
@Caption(value = "No Urut Kelas Selisih Berlaku")
|
||||
private Byte noUrutKelasSelisihBerlaku;
|
||||
|
||||
public void setNoUrutKelasSelisihBerlaku(Byte noUrutKelasSelisihBerlaku) {
|
||||
this.noUrutKelasSelisihBerlaku = noUrutKelasSelisihBerlaku;
|
||||
}
|
||||
|
||||
public Byte getNoUrutKelasSelisihBerlaku() {
|
||||
return this.noUrutKelasSelisihBerlaku;
|
||||
}
|
||||
|
||||
@NotNull(message = "Persen Discount tidak boleh kosong")
|
||||
@Column(name = "PersenDiscount", nullable = false)
|
||||
@Caption(value = "Persen Discount")
|
||||
private Double persenDiscount;
|
||||
|
||||
public void setPersenDiscount(Double persenDiscount) {
|
||||
this.persenDiscount = persenDiscount;
|
||||
}
|
||||
|
||||
public Double getPersenDiscount() {
|
||||
return this.persenDiscount;
|
||||
}
|
||||
|
||||
@NotNull(message = "Persen T Penjamin tidak boleh kosong")
|
||||
@Column(name = "PersenTPenjamin", nullable = false)
|
||||
@Caption(value = "Persen T Penjamin")
|
||||
private Double persenTPenjamin;
|
||||
|
||||
public void setPersenTPenjamin(Double persenTPenjamin) {
|
||||
this.persenTPenjamin = persenTPenjamin;
|
||||
}
|
||||
|
||||
public Double getPersenTPenjamin() {
|
||||
return this.persenTPenjamin;
|
||||
}
|
||||
|
||||
@NotNull(message = "Persen T Penjamindr Selisih tidak boleh kosong")
|
||||
@Column(name = "PersenTPenjamindrSelisih", nullable = false)
|
||||
@Caption(value = "Persen T Penjamindr Selisih")
|
||||
private Double persenTPenjamindrSelisih;
|
||||
|
||||
public void setPersenTPenjamindrSelisih(Double persenTPenjamindrSelisih) {
|
||||
this.persenTPenjamindrSelisih = persenTPenjamindrSelisih;
|
||||
}
|
||||
|
||||
public Double getPersenTPenjamindrSelisih() {
|
||||
return this.persenTPenjamindrSelisih;
|
||||
}
|
||||
|
||||
@NotNull(message = "Persen T Profile tidak boleh kosong")
|
||||
@Column(name = "PersenTProfile", nullable = false)
|
||||
@Caption(value = "Persen T Profile")
|
||||
private Double persenTProfile;
|
||||
|
||||
public void setPersenTProfile(Double persenTProfile) {
|
||||
this.persenTProfile = persenTProfile;
|
||||
}
|
||||
|
||||
public Double getPersenTProfile() {
|
||||
return this.persenTProfile;
|
||||
}
|
||||
|
||||
@NotNull(message = "Persen T Profiledr Selisih tidak boleh kosong")
|
||||
@Column(name = "PersenTProfiledrSelisih", nullable = false)
|
||||
@Caption(value = "Persen T Profiledr Selisih")
|
||||
private Double persenTProfiledrSelisih;
|
||||
|
||||
public void setPersenTProfiledrSelisih(Double persenTProfiledrSelisih) {
|
||||
this.persenTProfiledrSelisih = persenTProfiledrSelisih;
|
||||
}
|
||||
|
||||
public Double getPersenTProfiledrSelisih() {
|
||||
return this.persenTProfiledrSelisih;
|
||||
}
|
||||
|
||||
@NotNull(message = "Qty Max Kunjungan tidak boleh kosong")
|
||||
@Column(name = "QtyMaxKunjungan", nullable = false)
|
||||
@Caption(value = "Qty Max Kunjungan")
|
||||
private short qtyMaxKunjungan;
|
||||
|
||||
public void setqtyMaxKunjungan(short qtyMaxKunjungan) {
|
||||
this.qtyMaxKunjungan = qtyMaxKunjungan;
|
||||
}
|
||||
|
||||
public short getqtyMaxKunjungan() {
|
||||
return this.qtyMaxKunjungan;
|
||||
}
|
||||
|
||||
@Column(name = "TglBerlakuAkhir", nullable = true)
|
||||
@Column(name = "TglBerlakuAkhir")
|
||||
@Caption(value = "Tanggal Berlaku Akhir")
|
||||
private Date tglBerlakuAkhir;
|
||||
|
||||
public void setTglBerlakuAkhir(Date tglBerlakuAkhir) {
|
||||
this.tglBerlakuAkhir = tglBerlakuAkhir;
|
||||
}
|
||||
|
||||
public Date getTglBerlakuAkhir() {
|
||||
return this.tglBerlakuAkhir;
|
||||
}
|
||||
|
||||
@NotNull(message = "Tgl Berlaku Awal tidak boleh kosong")
|
||||
@Column(name = "TglBerlakuAwal", nullable = false)
|
||||
@Caption(value = "Tanggal Berlaku Awal")
|
||||
private Date tglBerlakuAwal;
|
||||
|
||||
public void setTglBerlakuAwal(Date tglBerlakuAwal) {
|
||||
this.tglBerlakuAwal = tglBerlakuAwal;
|
||||
}
|
||||
|
||||
public Date getTglBerlakuAwal() {
|
||||
return this.tglBerlakuAwal;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.persentanggunganpenjamin_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.persentanggunganpenjamin_m_id_seq", sequenceName = "public.persentanggunganpenjamin_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.persentanggunganpenjamin_m_id_seq")
|
||||
@SequenceGenerator(name = "public.persentanggunganpenjamin_m_id_seq", sequenceName = "public.persentanggunganpenjamin_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,49 +1,33 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.io.Serializable;
|
||||
import org.hibernate.envers.Audited;
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
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.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import org.hibernate.envers.Audited;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class PersenTanggunganPenjaminD
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PersenTanggunganPenjaminD_M")
|
||||
public class PersenTanggunganPenjaminD extends BaseMaster {
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectGolonganAsuransiFk")
|
||||
@NotNull(message = "Kd Golongan Asuransi tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Golongan Asuransi")
|
||||
private GolonganAsuransi kdGolonganAsuransi;
|
||||
|
||||
public void setGolonganAsuransi(GolonganAsuransi kdGolonganAsuransi) {
|
||||
this.kdGolonganAsuransi = kdGolonganAsuransi;
|
||||
}
|
||||
|
||||
public GolonganAsuransi getGolonganAsuransi() {
|
||||
return this.kdGolonganAsuransi;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectGolonganAsuransiFk", insertable = false, updatable = false)
|
||||
private Integer golonganAsuransiId;
|
||||
|
||||
@ -52,65 +36,30 @@ public class PersenTanggunganPenjaminD extends BaseMaster {
|
||||
@Caption(value = "Kode Hubungan Asuransi")
|
||||
private Byte kdHubunganAsuransi;
|
||||
|
||||
public void setKdHubunganAsuransi(Byte kdHubunganAsuransi) {
|
||||
this.kdHubunganAsuransi = kdHubunganAsuransi;
|
||||
}
|
||||
|
||||
public Byte getKdHubunganAsuransi() {
|
||||
return this.kdHubunganAsuransi;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectJenisPerawatanFk")
|
||||
@NotNull(message = "Kd Jenis Perawatan tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Jenis Perawatan")
|
||||
private JenisPerawatan jenisPerawatan;
|
||||
|
||||
public void setJenisPerawatan(JenisPerawatan jenisPerawatan) {
|
||||
this.jenisPerawatan = jenisPerawatan;
|
||||
}
|
||||
|
||||
public JenisPerawatan getJenisPerawatan() {
|
||||
return this.jenisPerawatan;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectJenisPerawatanFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer jenisPerawatanId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKelasFk")
|
||||
@NotNull(message = "Kd Kelas tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Kelas")
|
||||
private DetailKamar kelas;
|
||||
|
||||
public void setKelas(DetailKamar kelas) {
|
||||
this.kelas = kelas;
|
||||
}
|
||||
|
||||
public DetailKamar getKelas() {
|
||||
return this.kelas;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectKelasFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer kelasId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKelompokPasienFk")
|
||||
@NotNull(message = "Kd Kelompok Pasien tidak boleh kosong")
|
||||
|
||||
@Caption(value = "Object Kelompok Pasien")
|
||||
private KelompokPasien kelompokPasien;
|
||||
|
||||
public void setKelompokPasien(KelompokPasien kelompokPasien) {
|
||||
this.kelompokPasien = kelompokPasien;
|
||||
}
|
||||
|
||||
public KelompokPasien getKelompokPasien() {
|
||||
return this.kelompokPasien;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectKelompokPasienFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer kelompokPasienId;
|
||||
|
||||
@ -119,77 +68,29 @@ public class PersenTanggunganPenjaminD extends BaseMaster {
|
||||
@Caption(value = "Kode Penjamin Pasien")
|
||||
private short kdPenjaminPasien;
|
||||
|
||||
public void setKdPenjaminPasien(short kdPenjaminPasien) {
|
||||
this.kdPenjaminPasien = kdPenjaminPasien;
|
||||
}
|
||||
|
||||
public short getKdPenjaminPasien() {
|
||||
return this.kdPenjaminPasien;
|
||||
}
|
||||
|
||||
@NotNull(message = "Max T Penjamin tidak boleh kosong")
|
||||
@Column(name = "MaxTPenjamin", nullable = false)
|
||||
@Caption(value = "Max T Penjamin")
|
||||
private Double maxTPenjamin;
|
||||
|
||||
public void setMaxTPenjamin(Double maxTPenjamin) {
|
||||
this.maxTPenjamin = maxTPenjamin;
|
||||
}
|
||||
|
||||
public Double getMaxTPenjamin() {
|
||||
return this.maxTPenjamin;
|
||||
}
|
||||
|
||||
@NotNull(message = "Qty Max Kunjungan tidak boleh kosong")
|
||||
@Column(name = "QtyMaxKunjungan", nullable = false)
|
||||
@Caption(value = "Qty Max Kunjungan")
|
||||
private short qtyMaxKunjungan;
|
||||
|
||||
public void setqtyMaxKunjungan(short qtyMaxKunjungan) {
|
||||
this.qtyMaxKunjungan = qtyMaxKunjungan;
|
||||
}
|
||||
|
||||
public short getqtyMaxKunjungan() {
|
||||
return this.qtyMaxKunjungan;
|
||||
}
|
||||
|
||||
@Column(name = "TglBerlakuAkhir", nullable = true)
|
||||
@Column(name = "TglBerlakuAkhir")
|
||||
@Caption(value = "Tanggal Berlaku Akhir")
|
||||
private Date tglBerlakuAkhir;
|
||||
|
||||
public void setTglBerlakuAkhir(Date tglBerlakuAkhir) {
|
||||
this.tglBerlakuAkhir = tglBerlakuAkhir;
|
||||
}
|
||||
|
||||
public Date getTglBerlakuAkhir() {
|
||||
return this.tglBerlakuAkhir;
|
||||
}
|
||||
|
||||
@NotNull(message = "Tgl Berlaku Awal tidak boleh kosong")
|
||||
@Column(name = "TglBerlakuAwal", nullable = false)
|
||||
@Caption(value = "Tanggal Berlaku Awal")
|
||||
private Date tglBerlakuAwal;
|
||||
|
||||
public void setTglBerlakuAwal(Date tglBerlakuAwal) {
|
||||
this.tglBerlakuAwal = tglBerlakuAwal;
|
||||
}
|
||||
|
||||
public Date getTglBerlakuAwal() {
|
||||
return this.tglBerlakuAwal;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.persentanggunganpenjamind_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.persentanggunganpenjamind_m_id_seq", sequenceName = "public.persentanggunganpenjamind_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.persentanggunganpenjamind_m_id_seq")
|
||||
@SequenceGenerator(name = "public.persentanggunganpenjamind_m_id_seq", sequenceName = "public.persentanggunganpenjamind_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,44 +1,30 @@
|
||||
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 javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "rm_PersepsiKegiatan_M")
|
||||
public class PersepsiKegiatan extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Name tidak boleh kosong")
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.persepsikegiatan_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.persepsikegiatan_m_id_seq", sequenceName = "public.persepsikegiatan_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.persepsikegiatan_m_id_seq")
|
||||
@SequenceGenerator(name = "public.persepsikegiatan_m_id_seq", sequenceName = "public.persepsikegiatan_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,99 +1,59 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PersepsiKognisi_T")
|
||||
public class PersepsiKognisi extends BaseTransaction {
|
||||
|
||||
@Entity
|
||||
@Table(name="PersepsiKognisi_T")
|
||||
public class PersepsiKognisi extends BaseTransaction{
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPasienDaftarFk")
|
||||
@NotNull(message="PasienDaftar Harus Diisi")
|
||||
@Caption(value="PasienDaftar")
|
||||
@NotNull(message = "PasienDaftar Harus Diisi")
|
||||
@Caption(value = "PasienDaftar")
|
||||
private AntrianPasienDiPeriksa pasienDaftar;
|
||||
|
||||
@Column(name = "ObjectPasienDaftarFk", insertable=false,updatable=false, nullable=false)
|
||||
|
||||
@Column(name = "ObjectPasienDaftarFk", insertable = false, updatable = false, nullable = false)
|
||||
private String pasienDaftarId;
|
||||
|
||||
@NotNull(message = "Tgl Input tidak boleh kosong")
|
||||
@Column(name = "tglInput", nullable = false)
|
||||
@Caption(value = "Tgl Input")
|
||||
private Date tglInput;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPendengaranFk")
|
||||
@NotNull(message="Object Pendengaran Harus Diisi")
|
||||
@Caption(value="Object Pendengaran")
|
||||
@NotNull(message = "Object Pendengaran Harus Diisi")
|
||||
@Caption(value = "Object Pendengaran")
|
||||
private StatusYaTidak pendengaran;
|
||||
|
||||
@Column(name = "ObjectPendengaranFk", insertable=false,updatable=false, nullable=false)
|
||||
|
||||
@Column(name = "ObjectPendengaranFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer pendengaranId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPenglihatanFk")
|
||||
@NotNull(message="Object Penglihatan Harus Diisi")
|
||||
@Caption(value="Object Penglihatan")
|
||||
@NotNull(message = "Object Penglihatan Harus Diisi")
|
||||
@Caption(value = "Object Penglihatan")
|
||||
private StatusYaTidak penglihatan;
|
||||
|
||||
@Column(name = "ObjectPenglihatanFk", insertable=false,updatable=false, nullable=false)
|
||||
|
||||
@Column(name = "ObjectPenglihatanFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer penglihatanId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectDayaIngatFk")
|
||||
@NotNull(message="Object DayaIngat Harus Diisi")
|
||||
@Caption(value="Object DayaIngat")
|
||||
@NotNull(message = "Object DayaIngat Harus Diisi")
|
||||
@Caption(value = "Object DayaIngat")
|
||||
private StatusYaTidak dayaIngat;
|
||||
|
||||
@Column(name = "ObjectDayaIngatFk", insertable=false,updatable=false, nullable=false)
|
||||
|
||||
@Column(name = "ObjectDayaIngatFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer dayaIngatId;
|
||||
|
||||
public StatusYaTidak getPendengaran() {
|
||||
return pendengaran;
|
||||
}
|
||||
|
||||
public void setPendengaran(StatusYaTidak pendengaran) {
|
||||
this.pendengaran = pendengaran;
|
||||
}
|
||||
|
||||
public StatusYaTidak getPenglihatan() {
|
||||
return penglihatan;
|
||||
}
|
||||
|
||||
public void setPenglihatan(StatusYaTidak penglihatan) {
|
||||
this.penglihatan = penglihatan;
|
||||
}
|
||||
|
||||
public StatusYaTidak getDayaIngat() {
|
||||
return dayaIngat;
|
||||
}
|
||||
|
||||
public void setDayaIngat(StatusYaTidak dayaIngat) {
|
||||
this.dayaIngat = dayaIngat;
|
||||
}
|
||||
|
||||
public AntrianPasienDiPeriksa getPasienDaftar() {
|
||||
return pasienDaftar;
|
||||
}
|
||||
|
||||
public void setPasienDaftar(AntrianPasienDiPeriksa pasienDaftar) {
|
||||
this.pasienDaftar = pasienDaftar;
|
||||
}
|
||||
|
||||
public Date getTglInput() {
|
||||
return tglInput;
|
||||
}
|
||||
|
||||
public void setTglInput(Date tglInput) {
|
||||
this.tglInput = tglInput;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,27 +1,27 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PersepsiPasien_T")
|
||||
public class PersepsiPasien extends BaseTransaction {
|
||||
|
||||
@Entity
|
||||
@Table(name="PersepsiPasien_T")
|
||||
public class PersepsiPasien extends BaseTransaction{
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPasienDaftarFk")
|
||||
@NotNull(message="PasienDaftar Harus Diisi")
|
||||
@Caption(value="PasienDaftar")
|
||||
@NotNull(message = "PasienDaftar Harus Diisi")
|
||||
@Caption(value = "PasienDaftar")
|
||||
private AntrianPasienDiPeriksa pasienDaftar;
|
||||
|
||||
@Column(name = "ObjectPasienDaftarFk", insertable=false,updatable=false, nullable=false)
|
||||
|
||||
@Column(name = "ObjectPasienDaftarFk", insertable = false, updatable = false, nullable = false)
|
||||
private String pasienDaftarId;
|
||||
|
||||
@NotNull(message = "Tgl Input tidak boleh kosong")
|
||||
@ -31,69 +31,29 @@ public class PersepsiPasien extends BaseTransaction{
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKesehatanFk")
|
||||
@NotNull(message="Object Kesehatan Harus Diisi")
|
||||
@Caption(value="Object Kesehatan")
|
||||
@NotNull(message = "Object Kesehatan Harus Diisi")
|
||||
@Caption(value = "Object Kesehatan")
|
||||
private StatusKesehatan kesehatan;
|
||||
|
||||
@Column(name = "ObjectKesehatanFk", insertable=false,updatable=false, nullable=false)
|
||||
|
||||
@Column(name = "ObjectKesehatanFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer kesehatanId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPenyebabPenyakitFk")
|
||||
@NotNull(message="Object PenyebabPenyakit Harus Diisi")
|
||||
@Caption(value="Object PenyebabPenyakit")
|
||||
@NotNull(message = "Object PenyebabPenyakit Harus Diisi")
|
||||
@Caption(value = "Object PenyebabPenyakit")
|
||||
private StatusPenyebabPenyakit penyebabPenyakit;
|
||||
|
||||
@Column(name = "ObjectPenyebabPenyakitFk", insertable=false,updatable=false, nullable=false)
|
||||
|
||||
@Column(name = "ObjectPenyebabPenyakitFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer penyebabPenyakitId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectYangDilakukanFk")
|
||||
@NotNull(message="Object YangDilakukan Harus Diisi")
|
||||
@Caption(value="Object YangDilakukan")
|
||||
@NotNull(message = "Object YangDilakukan Harus Diisi")
|
||||
@Caption(value = "Object YangDilakukan")
|
||||
private StatusYangDilakukan yangDilakukan;
|
||||
|
||||
@Column(name = "ObjectYangDilakukanFk", insertable=false,updatable=false, nullable=false)
|
||||
|
||||
@Column(name = "ObjectYangDilakukanFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer yangDilakukanId;
|
||||
|
||||
public AntrianPasienDiPeriksa getPasienDaftar() {
|
||||
return pasienDaftar;
|
||||
}
|
||||
|
||||
public void setPasienDaftar(AntrianPasienDiPeriksa pasienDaftar) {
|
||||
this.pasienDaftar = pasienDaftar;
|
||||
}
|
||||
|
||||
public Date getTglInput() {
|
||||
return tglInput;
|
||||
}
|
||||
|
||||
public void setTglInput(Date tglInput) {
|
||||
this.tglInput = tglInput;
|
||||
}
|
||||
|
||||
public StatusKesehatan getKesehatan() {
|
||||
return kesehatan;
|
||||
}
|
||||
|
||||
public void setKesehatan(StatusKesehatan kesehatan) {
|
||||
this.kesehatan = kesehatan;
|
||||
}
|
||||
|
||||
public StatusPenyebabPenyakit getPenyebabPenyakit() {
|
||||
return penyebabPenyakit;
|
||||
}
|
||||
|
||||
public void setPenyebabPenyakit(StatusPenyebabPenyakit penyebabPenyakit) {
|
||||
this.penyebabPenyakit = penyebabPenyakit;
|
||||
}
|
||||
|
||||
public StatusYangDilakukan getYangDilakukan() {
|
||||
return yangDilakukan;
|
||||
}
|
||||
|
||||
public void setYangDilakukan(StatusYangDilakukan yangDilakukan) {
|
||||
this.yangDilakukan = yangDilakukan;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,44 +1,30 @@
|
||||
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 javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "rm_PersepsiPenyakit_M")
|
||||
public class PersepsiPenyakit extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Name tidak boleh kosong")
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.persepsipenyakit_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.persepsipenyakit_m_id_seq", sequenceName = "public.persepsipenyakit_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.persepsipenyakit_m_id_seq")
|
||||
@SequenceGenerator(name = "public.persepsipenyakit_m_id_seq", sequenceName = "public.persepsipenyakit_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,47 +1,30 @@
|
||||
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 javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "rm_PersepsiSehat_M")
|
||||
public class PersepsiSehat extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Name tidak boleh kosong")
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.persepsisehat_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.persepsisehat_m_id_seq", sequenceName = "public.persepsisehat_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.persepsisehat_m_id_seq")
|
||||
@SequenceGenerator(name = "public.persepsisehat_m_id_seq", sequenceName = "public.persepsisehat_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -1,57 +1,40 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;import org.hibernate.envers.Audited;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* class PersetujuanUmum
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "PersetujuanUmum_T")
|
||||
public class PersetujuanUmum extends MedicalRecordTransaction {
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "NoMasukTujuanFk")
|
||||
@JoinColumn(name = "NoMasukTujuanFk")
|
||||
@Caption(value = "No Masuk Tujuan")
|
||||
private RegistrasiPelayananPasien noMasukTujuan;
|
||||
public RegistrasiPelayananPasien getNoMasukTujuan() {
|
||||
return noMasukTujuan;
|
||||
}
|
||||
|
||||
public void setNoMasukTujuan(RegistrasiPelayananPasien noMasukTujuan) {
|
||||
this.noMasukTujuan = noMasukTujuan;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Column(name = "NoMasukTujuanFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String noMasukTujuanId;
|
||||
|
||||
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "RuanganTujuanFk")
|
||||
@NotNull(message = "Ruangan Tujuan Harus Diisi")
|
||||
@Caption(value = "Ruangan Tujuan")
|
||||
private Ruangan ruanganTujuan;
|
||||
|
||||
@Column(name = "RuanganTujuanFk", insertable = false, updatable = false)
|
||||
private Integer ruanganTujuanId;
|
||||
public Ruangan getRuanganTujuan() {
|
||||
return ruanganTujuan;
|
||||
}
|
||||
|
||||
public void setRuanganTujuan(Ruangan ruanganTujuan) {
|
||||
this.ruanganTujuan = ruanganTujuan;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "KelasPerawatanFk")
|
||||
@ -59,53 +42,21 @@ public class PersetujuanUmum extends MedicalRecordTransaction {
|
||||
@Caption(value = "Kelas Perawatan")
|
||||
private Kelas kelasPerawatan;
|
||||
|
||||
public Kelas getKelasPerawatan() {
|
||||
return kelasPerawatan;
|
||||
}
|
||||
|
||||
public void setKelasPerawatan(Kelas kelasPerawatan) {
|
||||
this.kelasPerawatan = kelasPerawatan;
|
||||
}
|
||||
|
||||
@Column(name = "KelasPerawatanFk", insertable = false, updatable = false)
|
||||
private Integer kelasPerawatanId;
|
||||
|
||||
private Date tglRencana;
|
||||
|
||||
public Date getTglRencana() {
|
||||
return tglRencana;
|
||||
}
|
||||
|
||||
public void setTglRencana(Date tglRencana) {
|
||||
this.tglRencana = tglRencana;
|
||||
}
|
||||
|
||||
@Column(name = "StatusRegistrasi", nullable = true, length = 500)
|
||||
@Column(name = "StatusRegistrasi", length = 500)
|
||||
@Caption(value = "statusRegistrasi")
|
||||
private Boolean statusRegistrasi;
|
||||
|
||||
public Boolean getStatusRegistrasi() {
|
||||
return statusRegistrasi;
|
||||
}
|
||||
|
||||
public void setStatusRegistrasi(Boolean statusRegistrasi) {
|
||||
this.statusRegistrasi = statusRegistrasi;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "JenisPembayaranFk")
|
||||
@NotNull(message = "Jenis Pembayaran Harus Diisi")
|
||||
@Caption(value = "Jenis Pembayaran")
|
||||
private KelompokPasien jenisPembayaran;
|
||||
|
||||
public KelompokPasien getJenisPembayaran() {
|
||||
return jenisPembayaran;
|
||||
}
|
||||
|
||||
public void setJenisPembayaran(KelompokPasien jenisPembayaran) {
|
||||
this.jenisPembayaran = jenisPembayaran;
|
||||
}
|
||||
|
||||
@Column(name = "JenisPembayaranFk", insertable = false, updatable = false)
|
||||
private Integer jenisPembayaranId;
|
||||
|
||||
|
||||
@ -25,6 +25,7 @@ import static javax.persistence.TemporalType.DATE;
|
||||
@Entity
|
||||
@Table(name = "persiapanoperasi_t")
|
||||
public class PersiapanOperasi extends BaseTransaction implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4059228362398801137L;
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@ -68,4 +69,5 @@ public class PersiapanOperasi extends BaseTransaction implements Serializable {
|
||||
|
||||
@Column(name = "ruanganfk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer ruanganId;
|
||||
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user