tambah field status diskon pegawai di pasien daftar

This commit is contained in:
salmanoe 2021-03-05 13:43:53 +07:00
parent 21ab85536d
commit 579aaba0c5
2 changed files with 231 additions and 236 deletions

View File

@ -18,234 +18,236 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.jasamedika.medifirst2000.base.BaseTransaction;
import com.jasamedika.medifirst2000.helper.Caption;
@Entity
@Table(name = "PasienDaftar_T")
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
public class PasienDaftar extends BaseTransaction {
@ManyToOne(fetch=FetchType.LAZY)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "ObjectRekananFk")
@Caption(value="Object Rekanan")
@Caption(value = "Object Rekanan")
private Rekanan rekanan;
@Column(name = "ObjectRekananFk", insertable=false,updatable=false, nullable=true)
@Column(name = "ObjectRekananFk", insertable = false, updatable = false, nullable = true)
private Integer rekananId;
@Caption(value = "Total Biaya")
@Column(name = "totalBiaya", nullable = true)
private Double totalBiaya;
@ManyToOne(fetch=FetchType.LAZY)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "ObjectStatusKeluarFk")
@Caption(value="Object Status Keluar")
@Caption(value = "Object Status Keluar")
private StatusKeluar statusKeluar;
@Column(name = "ObjectStatusKeluarFk", insertable=false,updatable=false, nullable=true)
@Column(name = "ObjectStatusKeluarFk", insertable = false, updatable = false, nullable = true)
private Integer statusKeluarId;
@Column(name = "statusKasusPenyakit", nullable = false)
@Caption(value="Status Kasus Penyakit")
@Caption(value = "Status Kasus Penyakit")
private Boolean statusKasusPenyakit;
@Column(name = "IsKajianAwal", nullable = false , length = 100)
@Caption(value="Kajian Awal")
@Column(name = "IsKajianAwal", nullable = false, length = 100)
@Caption(value = "Kajian Awal")
private Boolean isKajianAwal;
@Column(name = "noRegistrasi", nullable = false , length = 200)
@NotNull(message="No Registrasi Harus Diisi")
@Caption(value="No registrasi ")
@Column(name = "noRegistrasi", nullable = false, length = 200)
@NotNull(message = "No Registrasi Harus Diisi")
@Caption(value = "No registrasi ")
private String noRegistrasi;
@NotNull(message="Is On Site Service tidak boleh kosong")
@Column(name = "isOnSiteService", nullable = false )
@Caption(value="Is On Site Service")
@NotNull(message = "Is On Site Service tidak boleh kosong")
@Column(name = "isOnSiteService", nullable = false)
@Caption(value = "Is On Site Service")
private Byte isOnSiteService;
@NotNull(message="Is Registrasi Lengkap tidak boleh kosong")
@Column(name = "isRegistrasiLengkap", nullable = false )
@Caption(value="Is Registrasi Lengkap")
@NotNull(message = "Is Registrasi Lengkap tidak boleh kosong")
@Column(name = "isRegistrasiLengkap", nullable = false)
@Caption(value = "Is Registrasi Lengkap")
private Byte isRegistrasiLengkap;
@ManyToOne(fetch=FetchType.LAZY)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "ObjectKasusPenyakitLastFk")
@Caption(value="Object Kasus Penyakit Last")
@Caption(value = "Object Kasus Penyakit Last")
private KasusPenyakit kasusPenyakit;
@Column(name = "ObjectKasusPenyakitLastFk", insertable=false,updatable=false)
@Column(name = "ObjectKasusPenyakitLastFk", insertable = false, updatable = false)
private Integer kasusPenyakitId;
@ManyToOne(fetch=FetchType.LAZY)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "ObjectPegawaiFk")
@Caption(value="Penanggung Jawab pasien")
@Caption(value = "Penanggung Jawab pasien")
private Pegawai dokterPenanggungJawab;
@Column(name = "ObjectPegawaiFk", insertable=false,updatable=false,nullable=true)
@Column(name = "ObjectPegawaiFk", insertable = false, updatable = false, nullable = true)
private Integer dokterPenanggungJawabId;
@ManyToOne(fetch=FetchType.LAZY)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "ObjectKelompokPasienLastFk")
@NotNull(message="Kd Kelompok Pasien Last tidak boleh kosong")
@Caption(value="Object Kelompok Pasien Last")
@NotNull(message = "Kd Kelompok Pasien Last tidak boleh kosong")
@Caption(value = "Object Kelompok Pasien Last")
private KelompokPasien kelompokPasien;
@Column(name = "ObjectKelompokPasienLastFk", insertable=false,updatable=false,nullable=false)
@Column(name = "ObjectKelompokPasienLastFk", insertable = false, updatable = false, nullable = false)
private Integer kelompokPasienId;
@ManyToOne(fetch=FetchType.LAZY)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "ObjectRuanganLastFk")
@Caption(value="Object Ruangan Last")
@Caption(value = "Object Ruangan Last")
private Ruangan ruangan;
@Column(name = "ObjectRuanganLastFk", insertable=false,updatable=false)
@Column(name = "ObjectRuanganLastFk", insertable = false, updatable = false)
private Integer ruanganId;
@ManyToOne(fetch=FetchType.LAZY)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "ObjectRuanganAsalFk")
@Caption(value="Object Ruangan Asal")
@Caption(value = "Object Ruangan Asal")
private Ruangan ruanganAsal;
@Column(name = "ObjectRuanganAsalFk", insertable=false,updatable=false)
@Column(name = "ObjectRuanganAsalFk", insertable = false, updatable = false)
private Integer ruanganAsalId;
@ManyToOne(fetch=FetchType.LAZY)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "RuanganNextSchedule")
@Caption(value="RuanganNextSchedule")
@Caption(value = "RuanganNextSchedule")
private Ruangan ruanganNextSchedule;
@Column(name = "RuanganNextSchedule", insertable=false,updatable=false,nullable=true)
@Column(name = "RuanganNextSchedule", insertable = false, updatable = false, nullable = true)
private Integer ruanganNextScheduleId;
@Column(name = "StatusSchedule", nullable = true , length = 40)
@Caption(value="StatusSchedule")
@Column(name = "StatusSchedule", nullable = true, length = 40)
@Caption(value = "StatusSchedule")
private String statusSchedule;
@ManyToOne(fetch=FetchType.LAZY)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "NoCMFk")
@NotNull(message="No C M Harus Diisi")
@Caption(value="No C M")
@NotNull(message = "No C M Harus Diisi")
@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;
@ManyToOne(fetch=FetchType.LAZY)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "NoRegistrasiFk")
@Caption(value="No Registrasi")
@Caption(value = "No Registrasi")
private PenanggungJawabPasien penanggungJawabPasien;
@Column(name = "NoRegistrasiFk", insertable=false,updatable=false)
@Column(name = "NoRegistrasiFk", insertable = false, updatable = false)
private String penanggungJawabId;
@Column(name = "statusPasien")
@Caption(value="StatusPasien")
@Caption(value = "StatusPasien")
private String statusPasien;
@NotNull(message="Tgl Registrasi tidak boleh kosong")
@Column(name = "TglRegistrasi", nullable = false )
@Caption(value="Tanggal Registrasi")
@NotNull(message = "Tgl Registrasi tidak boleh kosong")
@Column(name = "TglRegistrasi", nullable = false)
@Caption(value = "Tanggal Registrasi")
private Date tglRegistrasi;
@ManyToOne(fetch=FetchType.LAZY)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "ObjectStatusPulangFk")
@Caption(value="Object Status Pulang")
@Caption(value = "Object Status Pulang")
private StatusPulang statusPulang;
@Column(name = "ObjectStatusPulangFk", insertable=false,updatable=false)
@Column(name = "ObjectStatusPulangFk", insertable = false, updatable = false)
private Integer statusPulangId;
@ManyToOne(fetch=FetchType.LAZY)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "ObjectKondisiPasienFk")
@Caption(value="Object Kondisi Pasien")
@Caption(value = "Object Kondisi Pasien")
private KondisiPasien kondisiPasien;
@Column(name = "ObjectKondisiPasienFk", insertable=false,updatable=false)
@Column(name = "ObjectKondisiPasienFk", insertable = false, updatable = false)
private Integer kondisiPasienId;
@Column(name = "TglPulang", nullable = true )
@Caption(value="Tanggal Pulang")
@Column(name = "TglPulang", nullable = true)
@Caption(value = "Tanggal Pulang")
private Date tglPulang;
@Column(name = "TglMeninggal", nullable = true )
@Caption(value="Tanggal Meninggal")
@Column(name = "TglMeninggal", nullable = true)
@Caption(value = "Tanggal Meninggal")
private Date tanggalMeninggal;
@Column(name = "JenisPelayanan", nullable = true , length = 40)
@Caption(value="Jenis Pelayanan")
@Column(name = "JenisPelayanan", nullable = true, length = 40)
@Caption(value = "Jenis Pelayanan")
private String jenisPelayanan;
@Column(name = "NamaLengkapAmbilPasien", nullable = true , length = 40)
@Caption(value="Nama Lengkap Ambil Pasien")
@Column(name = "NamaLengkapAmbilPasien", nullable = true, length = 40)
@Caption(value = "Nama Lengkap Ambil Pasien")
private String namaLengkapAmbilPasien;
@ManyToOne(fetch=FetchType.LAZY)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "ObjectHubunganKeluargaAmbilPasienFk")
@Caption(value="Object Hubungan Keluarga Ambil Pasien")
@Caption(value = "Object Hubungan Keluarga Ambil Pasien")
private HubunganKeluarga hubunganKeluarga;
@Column(name = "ObjectHubunganKeluargaAmbilPasienFk", insertable=false,updatable=false)
@Column(name = "ObjectHubunganKeluargaAmbilPasienFk", insertable = false, updatable = false)
private Integer hubunganKeluargaId;
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "pasienDaftar")
private Set<AntrianPasienDiPeriksa> antrianPasienDiPeriksaSet=new HashSet<AntrianPasienDiPeriksa>();
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "pasienDaftar")
private Set<BatalRegistrasi> batalRegistrasiSet=new HashSet<BatalRegistrasi>();
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "pasienDaftar")
private Set<DiputuskanDetail> diputuskanDetailSet=new HashSet<DiputuskanDetail>();
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "pasienDaftar")
private Set<PemakaianAsuransi> pemakaianAsuransiSet=new HashSet<PemakaianAsuransi>();
@ManyToOne(fetch=FetchType.LAZY)
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "pasienDaftar")
private Set<AntrianPasienDiPeriksa> antrianPasienDiPeriksaSet = new HashSet<AntrianPasienDiPeriksa>();
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "pasienDaftar")
private Set<BatalRegistrasi> batalRegistrasiSet = new HashSet<BatalRegistrasi>();
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "pasienDaftar")
private Set<DiputuskanDetail> diputuskanDetailSet = new HashSet<DiputuskanDetail>();
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "pasienDaftar")
private Set<PemakaianAsuransi> pemakaianAsuransiSet = new HashSet<PemakaianAsuransi>();
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "ObjectKelasFk")
@Caption(value="Object Kelas")
@Caption(value = "Object Kelas")
private Kelas kelas;
@Column(name = "ObjectKelasFk", insertable=false,updatable=false)
@Column(name = "ObjectKelasFk", insertable = false, updatable = false)
private Integer kelasId;
@ManyToOne(fetch=FetchType.LAZY)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "ObjectPenyebabKematianFk")
@Caption(value="Penyebab Kematian")
@Caption(value = "Penyebab Kematian")
private PenyebabKematian penyebabKematian;
@Column(name = "ObjectPenyebabKematianFk", insertable=false,updatable=false)
@Column(name = "ObjectPenyebabKematianFk", insertable = false, updatable = false)
private Integer penyebabKematianId;
@ManyToOne(fetch=FetchType.LAZY)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "ObjectDokterPemeriksaFk")
@Caption(value="Dokter Pemeriksa")
@Caption(value = "Dokter Pemeriksa")
private Pegawai dokterPemeriksa;
@Column(name = "ObjectDokterPemeriksaFk", insertable=false,updatable=false)
@Column(name = "ObjectDokterPemeriksaFk", insertable = false, updatable = false)
private Integer dokterPemeriksaId;
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "pasienDaftar")
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "pasienDaftar")
private Set<MapPasienDpjpToPasienDaftar> mapPasienDpjpToPasienDaftar = new HashSet<MapPasienDpjpToPasienDaftar>();
@Caption(value="emergensi")
@Column(name = "Emergensi", nullable = true )
@Caption(value = "emergensi")
@Column(name = "Emergensi", nullable = true)
private Boolean emergensi;
@ManyToOne(fetch=FetchType.LAZY)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "NoStrukLastFk")
@Caption(value="No Struk Last")
@Caption(value = "No Struk Last")
private StrukPelayanan strukPelayanan;
@Column(name = "NoStrukLastFk", insertable=false,updatable=false)
@Column(name = "NoStrukLastFk", insertable = false, updatable = false)
private Integer strukPelayananId;
@ManyToOne(fetch=FetchType.LAZY)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "NoSbmLastFk")
@Caption(value="No SBM Last")
@Caption(value = "No SBM Last")
private StrukBuktiPenerimaan strukBuktiPenerimaan;
@Column(name = "NoSbmLastFk", insertable=false,updatable=false)
@Column(name = "NoSbmLastFk", insertable = false, updatable = false)
private Integer strukBuktiPenerimaanId;
@Caption(value = "Status Diskon Pegawai")
@Column(name = "isdiskonpegawai", nullable = true)
private Boolean isDiskonPegawai;
public Rekanan getRekanan() {
return rekanan;
}
@ -686,5 +688,12 @@ public class PasienDaftar extends BaseTransaction {
this.pemakaianAsuransiSet = pemakaianAsuransiSet;
}
}
public Boolean getIsDiskonPegawai() {
return isDiskonPegawai;
}
public void setIsDiskonPegawai(Boolean isDiskonPegawai) {
this.isDiskonPegawai = isDiskonPegawai;
}
}

View File

@ -1,166 +1,145 @@
package com.jasamedika.medifirst2000.vo;
import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import org.hibernate.validator.constraints.NotEmpty;
import com.jasamedika.medifirst2000.base.BaseTransaction;
import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.entities.AntrianPasienDiPeriksa;
import com.jasamedika.medifirst2000.entities.DiputuskanDetail;
import com.jasamedika.medifirst2000.entities.HubunganKeluarga;
import com.jasamedika.medifirst2000.entities.KasusPenyakit;
import com.jasamedika.medifirst2000.entities.Kelas;
import com.jasamedika.medifirst2000.entities.KelompokPasien;
import com.jasamedika.medifirst2000.entities.KondisiPasien;
import com.jasamedika.medifirst2000.entities.MapPasienDpjpToPasienDaftar;
import com.jasamedika.medifirst2000.entities.Pasien;
import com.jasamedika.medifirst2000.entities.Pegawai;
import com.jasamedika.medifirst2000.entities.PenanggungJawabPasien;
import com.jasamedika.medifirst2000.entities.PenyebabKematian;
import com.jasamedika.medifirst2000.entities.RegistrasiPelayananPasien;
import com.jasamedika.medifirst2000.entities.Rekanan;
import com.jasamedika.medifirst2000.entities.Ruangan;
import com.jasamedika.medifirst2000.entities.StatusKeluar;
import com.jasamedika.medifirst2000.entities.StatusPulang;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.internal.util.logging.Messages;
import com.fasterxml.jackson.annotation.JsonBackReference;
import com.fasterxml.jackson.annotation.JsonManagedReference;
import com.jasamedika.medifirst2000.base.BaseTransaction;
import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.helper.Caption;
public class PasienDaftarVO extends BaseTransactionVO {
@ManyToOne(fetch=FetchType.LAZY)
@Caption(value="Object Rekanan")
@ManyToOne(fetch = FetchType.LAZY)
@Caption(value = "Object Rekanan")
private RekananVO rekanan;
@Caption(value = "Total Biaya")
private Double totalBiaya;
@ManyToOne(fetch=FetchType.LAZY)
@Caption(value="Object Status Keluar")
@ManyToOne(fetch = FetchType.LAZY)
@Caption(value = "Object Status Keluar")
private StatusKeluarVO statusKeluar;
@Caption(value="Status Kasus Penyakit")
@Caption(value = "Status Kasus Penyakit")
private Boolean statusKasusPenyakit;
@Caption(value="Kajian Awal")
@Caption(value = "Kajian Awal")
private Boolean isKajianAwal;
@NotNull(message="No Registrasi Harus Diisi")
@Caption(value="No registrasi ")
@NotNull(message = "No Registrasi Harus Diisi")
@Caption(value = "No registrasi ")
private String noRegistrasi;
@NotNull(message="Is On Site Service tidak boleh kosong")
@Caption(value="Is On Site Service")
@NotNull(message = "Is On Site Service tidak boleh kosong")
@Caption(value = "Is On Site Service")
private Byte isOnSiteService;
@NotNull(message="Is Registrasi Lengkap tidak boleh kosong")
@Caption(value="Is Registrasi Lengkap")
@NotNull(message = "Is Registrasi Lengkap tidak boleh kosong")
@Caption(value = "Is Registrasi Lengkap")
private Byte isRegistrasiLengkap;
@ManyToOne(fetch=FetchType.LAZY)
@Caption(value="Object Kasus Penyakit Last")
@ManyToOne(fetch = FetchType.LAZY)
@Caption(value = "Object Kasus Penyakit Last")
private KasusPenyakitVO kasusPenyakit;
@ManyToOne(fetch=FetchType.LAZY)
@Caption(value="Penanggung Jawab pasien")
@ManyToOne(fetch = FetchType.LAZY)
@Caption(value = "Penanggung Jawab pasien")
private PegawaiVO dokterPenanggungJawab;
@ManyToOne(fetch=FetchType.LAZY)
@NotNull(message="Kd Kelompok Pasien Last tidak boleh kosong")
@Caption(value="Object Kelompok Pasien Last")
@ManyToOne(fetch = FetchType.LAZY)
@NotNull(message = "Kd Kelompok Pasien Last tidak boleh kosong")
@Caption(value = "Object Kelompok Pasien Last")
private KelompokPasienVO kelompokPasien;
@ManyToOne(fetch=FetchType.LAZY)
@Caption(value="Object Ruangan Last")
@ManyToOne(fetch = FetchType.LAZY)
@Caption(value = "Object Ruangan Last")
private RuanganVO ruangan;
@ManyToOne(fetch=FetchType.LAZY)
@Caption(value="RuanganNextSchedule")
@ManyToOne(fetch = FetchType.LAZY)
@Caption(value = "RuanganNextSchedule")
private RuanganVO ruanganNextSchedule;
@Caption(value="StatusSchedule")
@Caption(value = "StatusSchedule")
private String statusSchedule;
@ManyToOne(fetch=FetchType.LAZY)
@NotNull(message="No C M Harus Diisi")
@Caption(value="No C M")
@ManyToOne(fetch = FetchType.LAZY)
@NotNull(message = "No C M Harus Diisi")
@Caption(value = "No C M")
private PasienVO pasien;
@ManyToOne(fetch=FetchType.LAZY)
@Caption(value="No Registrasi")
@ManyToOne(fetch = FetchType.LAZY)
@Caption(value = "No Registrasi")
private PenanggungJawabPasienVO penanggungJawabPasien;
@Caption(value="StatusPasien")
@Caption(value = "StatusPasien")
private String statusPasien;
@NotNull(message="Tgl Registrasi tidak boleh kosong")
@Caption(value="Tanggal Registrasi")
@NotNull(message = "Tgl Registrasi tidak boleh kosong")
@Caption(value = "Tanggal Registrasi")
private Date tglRegistrasi;
@ManyToOne(fetch=FetchType.LAZY)
@Caption(value="Object Status Pulang")
@ManyToOne(fetch = FetchType.LAZY)
@Caption(value = "Object Status Pulang")
private StatusPulangVO statusPulang;
@ManyToOne(fetch=FetchType.LAZY)
@Caption(value="Object Kondisi Pasien")
@ManyToOne(fetch = FetchType.LAZY)
@Caption(value = "Object Kondisi Pasien")
private KondisiPasienVO kondisiPasien;
@Caption(value="Tanggal Pulang")
@Caption(value = "Tanggal Pulang")
private Date tglPulang;
@Caption(value="Tanggal Meninggal")
@Caption(value = "Tanggal Meninggal")
private Date tanggalMeninggal;
@Caption(value="Jenis Pelayanan")
@Caption(value = "Jenis Pelayanan")
private String jenisPelayanan;
@Column(name = "NamaLengkapAmbilPasien", nullable = true , length = 40)
@Caption(value="Nama Lengkap Ambil Pasien")
@Column(name = "NamaLengkapAmbilPasien", nullable = true, length = 40)
@Caption(value = "Nama Lengkap Ambil Pasien")
private String namaLengkapAmbilPasien;
@ManyToOne(fetch=FetchType.LAZY)
@Caption(value="Object Hubungan Keluarga Ambil Pasien")
@ManyToOne(fetch = FetchType.LAZY)
@Caption(value = "Object Hubungan Keluarga Ambil Pasien")
private HubunganKeluargaVO hubunganKeluarga;
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "pasienDaftar")
private Set<AntrianPasienDiPeriksaVO> antrianPasienDiPeriksaSet=new HashSet<>();
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "pasienDaftar")
private Set<DiputuskanDetailVO> diputuskanDetailSet=new HashSet<>();
@ManyToOne(fetch=FetchType.LAZY)
@Caption(value="Object Kelas")
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "pasienDaftar")
private Set<AntrianPasienDiPeriksaVO> antrianPasienDiPeriksaSet = new HashSet<>();
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "pasienDaftar")
private Set<DiputuskanDetailVO> diputuskanDetailSet = new HashSet<>();
@ManyToOne(fetch = FetchType.LAZY)
@Caption(value = "Object Kelas")
private KelasVO kelas;
@ManyToOne(fetch=FetchType.LAZY)
@Caption(value="Penyebab Kematian")
@ManyToOne(fetch = FetchType.LAZY)
@Caption(value = "Penyebab Kematian")
private PenyebabKematianVO penyebabKematian;
@ManyToOne(fetch=FetchType.LAZY)
@Caption(value="Dokter Pemeriksa")
@ManyToOne(fetch = FetchType.LAZY)
@Caption(value = "Dokter Pemeriksa")
private PegawaiVO dokterPemeriksa;
@Column(name = "ObjectDokterPemeriksaFk", insertable=false,updatable=false)
@Column(name = "ObjectDokterPemeriksaFk", insertable = false, updatable = false)
private Integer dokterPemeriksaId;
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "pasienDaftar")
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "pasienDaftar")
private Set<MapPasienDpjpToPasienDaftarVO> mapPasienDpjpToPasienDaftar = new HashSet<MapPasienDpjpToPasienDaftarVO>();
@Caption(value="emergensi")
@Caption(value = "emergensi")
private Boolean emergensi;
@Caption(value = "Status Diskon Pegawai")
private Boolean isDiskonPegawai;
public RekananVO getRekanan() {
return rekanan;
}
@ -425,5 +404,12 @@ public class PasienDaftarVO extends BaseTransactionVO {
this.emergensi = emergensi;
}
}
public Boolean getIsDiskonPegawai() {
return isDiskonPegawai;
}
public void setIsDiskonPegawai(Boolean isDiskonPegawai) {
this.isDiskonPegawai = isDiskonPegawai;
}
}