Update domain entity
Penerapan lombok untuk mengurangi boilerplate code
This commit is contained in:
parent
a45a5ab80f
commit
169c8cd6f7
@ -365,7 +365,7 @@
|
||||
class="com.jasamedika.medifirst2000.entities.FactoRateKelompokShift" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.FaktorAbk" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.FaktorEvaluasi" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.faktorlingkungan" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.Faktorlingkungan" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.Fakultas" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.Fasilitas" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.FasilitasM" />
|
||||
@ -395,7 +395,7 @@
|
||||
class="com.jasamedika.medifirst2000.entities.GajiPerMasaKerjaPendidikan" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.GajiPokok" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.GambarMukaKepuasan" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.gangguankognitif" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.GangguanKognitif" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.GawatDarurat" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.GeneralCheckUp" />
|
||||
<mapping
|
||||
@ -407,7 +407,7 @@
|
||||
class="com.jasamedika.medifirst2000.entities.GeneralProdukInteraksi" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.GenericView" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.Generik" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.genetalia" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.Genetalia" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.GerakanAnak" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.Ginekologi" />
|
||||
<mapping class="com.jasamedika.medifirst2000.entities.Golongan" />
|
||||
|
||||
@ -267,7 +267,7 @@ private static String SETTING_DATA_FIXED_JENIS="AdvokasiHukumHukor";
|
||||
writeByteArraysToFile(targetFile+File.separator+fileName, decodedBytes);
|
||||
dokumen.setPathFile(targetFile+File.separator+fileName);
|
||||
dokumen.setNamaJudulDokumen(fileName);
|
||||
dokumen.setqDokumen(0);
|
||||
dokumen.setQDokumen(0);
|
||||
dokumen.setStatusEnabled(true);
|
||||
dokumenDao.save(dokumen);
|
||||
return dokumen;
|
||||
|
||||
@ -70,7 +70,7 @@ public class CetakPengantarSuratServiceImpl implements CetakPengantarSuratServic
|
||||
dokumen.setNamaJudulDokumen(vo.getPerihalSurat());
|
||||
dokumen.setNamaPegawaiPembuat(loginUserService.getLoginUser().getPegawai().getNamaLengkap());
|
||||
dokumen.setTglDokumen(vo.getTanggalSuratDiserahkan());
|
||||
dokumen.setqDokumen(0);
|
||||
dokumen.setQDokumen(0);
|
||||
|
||||
Dokumen resultDokumen = new Dokumen();
|
||||
if(CommonUtil.isNotNullOrEmpty(dokumen)){
|
||||
|
||||
@ -87,10 +87,10 @@ public class DiagnosaTindakanPasienServiceImpl extends BaseVoServiceImpl impleme
|
||||
if(CommonUtil.isNotNullOrEmpty(vo.getPasien())&& pasienDaftar == null){
|
||||
pasienDaftar =antrianPasienDiPeriksaDao.finByNoIdAndTglRegistrasi(Short.parseShort("0"), vo.getPasien().getId(),
|
||||
vo.getTanggalPendaftaran());
|
||||
diagnosaTindakanPasien.setPasien(pasienDaftar);
|
||||
diagnosaTindakanPasien.setPasienDaftar(pasienDaftar);
|
||||
}
|
||||
else
|
||||
diagnosaTindakanPasien.setPasien(pasienDaftar);
|
||||
diagnosaTindakanPasien.setPasienDaftar(pasienDaftar);
|
||||
diagnosaTindakanPasienDao.delete(diagnosaTindakanPasienDao.findByPasienDaftarNoRec(pasienDaftar.getNoRec()));
|
||||
diagnosaTindakanPasien.setTanggalPendaftaran(vo.getTanggalPendaftaran());
|
||||
diagnosaTindakanPasien.getDiagnosisTindakan().clear();
|
||||
@ -185,8 +185,8 @@ public class DiagnosaTindakanPasienServiceImpl extends BaseVoServiceImpl impleme
|
||||
|
||||
Map<String,Object> resultDiagnosaTindakanPasien=new HashMap<String,Object>();
|
||||
resultDiagnosaTindakanPasien.put("noRec", resultPasien.getNoRec());
|
||||
resultDiagnosaTindakanPasien.put("namaPasien", resultPasien.getPasien().getPasienDaftar().getPasien().getNamaPasien());
|
||||
resultDiagnosaTindakanPasien.put("noCm", resultPasien.getPasien().getPasienDaftar().getPasien().getNoCm());
|
||||
resultDiagnosaTindakanPasien.put("namaPasien", resultPasien.getPasienDaftar().getPasienDaftar().getPasien().getNamaPasien());
|
||||
resultDiagnosaTindakanPasien.put("noCm", resultPasien.getPasienDaftar().getPasienDaftar().getPasien().getNoCm());
|
||||
return resultDiagnosaTindakanPasien;
|
||||
}
|
||||
|
||||
|
||||
@ -94,7 +94,7 @@ public class DisposisiServiceImpl extends BaseVoServiceImpl implements Disposisi
|
||||
}
|
||||
|
||||
|
||||
dokumen.setqDokumen(0);
|
||||
dokumen.setQDokumen(0);
|
||||
dokumen.setQtyLampiran((short) 1);
|
||||
dokumen.setTglDokumen(new Date());
|
||||
|
||||
|
||||
@ -309,7 +309,7 @@ public class DokumenKeluarServiceImpl extends BaseVoServiceImpl implements Dokum
|
||||
if(CommonUtil.isNotNullOrEmpty(vo.getPathFile())){
|
||||
dokumen.setPathFile(vo.getPathFile());
|
||||
}
|
||||
dokumen.setqDokumen(0);
|
||||
dokumen.setQDokumen(0);
|
||||
if(CommonUtil.isNotNullOrEmpty(vo.getLampiran())){
|
||||
dokumen.setQtyLampiran(vo.getLampiran());
|
||||
}
|
||||
|
||||
@ -103,7 +103,7 @@ public class DraftSuratServiceImpl extends BaseAngaranServiceImpl implements Dra
|
||||
dokumen.setNamaJudulDokumen(vo.getJudul());
|
||||
}
|
||||
|
||||
dokumen.setqDokumen(0);
|
||||
dokumen.setQDokumen(0);
|
||||
dokumen.setQtyLampiran((short) 1);
|
||||
dokumen.setTglDokumen(new Date());
|
||||
|
||||
|
||||
@ -1,39 +1,30 @@
|
||||
package com.jasamedika.medifirst2000.service.impl;
|
||||
|
||||
import java.text.DecimalFormat;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.orm.jpa.JpaSystemException;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import com.jasamedika.medifirst2000.vo.ProdukDetailLaboratoriumVO;
|
||||
|
||||
import com.jasamedika.medifirst2000.entities.ProdukDetailLaboratorium;
|
||||
import com.jasamedika.medifirst2000.entities.StrukHasilPemeriksaan;
|
||||
import com.jasamedika.medifirst2000.exception.ServiceVOException;
|
||||
import com.jasamedika.medifirst2000.service.HasilPemeriksaanService;
|
||||
import com.jasamedika.medifirst2000.util.CommonUtil;
|
||||
import com.jasamedika.medifirst2000.entities.HasilPemeriksaan;
|
||||
import com.jasamedika.medifirst2000.entities.OrderPelayanan;
|
||||
import com.jasamedika.medifirst2000.vo.HasilPemeriksaanVO;
|
||||
import com.jasamedika.medifirst2000.converter.BaseConverterImpl;
|
||||
import com.jasamedika.medifirst2000.dao.HasilPemeriksaanDao;
|
||||
import com.jasamedika.medifirst2000.dao.OrderPelayananDao;
|
||||
import com.jasamedika.medifirst2000.dao.PasienDaftarDao;
|
||||
import com.jasamedika.medifirst2000.dao.StrukHasilPemeriksaanDao;
|
||||
import com.jasamedika.medifirst2000.entities.HasilPemeriksaan;
|
||||
import com.jasamedika.medifirst2000.entities.OrderPelayanan;
|
||||
import com.jasamedika.medifirst2000.entities.ProdukDetailLaboratorium;
|
||||
import com.jasamedika.medifirst2000.entities.StrukHasilPemeriksaan;
|
||||
import com.jasamedika.medifirst2000.service.HasilPemeriksaanService;
|
||||
import com.jasamedika.medifirst2000.util.CommonUtil;
|
||||
import com.jasamedika.medifirst2000.vo.HasilPemeriksaanVO;
|
||||
import com.jasamedika.medifirst2000.vo.ProdukDetailLaboratoriumVO;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.text.DecimalFormat;
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Implement class for HasilPemeriksaanService
|
||||
*
|
||||
* @author Generator
|
||||
* @param <T>
|
||||
*/
|
||||
@Service("hasilPemeriksaanService")
|
||||
public class HasilPemeriksaanServiceImpl extends BaseVoServiceImpl implements HasilPemeriksaanService {
|
||||
@ -99,7 +90,7 @@ public class HasilPemeriksaanServiceImpl extends BaseVoServiceImpl implements Ha
|
||||
public StrukHasilPemeriksaan getStruk(HasilPemeriksaan strukHasilPemeriksaan) {
|
||||
if(hasilPemeriksaanDao.findOne(strukHasilPemeriksaan.getNoRec())==null)
|
||||
return null;
|
||||
return hasilPemeriksaanDao.findOne(strukHasilPemeriksaan.getNoRec()).getstrukHasilPemeriksaan();
|
||||
return hasilPemeriksaanDao.findOne(strukHasilPemeriksaan.getNoRec()).getStrukHasilPemeriksaan();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -1,46 +1,17 @@
|
||||
package com.jasamedika.medifirst2000.service.impl;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.TreeMap;
|
||||
|
||||
import com.jasamedika.medifirst2000.dao.*;
|
||||
import com.jasamedika.medifirst2000.dto.HargaNettoProdukByTerimaTemp;
|
||||
import com.jasamedika.medifirst2000.dto.PiutangRekananProfileTemp;
|
||||
import com.jasamedika.medifirst2000.entities.*;
|
||||
import com.jasamedika.medifirst2000.service.PelayananHargaStokDiskonService;
|
||||
import com.jasamedika.medifirst2000.service.PelayananPiutangRekananService;
|
||||
import com.jasamedika.medifirst2000.util.CommonUtil;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import com.jasamedika.medifirst2000.dao.AntrianPasienDiPeriksaDao;
|
||||
import com.jasamedika.medifirst2000.dao.HargaNettoProdukByKelasDao;
|
||||
import com.jasamedika.medifirst2000.dao.HargaPaketPenjaminDao;
|
||||
import com.jasamedika.medifirst2000.dao.HargaPaketPenjaminLuarPaketDao;
|
||||
import com.jasamedika.medifirst2000.dao.MapRuanganToProdukDao;
|
||||
import com.jasamedika.medifirst2000.dao.PersenTanggunganPenjaminDao;
|
||||
import com.jasamedika.medifirst2000.dao.ProdukTidakDiTanggungDao;
|
||||
import com.jasamedika.medifirst2000.dao.RuanganDao;
|
||||
import com.jasamedika.medifirst2000.dto.HargaNettoProdukByTerimaTemp;
|
||||
import com.jasamedika.medifirst2000.dto.PiutangRekananProfileTemp;
|
||||
import com.jasamedika.medifirst2000.entities.AntrianPasienDiPeriksa;
|
||||
import com.jasamedika.medifirst2000.entities.AsalProduk;
|
||||
import com.jasamedika.medifirst2000.entities.GolonganAsuransi;
|
||||
import com.jasamedika.medifirst2000.entities.HargaNettoProdukByKelas;
|
||||
import com.jasamedika.medifirst2000.entities.HargaPaketPenjamin;
|
||||
import com.jasamedika.medifirst2000.entities.HargaPaketPenjaminLuarPaket;
|
||||
import com.jasamedika.medifirst2000.entities.HubunganKeluarga;
|
||||
import com.jasamedika.medifirst2000.entities.JenisTarif;
|
||||
import com.jasamedika.medifirst2000.entities.Kelas;
|
||||
import com.jasamedika.medifirst2000.entities.KelompokPasien;
|
||||
import com.jasamedika.medifirst2000.entities.KomponenHarga;
|
||||
import com.jasamedika.medifirst2000.entities.Paket;
|
||||
import com.jasamedika.medifirst2000.entities.PersenTanggunganPenjamin;
|
||||
import com.jasamedika.medifirst2000.entities.Produk;
|
||||
import com.jasamedika.medifirst2000.entities.ProdukTidakDiTanggung;
|
||||
import com.jasamedika.medifirst2000.entities.Rekanan;
|
||||
import com.jasamedika.medifirst2000.entities.Ruangan;
|
||||
import com.jasamedika.medifirst2000.service.PelayananHargaStokDiskonService;
|
||||
import com.jasamedika.medifirst2000.service.PelayananPiutangRekananService;
|
||||
import com.jasamedika.medifirst2000.util.CommonUtil;
|
||||
import java.util.*;
|
||||
|
||||
@Service("PelayananPiutangRekananService")
|
||||
public class PelayananPiutangRekananServiceImpl implements PelayananPiutangRekananService {
|
||||
@ -236,7 +207,7 @@ public class PelayananPiutangRekananServiceImpl implements PelayananPiutangRekan
|
||||
maxTPenjamin = String.valueOf(hargaPaketPenjaminLuarPaket.getMaxTPenjamin());
|
||||
persenTPenjaminSelisih = String.valueOf(hargaPaketPenjaminLuarPaket.getPersenTPenjamindrSelisih());
|
||||
persenTProfileSelisih = String.valueOf(hargaPaketPenjaminLuarPaket.getPersenTProfiledrSelisih());
|
||||
qtyMaxKunjungan = String.valueOf(hargaPaketPenjaminLuarPaket.getqtyMaxProduk());
|
||||
qtyMaxKunjungan = String.valueOf(hargaPaketPenjaminLuarPaket.getQtyMaxProduk());
|
||||
}
|
||||
}
|
||||
if (listHargaPaketPenjamin != null) {
|
||||
|
||||
@ -213,7 +213,6 @@ import com.jasamedika.medifirst2000.vo.TempatTidurVO;
|
||||
* Implement class for RegistrasiPasienService
|
||||
*
|
||||
* @author Askur
|
||||
* @param <T>
|
||||
*/
|
||||
@Service("registrasiPelayananService")
|
||||
public class RegistrasiPelayananServiceImpl extends BaseVoServiceImpl
|
||||
@ -1283,8 +1282,8 @@ public class RegistrasiPelayananServiceImpl extends BaseVoServiceImpl
|
||||
if (CommonUtil.isNullOrEmpty(dokumen.getTglDokumen())) {
|
||||
dokumen.setTglDokumen(new Date());
|
||||
}
|
||||
if (CommonUtil.isNullOrEmpty(dokumen.getqDokumen())) {
|
||||
dokumen.setqDokumen(0);
|
||||
if (CommonUtil.isNullOrEmpty(dokumen.getQDokumen())) {
|
||||
dokumen.setQDokumen(0);
|
||||
}
|
||||
if (CommonUtil.isNullOrEmpty(dokumen.getJenisDokumen())) {
|
||||
JenisDokumen jenisDokumen = new JenisDokumen();
|
||||
@ -2068,7 +2067,7 @@ public class RegistrasiPelayananServiceImpl extends BaseVoServiceImpl
|
||||
}
|
||||
|
||||
} else {
|
||||
maps.put("header", hasilTindakan.get(0).getstrukHasilPemeriksaan().ToMap());
|
||||
maps.put("header", hasilTindakan.get(0).getStrukHasilPemeriksaan().ToMap());
|
||||
for (HasilPemeriksaan map : hasilTindakan) {
|
||||
Map<String, Object> mapData = new HashMap<>();
|
||||
Map<String, Object> produkMap = map.ToMap();
|
||||
|
||||
@ -288,7 +288,7 @@ public class RekrutmenServiceImpl extends BaseVoServiceImpl implements Rekrutmen
|
||||
for(DokumenLamaranDto model:dto.getSetDokumenLamaran()){
|
||||
Dokumen dokumen=new Dokumen();
|
||||
dokumen.setNamaJudulDokumen("CV");
|
||||
dokumen.setqDokumen(0);
|
||||
dokumen.setQDokumen(0);
|
||||
Lokasi lokasi=new Lokasi();
|
||||
lokasi.setId(1);
|
||||
dokumen.setLokasi(lokasi);
|
||||
|
||||
@ -356,7 +356,7 @@ public class SuratMasukServiceImpl extends BaseVoServiceImpl implements SuratMas
|
||||
|
||||
dokumen.setPegawaiPembuat(pegawaiPembuat);
|
||||
dokumen.setNamaPegawaiPembuat(loginUserService.getLoginUser().getPegawai().getNamaLengkap());
|
||||
dokumen.setqDokumen(0);
|
||||
dokumen.setQDokumen(0);
|
||||
dokumen.setQtyLampiran((short) 1);
|
||||
dokumen.setTglDokumen(DateUtil.getShortDate());
|
||||
dokumen.setNoDokumen(GenerateNoDokumen());
|
||||
@ -816,7 +816,7 @@ public class SuratMasukServiceImpl extends BaseVoServiceImpl implements SuratMas
|
||||
|
||||
dokumen.setPegawaiPembuat(pegawaiPembuat);
|
||||
dokumen.setNamaPegawaiPembuat(loginUserService.getLoginUser().getPegawai().getNamaLengkap());
|
||||
dokumen.setqDokumen(0);
|
||||
dokumen.setQDokumen(0);
|
||||
dokumen.setQtyLampiran((short) 1);
|
||||
dokumen.setTglDokumen(DateUtil.getShortDate());
|
||||
dokumen.setNoDokumen(GenerateNoDokumen());
|
||||
@ -1032,7 +1032,7 @@ public class SuratMasukServiceImpl extends BaseVoServiceImpl implements SuratMas
|
||||
dokumen.setPegawaiPembuat(loginUserService.getLoginUser().getPegawai());
|
||||
dokumen.setRuangan(loginUserService.getLoginUser().getPegawai().getRuangan());
|
||||
dokumen.setTglDokumen(dokumenTemplateVO.getTanggal());
|
||||
dokumen.setqDokumen(0);
|
||||
dokumen.setQDokumen(0);
|
||||
dokumen.setQtyLampiran((short) 1);
|
||||
dokumen.setNoDokumen(dokumenTemplateVO.getKdDokumen().toString());
|
||||
daoDokumen.save(dokumen);
|
||||
@ -1211,7 +1211,7 @@ public class SuratMasukServiceImpl extends BaseVoServiceImpl implements SuratMas
|
||||
dokumen.setTglDokumen(suratMasukDariExternalVO.getTglSurat());
|
||||
dokumen.setIsDokumenInOutInt((byte) 0);//Masuk 0, keluar 1, Buat Penomoran = 2
|
||||
dokumen.setRuangan(loginUser.getPegawai().getRuangan());
|
||||
dokumen.setqDokumen(0);
|
||||
dokumen.setQDokumen(0);
|
||||
dokumen.setQtyLampiran((short) 0);
|
||||
daoDokumen.save(dokumen);
|
||||
|
||||
@ -1507,7 +1507,7 @@ public class SuratMasukServiceImpl extends BaseVoServiceImpl implements SuratMas
|
||||
dokumen.setTglDokumen(suratMasukInternalEksternalVO.getTglDokumen());
|
||||
dokumen.setIsDokumenInOutInt((byte) 2);//Masuk 0, keluar 1, Buat Penomoran = 2
|
||||
dokumen.setRuangan(loginUser.getPegawai().getRuangan());
|
||||
dokumen.setqDokumen(0);
|
||||
dokumen.setQDokumen(0);
|
||||
dokumen.setQtyLampiran((short) 0);
|
||||
dokumen.setDeskripsiDokumen(suratMasukInternalEksternalVO.getLampiran());
|
||||
daoDokumen.save(dokumen);//Buat dokumen baru
|
||||
@ -1758,7 +1758,7 @@ public class SuratMasukServiceImpl extends BaseVoServiceImpl implements SuratMas
|
||||
dokumen.setTglDokumen(new Date());
|
||||
dokumen.setIsDokumenInOutInt((byte) 0);//Masuk 0, keluar 1, Buat Penomoran = 2
|
||||
dokumen.setRuangan(loginUser.getPegawai().getRuangan());
|
||||
dokumen.setqDokumen(0);
|
||||
dokumen.setQDokumen(0);
|
||||
dokumen.setQtyLampiran((short) 0);
|
||||
daoDokumen.save(dokumen);
|
||||
|
||||
|
||||
@ -1,54 +1,32 @@
|
||||
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.persistence.*;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name="DeathOnArrival_M")
|
||||
public class DeathOnArrival extends BaseMaster{
|
||||
@Table(name = "DeathOnArrival_M")
|
||||
public class DeathOnArrival extends BaseMaster {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.deathonarrival_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.deathonarrival_m_id_seq", sequenceName = "public.deathonarrival_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.deathonarrival_m_id_seq")
|
||||
@SequenceGenerator(name = "public.deathonarrival_m_id_seq", sequenceName = "public.deathonarrival_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
|
||||
@Column(name = "Name", nullable = false, length = 100)
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
|
||||
@Column(name = "Nilai", nullable = false)
|
||||
@Caption(value = "Nilai")
|
||||
private Integer nilai;
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Integer getNilai() {
|
||||
return nilai;
|
||||
}
|
||||
|
||||
public void setNilai(Integer nilai) {
|
||||
this.nilai = nilai;
|
||||
}
|
||||
}
|
||||
|
||||
@ -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.persistence.*;
|
||||
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 static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "rm_DefeaksiAnus_M")
|
||||
public class DefeaksiAnus 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.defeaksianus_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.defeaksianus_m_id_seq", sequenceName = "public.defeaksianus_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.defeaksianus_m_id_seq")
|
||||
@SequenceGenerator(name = "public.defeaksianus_m_id_seq", sequenceName = "public.defeaksianus_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.persistence.*;
|
||||
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 static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "rm_DefeaksiBab_M")
|
||||
public class DefeaksiBab 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.defeaksibab_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.defeaksibab_m_id_seq", sequenceName = "public.defeaksibab_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.defeaksibab_m_id_seq")
|
||||
@SequenceGenerator(name = "public.defeaksibab_m_id_seq", sequenceName = "public.defeaksibab_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,48 +1,29 @@
|
||||
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.persistence.*;
|
||||
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 static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "rm_DefeaksiFeses_M")
|
||||
public class DefeaksiFeses 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.defeaksifeses_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(
|
||||
name="public.defeaksifeses_m_id_seq", sequenceName="public.defeaksifeses_m_id_seq",
|
||||
allocationSize=1 )
|
||||
@Column(name = "id") protected Integer id;
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.defeaksifeses_m_id_seq")
|
||||
@SequenceGenerator(name = "public.defeaksifeses_m_id_seq", sequenceName = "public.defeaksifeses_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
}
|
||||
@ -1,54 +1,33 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* class Degree
|
||||
* class Degree
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "sdm_Degree_T")
|
||||
public class Degree 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 Degree extends BaseTransaction {
|
||||
@Column(name = "Id", nullable = false, length = 100)
|
||||
@Caption(value = "Id")
|
||||
private Integer id;
|
||||
|
||||
@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 = "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,33 +1,33 @@
|
||||
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.SequenceGenerator;
|
||||
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 javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class Departemen
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@Entity
|
||||
@Table(name = "Departemen_M")
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class Departemen extends BaseMaster {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.departemen_m_id_seq")
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.departemen_m_id_seq")
|
||||
@SequenceGenerator(name = "public.departemen_m_id_seq", sequenceName = "public.departemen_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
@ -41,7 +41,7 @@ public class Departemen extends BaseMaster {
|
||||
@Caption(value = "QDepartemen")
|
||||
private Byte qDepartemen;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectPegawaiKepalaFk")
|
||||
@Caption(value = "Object Pegawai Kepala")
|
||||
private LoginUser pegawaiKepala;
|
||||
@ -64,7 +64,7 @@ public class Departemen extends BaseMaster {
|
||||
@Caption(value = "Mobile Phone")
|
||||
private String mobilePhone;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectJenisPerawatanFk")
|
||||
@NotNull(message = "Object Jenis Perawatan Harus Diisi")
|
||||
@Caption(value = "Object Jenis Perawatan")
|
||||
@ -83,135 +83,6 @@ public class Departemen extends BaseMaster {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Departemen() {
|
||||
super();
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setNamaDepartemen(String namaDepartemen) {
|
||||
this.namaDepartemen = namaDepartemen;
|
||||
}
|
||||
|
||||
@NotNull(message = "Nama Departemen tidak boleh kosong")
|
||||
@Column(name = "NamaDepartemen", nullable = true, length = 50)
|
||||
public String getNamaDepartemen() {
|
||||
return this.namaDepartemen;
|
||||
}
|
||||
|
||||
public void setKdDepartemen(String kdDepartemen) {
|
||||
this.kdDepartemen = kdDepartemen;
|
||||
}
|
||||
|
||||
@NotNull(message = "Kd Departemen tidak boleh kosong")
|
||||
@Column(name = "KdDepartemen", nullable = true, length = 1)
|
||||
public String getKdDepartemen() {
|
||||
return this.kdDepartemen;
|
||||
}
|
||||
|
||||
public void setqDepartemen(Byte qDepartemen) {
|
||||
this.qDepartemen = qDepartemen;
|
||||
}
|
||||
|
||||
@NotNull(message = "QDepartemen tidak boleh kosong")
|
||||
@Column(name = "QDepartemen", nullable = true)
|
||||
public Byte getqDepartemen() {
|
||||
return this.qDepartemen;
|
||||
}
|
||||
|
||||
public void setPegawaiKepala(LoginUser pegawaiKepala) {
|
||||
this.pegawaiKepala = pegawaiKepala;
|
||||
}
|
||||
|
||||
public LoginUser getPegawaiKepala() {
|
||||
return this.pegawaiKepala;
|
||||
}
|
||||
|
||||
public void setPegawaiKepalaId(Integer pegawaiKepalaId) {
|
||||
this.pegawaiKepalaId = pegawaiKepalaId;
|
||||
}
|
||||
|
||||
public Integer getPegawaiKepalaId() {
|
||||
return pegawaiKepalaId;
|
||||
}
|
||||
|
||||
public void setAlamatEmail(String alamatEmail) {
|
||||
this.alamatEmail = alamatEmail;
|
||||
}
|
||||
|
||||
@Column(name = "AlamatEmail", nullable = true, length = 50)
|
||||
public String getAlamatEmail() {
|
||||
return this.alamatEmail;
|
||||
}
|
||||
|
||||
public void setWebsite(String website) {
|
||||
this.website = website;
|
||||
}
|
||||
|
||||
@Column(name = "Website", nullable = true, length = 80)
|
||||
public String getWebsite() {
|
||||
return this.website;
|
||||
}
|
||||
|
||||
public void setFaksimile(String faksimile) {
|
||||
this.faksimile = faksimile;
|
||||
}
|
||||
|
||||
@Column(name = "Faksimile", nullable = true, length = 30)
|
||||
public String getFaksimile() {
|
||||
return this.faksimile;
|
||||
}
|
||||
|
||||
public void setFixedPhone(String fixedPhone) {
|
||||
this.fixedPhone = fixedPhone;
|
||||
}
|
||||
|
||||
@Column(name = "FixedPhone", nullable = true, length = 30)
|
||||
public String getFixedPhone() {
|
||||
return this.fixedPhone;
|
||||
}
|
||||
|
||||
public void setMobilePhone(String mobilePhone) {
|
||||
this.mobilePhone = mobilePhone;
|
||||
}
|
||||
|
||||
@Column(name = "MobilePhone", nullable = true, length = 30)
|
||||
public String getMobilePhone() {
|
||||
return this.mobilePhone;
|
||||
}
|
||||
|
||||
public void setJenisPerawatan(JenisPerawatan jenisPerawatan) {
|
||||
this.jenisPerawatan = jenisPerawatan;
|
||||
}
|
||||
|
||||
@NotNull(message = "Kd Jenis Perawatan tidak boleh kosong")
|
||||
public JenisPerawatan getJenisPerawatan() {
|
||||
return this.jenisPerawatan;
|
||||
}
|
||||
|
||||
public void setJenisPerawatanId(Integer jenisPerawatanId) {
|
||||
this.jenisPerawatanId = jenisPerawatanId;
|
||||
}
|
||||
|
||||
public Integer getJenisPerawatanId() {
|
||||
return jenisPerawatanId;
|
||||
}
|
||||
|
||||
public void setPrefixNoAntrian(String prefixNoAntrian) {
|
||||
this.prefixNoAntrian = prefixNoAntrian;
|
||||
}
|
||||
|
||||
@Column(name = "PrefixNoAntrian", nullable = true, length = 4)
|
||||
public String getPrefixNoAntrian() {
|
||||
return this.prefixNoAntrian;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Departemen [id=" + id + ", namaDepartemen=" + namaDepartemen + ", statusEnabled=" + statusEnabled + "]";
|
||||
|
||||
@ -1,23 +1,18 @@
|
||||
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.SequenceGenerator;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseActive;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
/**
|
||||
* @author salmanoe
|
||||
* @since Dec 2, 2021
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "departementounitkerja_m")
|
||||
public class DepartemenToUnitKerja extends BaseActive {
|
||||
@ -44,46 +39,6 @@ public class DepartemenToUnitKerja extends BaseActive {
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Departemen getDepartemen() {
|
||||
return departemen;
|
||||
}
|
||||
|
||||
public void setDepartemen(Departemen departemen) {
|
||||
this.departemen = departemen;
|
||||
}
|
||||
|
||||
public Integer getDepartemenId() {
|
||||
return departemenId;
|
||||
}
|
||||
|
||||
public void setDepartemenId(Integer departemenId) {
|
||||
this.departemenId = departemenId;
|
||||
}
|
||||
|
||||
public UnitKerjaPegawai getUnitKerja() {
|
||||
return unitKerja;
|
||||
}
|
||||
|
||||
public void setUnitKerja(UnitKerjaPegawai unitKerja) {
|
||||
this.unitKerja = unitKerja;
|
||||
}
|
||||
|
||||
public Integer getUnitKerjaId() {
|
||||
return unitKerjaId;
|
||||
}
|
||||
|
||||
public void setUnitKerjaId(Integer unitKerjaId) {
|
||||
this.unitKerjaId = unitKerjaId;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "DepartemenToUnitKerja [id=" + id + ", departemenId=" + departemenId + ", unitKerjaId=" + unitKerjaId
|
||||
|
||||
@ -1,94 +1,51 @@
|
||||
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 DesignDashboard
|
||||
* class DesignDashboard
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "sdm_DesignDashboard_T")
|
||||
public class DesignDashboard extends BaseTransaction{
|
||||
@Column(name = "Kelompok", nullable = false , length = 100)
|
||||
@Caption(value = "Kelompok")
|
||||
private String kelompok ;
|
||||
public String getKelompok() {
|
||||
return kelompok ;
|
||||
}
|
||||
public void setKelompok(String kelompok ) {
|
||||
this.kelompok = kelompok ;
|
||||
}
|
||||
public class DesignDashboard extends BaseTransaction {
|
||||
|
||||
@Column(name = "Query", nullable = false , length = 100)
|
||||
@Caption(value = "Query")
|
||||
private String query ;
|
||||
public String getQuery() {
|
||||
return query ;
|
||||
}
|
||||
public void setQuery(String query ) {
|
||||
this.query = query ;
|
||||
}
|
||||
@Column(name = "Kelompok", nullable = false, length = 100)
|
||||
@Caption(value = "Kelompok")
|
||||
private String kelompok;
|
||||
|
||||
@Column(name = "Type", nullable = false , length = 100)
|
||||
@Caption(value = "Type")
|
||||
private String type ;
|
||||
public String getType() {
|
||||
return type ;
|
||||
}
|
||||
public void setType(String type ) {
|
||||
this.type = type ;
|
||||
}
|
||||
@Column(name = "Query", nullable = false, length = 100)
|
||||
@Caption(value = "Query")
|
||||
private String query;
|
||||
|
||||
@Column(name = "Title", nullable = false , length = 100)
|
||||
@Caption(value = "Title")
|
||||
private String title ;
|
||||
public String getTitle() {
|
||||
return title ;
|
||||
}
|
||||
public void setTitle(String title ) {
|
||||
this.title = title ;
|
||||
}
|
||||
@Column(name = "Type", nullable = false, length = 100)
|
||||
@Caption(value = "Type")
|
||||
private String type;
|
||||
|
||||
@Column(name = "Span", nullable = false , length = 100)
|
||||
@Caption(value = "Span")
|
||||
private String span ;
|
||||
public String getSpan() {
|
||||
return span ;
|
||||
}
|
||||
public void setSpan(String span ) {
|
||||
this.span = span ;
|
||||
}
|
||||
@Column(name = "Title", nullable = false, length = 100)
|
||||
@Caption(value = "Title")
|
||||
private String title;
|
||||
|
||||
@Column(name = "Series", nullable = false , length = 100)
|
||||
@Caption(value = "Series")
|
||||
private String series ;
|
||||
public String getSeries() {
|
||||
return series ;
|
||||
}
|
||||
public void setSeries(String series ) {
|
||||
this.series = series ;
|
||||
}
|
||||
@Column(name = "Span", nullable = false, length = 100)
|
||||
@Caption(value = "Span")
|
||||
private String span;
|
||||
|
||||
@Column(name = "Detail", nullable = false , length = 100)
|
||||
@Caption(value = "Detail")
|
||||
private String detail ;
|
||||
public String getDetail() {
|
||||
return detail ;
|
||||
}
|
||||
public void setDetail(String detail ) {
|
||||
this.detail = detail ;
|
||||
}
|
||||
@Column(name = "Series", nullable = false, length = 100)
|
||||
@Caption(value = "Series")
|
||||
private String series;
|
||||
|
||||
@Column(name = "Detail", nullable = false, length = 100)
|
||||
@Caption(value = "Detail")
|
||||
private String detail;
|
||||
|
||||
}
|
||||
@ -1,225 +1,88 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.io.Serializable;
|
||||
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.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;
|
||||
|
||||
/**
|
||||
* class DestroyProduk
|
||||
* class DestroyProduk
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DestroyProduk_T")
|
||||
public class DestroyProduk extends BaseTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectAsalProdukFk")
|
||||
@NotNull(message="Object Asal Produk Harus Diisi")
|
||||
@Caption(value="Object Asal Produk")
|
||||
@NotNull(message = "Object Asal Produk Harus Diisi")
|
||||
@Caption(value = "Object Asal Produk")
|
||||
private AsalProduk asalProduk;
|
||||
|
||||
|
||||
@Column(name = "ObjectAsalProdukFk", insertable=false,updatable=false)
|
||||
@Column(name = "ObjectAsalProdukFk", insertable = false, updatable = false)
|
||||
private Integer asalProdukId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectProdukFk")
|
||||
@NotNull(message="Object Produk Harus Diisi")
|
||||
@Caption(value="Object Produk")
|
||||
@NotNull(message = "Object Produk Harus Diisi")
|
||||
@Caption(value = "Object Produk")
|
||||
private Produk produk;
|
||||
|
||||
|
||||
@Column(name = "ObjectProdukFk", insertable=false,updatable=false)
|
||||
@Column(name = "ObjectProdukFk", insertable = false, updatable = false)
|
||||
private Integer produkId;
|
||||
|
||||
@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 ruangan;
|
||||
|
||||
|
||||
@Column(name = "ObjectRuanganFk", insertable=false,updatable=false)
|
||||
@Column(name = "ObjectRuanganFk", insertable = false, updatable = false)
|
||||
private Integer ruanganId;
|
||||
|
||||
@Caption(value="Keterangan Alasan")
|
||||
@Column(name = "KeteranganAlasan", nullable = true , length = 225)
|
||||
@Caption(value = "Keterangan Alasan")
|
||||
@Column(name = "KeteranganAlasan", length = 225)
|
||||
private String keteranganAlasan;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "NoHistoriFk")
|
||||
@NotNull(message="No Histori Harus Diisi")
|
||||
@Caption(value="No Histori")
|
||||
@NotNull(message = "No Histori Harus Diisi")
|
||||
@Caption(value = "No Histori")
|
||||
private StrukHistori strukHistory;
|
||||
|
||||
|
||||
@Column(name = "NoHistoriFk", insertable=false,updatable=false)
|
||||
@Column(name = "NoHistoriFk", insertable = false, updatable = false)
|
||||
private String strukHistoryId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "NoStrukTerimaFk")
|
||||
@NotNull(message="No Struk Terima Harus Diisi")
|
||||
@Caption(value="No Struk Terima")
|
||||
@NotNull(message = "No Struk Terima Harus Diisi")
|
||||
@Caption(value = "No Struk Terima")
|
||||
private StrukPelayanan strukPelayanan;
|
||||
|
||||
|
||||
@Column(name = "NoStrukTerimaFk", insertable=false,updatable=false)
|
||||
@Column(name = "NoStrukTerimaFk", insertable = false, updatable = false)
|
||||
private String strukPelayananId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "NoVerifikasiFk")
|
||||
@Caption(value="No Verifikasi")
|
||||
@Caption(value = "No Verifikasi")
|
||||
private StrukVerifikasi strukVerifikasi;
|
||||
|
||||
|
||||
@Column(name = "NoVerifikasiFk", insertable=false,updatable=false)
|
||||
@Column(name = "NoVerifikasiFk", insertable = false, updatable = false)
|
||||
private String strukVerifikasiId;
|
||||
|
||||
@Caption(value="Qty Produk")
|
||||
@Column(name = "QtyProduk", nullable = false )
|
||||
@Caption(value = "Qty Produk")
|
||||
@Column(name = "QtyProduk", nullable = false)
|
||||
private Double qtyProduk;
|
||||
|
||||
|
||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "destroyProduk")
|
||||
private Set<DestroyProdukDetail> destroyProdukDetail = new HashSet<DestroyProdukDetail>();
|
||||
|
||||
public AsalProduk getAsalProduk() {
|
||||
return asalProduk;
|
||||
}
|
||||
|
||||
public void setAsalProduk(AsalProduk asalProduk) {
|
||||
this.asalProduk = asalProduk;
|
||||
}
|
||||
|
||||
public Integer getAsalProdukId() {
|
||||
return asalProdukId;
|
||||
}
|
||||
|
||||
public void setAsalProdukId(Integer asalProdukId) {
|
||||
this.asalProdukId = asalProdukId;
|
||||
}
|
||||
|
||||
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 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 String getKeteranganAlasan() {
|
||||
return keteranganAlasan;
|
||||
}
|
||||
|
||||
public void setKeteranganAlasan(String keteranganAlasan) {
|
||||
this.keteranganAlasan = keteranganAlasan;
|
||||
}
|
||||
|
||||
public StrukHistori getStrukHistory() {
|
||||
return strukHistory;
|
||||
}
|
||||
|
||||
public void setStrukHistory(StrukHistori strukHistory) {
|
||||
this.strukHistory = strukHistory;
|
||||
}
|
||||
|
||||
public String getStrukHistoryId() {
|
||||
return strukHistoryId;
|
||||
}
|
||||
|
||||
public void setStrukHistoryId(String strukHistoryId) {
|
||||
this.strukHistoryId = strukHistoryId;
|
||||
}
|
||||
|
||||
public StrukPelayanan getStrukPelayanan() {
|
||||
return strukPelayanan;
|
||||
}
|
||||
|
||||
public void setStrukPelayanan(StrukPelayanan strukPelayanan) {
|
||||
this.strukPelayanan = strukPelayanan;
|
||||
}
|
||||
|
||||
public String getStrukPelayananId() {
|
||||
return strukPelayananId;
|
||||
}
|
||||
|
||||
public void setStrukPelayananId(String strukPelayananId) {
|
||||
this.strukPelayananId = strukPelayananId;
|
||||
}
|
||||
|
||||
public StrukVerifikasi getStrukVerifikasi() {
|
||||
return strukVerifikasi;
|
||||
}
|
||||
|
||||
public void setStrukVerifikasi(StrukVerifikasi strukVerifikasi) {
|
||||
this.strukVerifikasi = strukVerifikasi;
|
||||
}
|
||||
|
||||
public String getStrukVerifikasiId() {
|
||||
return strukVerifikasiId;
|
||||
}
|
||||
|
||||
public void setStrukVerifikasiId(String strukVerifikasiId) {
|
||||
this.strukVerifikasiId = strukVerifikasiId;
|
||||
}
|
||||
|
||||
public Double getQtyProduk() {
|
||||
return qtyProduk;
|
||||
}
|
||||
|
||||
public void setQtyProduk(Double qtyProduk) {
|
||||
this.qtyProduk = qtyProduk;
|
||||
}
|
||||
|
||||
public Set<DestroyProdukDetail> getDestroyProdukDetail() {
|
||||
return destroyProdukDetail;
|
||||
}
|
||||
|
||||
public void setDestroyProdukDetail(Set<DestroyProdukDetail> destroyProdukDetail) {
|
||||
this.destroyProdukDetail = destroyProdukDetail;
|
||||
}
|
||||
|
||||
|
||||
|
||||
private Set<DestroyProdukDetail> destroyProdukDetail = new HashSet<>();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,281 +1,107 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
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 DestroyProdukDetail
|
||||
* class DestroyProdukDetail
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DestroyProdukDetail_T")
|
||||
public class DestroyProdukDetail extends BaseTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectAsalProdukFk")
|
||||
@NotNull(message="Object Asal Produk Harus Diisi")
|
||||
@Caption(value="Object Asal Produk")
|
||||
@NotNull(message = "Object Asal Produk Harus Diisi")
|
||||
@Caption(value = "Object Asal Produk")
|
||||
private AsalProduk asalProduk;
|
||||
|
||||
@Column(name = "ObjectAsalProdukFk", insertable=false,updatable=false)
|
||||
@Column(name = "ObjectAsalProdukFk", insertable = false, updatable = false)
|
||||
private Integer asalProdukId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectProdukFk")
|
||||
@NotNull(message="Object Produk Harus Diisi")
|
||||
@Caption(value="Object Produk")
|
||||
@NotNull(message = "Object Produk Harus Diisi")
|
||||
@Caption(value = "Object Produk")
|
||||
private Produk produk;
|
||||
|
||||
|
||||
@Column(name = "ObjectProdukFk", insertable=false,updatable=false)
|
||||
@Column(name = "ObjectProdukFk", insertable = false, updatable = false)
|
||||
private Integer produkId;
|
||||
|
||||
@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 ruangan;
|
||||
|
||||
|
||||
@Column(name = "ObjectRuanganFk", insertable=false,updatable=false)
|
||||
@Column(name = "ObjectRuanganFk", insertable = false, updatable = false)
|
||||
private Integer ruanganId;
|
||||
|
||||
@Caption(value="No Batch")
|
||||
@Column(name = "NoBatch", nullable = true , length = 250)
|
||||
@Caption(value = "No Batch")
|
||||
@Column(name = "NoBatch", length = 250)
|
||||
private String nobatch;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "NoHistoriFk")
|
||||
@NotNull(message="No Histori Harus Diisi")
|
||||
@Caption(value="No Histori")
|
||||
@NotNull(message = "No Histori Harus Diisi")
|
||||
@Caption(value = "No Histori")
|
||||
private StrukHistori strukHistory;
|
||||
|
||||
@Column(name = "NoHistoriFk", insertable=false,updatable=false)
|
||||
@Column(name = "NoHistoriFk", insertable = false, updatable = false)
|
||||
private String strukHistoryId;
|
||||
|
||||
|
||||
@Column(name = "tglKadaluarsa")
|
||||
private Date tglKadaluarsa;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "NoRegisterAsetFk")
|
||||
@Caption(value="No Register Aset")
|
||||
@Caption(value = "No Register Aset")
|
||||
private RegistrasiAset registerAset;
|
||||
|
||||
@Column(name = "NoRegisterAsetFk", insertable=false,updatable=false)
|
||||
@Column(name = "NoRegisterAsetFk", insertable = false, updatable = false)
|
||||
private String NoRegisterAsetId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "NoStrukTerimaFk")
|
||||
@NotNull(message="No Struk Terima Harus Diisi")
|
||||
@Caption(value="No Struk Terima")
|
||||
@NotNull(message = "No Struk Terima Harus Diisi")
|
||||
@Caption(value = "No Struk Terima")
|
||||
private StrukPelayanan strukPelayanan;
|
||||
|
||||
@Column(name = "NoStrukTerimaFk", insertable=false,updatable=false)
|
||||
@Column(name = "NoStrukTerimaFk", insertable = false, updatable = false)
|
||||
private String strukPelayananId;
|
||||
|
||||
@Caption(value="No Urut")
|
||||
@Column(name = "NoUrut", nullable = false )
|
||||
@Caption(value = "No Urut")
|
||||
@Column(name = "NoUrut", nullable = false)
|
||||
private short noUrut;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "NoVerifikasiFk")
|
||||
@Caption(value="No Verifikasi")
|
||||
@Caption(value = "No Verifikasi")
|
||||
private StrukVerifikasi strukVerifikasi;
|
||||
|
||||
@Column(name = "NoVerifikasiFk", insertable=false,updatable=false)
|
||||
@Column(name = "NoVerifikasiFk", insertable = false, updatable = false)
|
||||
private String strukVerifikasiId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "DestroyProdukFk")
|
||||
@Caption(value="Destry Produk")
|
||||
@Caption(value = "Destry Produk")
|
||||
private DestroyProduk destroyProduk;
|
||||
|
||||
@Column(name = "DestroyProdukFk", insertable=false,updatable=false)
|
||||
@Column(name = "DestroyProdukFk", insertable = false, updatable = false)
|
||||
private String destroyProdukId;
|
||||
|
||||
@Caption(value="Qty Produk")
|
||||
@Column(name = "QtyProduk", nullable = true )
|
||||
|
||||
@Caption(value = "Qty Produk")
|
||||
@Column(name = "QtyProduk")
|
||||
private Double qtyProduk;
|
||||
|
||||
public AsalProduk getAsalProduk() {
|
||||
return asalProduk;
|
||||
}
|
||||
|
||||
public void setAsalProduk(AsalProduk asalProduk) {
|
||||
this.asalProduk = asalProduk;
|
||||
}
|
||||
|
||||
public Integer getAsalProdukId() {
|
||||
return asalProdukId;
|
||||
}
|
||||
|
||||
public void setAsalProdukId(Integer asalProdukId) {
|
||||
this.asalProdukId = asalProdukId;
|
||||
}
|
||||
|
||||
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 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 String getNobatch() {
|
||||
return nobatch;
|
||||
}
|
||||
|
||||
public void setNobatch(String nobatch) {
|
||||
this.nobatch = nobatch;
|
||||
}
|
||||
|
||||
public StrukHistori getStrukHistory() {
|
||||
return strukHistory;
|
||||
}
|
||||
|
||||
public void setStrukHistory(StrukHistori strukHistory) {
|
||||
this.strukHistory = strukHistory;
|
||||
}
|
||||
|
||||
public String getStrukHistoryId() {
|
||||
return strukHistoryId;
|
||||
}
|
||||
|
||||
public void setStrukHistoryId(String strukHistoryId) {
|
||||
this.strukHistoryId = strukHistoryId;
|
||||
}
|
||||
|
||||
public RegistrasiAset getRegisterAset() {
|
||||
return registerAset;
|
||||
}
|
||||
|
||||
public void setRegisterAset(RegistrasiAset registerAset) {
|
||||
this.registerAset = registerAset;
|
||||
}
|
||||
|
||||
public String getNoRegisterAsetId() {
|
||||
return NoRegisterAsetId;
|
||||
}
|
||||
|
||||
public void setNoRegisterAsetId(String noRegisterAsetId) {
|
||||
NoRegisterAsetId = noRegisterAsetId;
|
||||
}
|
||||
|
||||
public StrukPelayanan getStrukPelayanan() {
|
||||
return strukPelayanan;
|
||||
}
|
||||
|
||||
public void setStrukPelayanan(StrukPelayanan strukPelayanan) {
|
||||
this.strukPelayanan = strukPelayanan;
|
||||
}
|
||||
|
||||
public String getStrukPelayananId() {
|
||||
return strukPelayananId;
|
||||
}
|
||||
|
||||
public void setStrukPelayananId(String strukPelayananId) {
|
||||
this.strukPelayananId = strukPelayananId;
|
||||
}
|
||||
|
||||
|
||||
public StrukVerifikasi getStrukVerifikasi() {
|
||||
return strukVerifikasi;
|
||||
}
|
||||
|
||||
public void setStrukVerifikasi(StrukVerifikasi strukVerifikasi) {
|
||||
this.strukVerifikasi = strukVerifikasi;
|
||||
}
|
||||
|
||||
public short getNoUrut() {
|
||||
return noUrut;
|
||||
}
|
||||
|
||||
public void setNoUrut(short noUrut) {
|
||||
this.noUrut = noUrut;
|
||||
}
|
||||
|
||||
public String getStrukVerifikasiId() {
|
||||
return strukVerifikasiId;
|
||||
}
|
||||
|
||||
public void setStrukVerifikasiId(String strukVerifikasiId) {
|
||||
this.strukVerifikasiId = strukVerifikasiId;
|
||||
}
|
||||
|
||||
public DestroyProduk getDestroyProduk() {
|
||||
return destroyProduk;
|
||||
}
|
||||
|
||||
public void setDestroyProduk(DestroyProduk destroyProduk) {
|
||||
this.destroyProduk = destroyProduk;
|
||||
}
|
||||
|
||||
public String getDestroyProdukId() {
|
||||
return destroyProdukId;
|
||||
}
|
||||
|
||||
public void setDestroyProdukId(String destroyProdukId) {
|
||||
this.destroyProdukId = destroyProdukId;
|
||||
}
|
||||
|
||||
public Double getQtyProduk() {
|
||||
return qtyProduk;
|
||||
}
|
||||
|
||||
public void setQtyProduk(Double qtyProduk) {
|
||||
this.qtyProduk = qtyProduk;
|
||||
}
|
||||
|
||||
public Date getTglKadaluarsa() {
|
||||
return tglKadaluarsa;
|
||||
}
|
||||
|
||||
public void setTglKadaluarsa(Date tglKadaluarsa) {
|
||||
this.tglKadaluarsa = tglKadaluarsa;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,129 +1,57 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* class DestroyProdukPetugas
|
||||
* class DestroyProdukPetugas
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DestroyProdukPetugas_T")
|
||||
public class DestroyProdukPetugas extends BaseTransaction {
|
||||
|
||||
@Caption(value="Deskripsi Tugas Fungsi")
|
||||
@Column(name = "DeskripsiTugasFungsi", nullable = true , length = 75)
|
||||
|
||||
@Caption(value = "Deskripsi Tugas Fungsi")
|
||||
@Column(name = "DeskripsiTugasFungsi", length = 75)
|
||||
private String deskripsiTugasFungsi;
|
||||
|
||||
|
||||
@Caption(value="Is Petugas Pe P Jawab")
|
||||
@Column(name = "isPetugasPePJawab", nullable = false )
|
||||
@Caption(value = "Is Petugas Pe P Jawab")
|
||||
@Column(name = "isPetugasPePJawab", nullable = false)
|
||||
private Byte isPetugasPepJawab;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectJenisPetugasPeFk")
|
||||
@NotNull(message="Object Jenis Petugas Pe Harus Diisi")
|
||||
@Caption(value="Object Jenis Petugas Pe")
|
||||
@NotNull(message = "Object Jenis Petugas Pe Harus Diisi")
|
||||
@Caption(value = "Object Jenis Petugas Pe")
|
||||
private JenisPetugasPelaksana jenisPetugasPelaksana;
|
||||
|
||||
|
||||
@Column(name = "ObjectJenisPetugasPeFk", insertable=false,updatable=false)
|
||||
@Column(name = "ObjectJenisPetugasPeFk", insertable = false, updatable = false)
|
||||
private Integer jenisPetugasPelaksanaId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPegawaiFk")
|
||||
@NotNull(message="Object Pegawai Harus Diisi")
|
||||
@Caption(value="Object Pegawai")
|
||||
@NotNull(message = "Object Pegawai Harus Diisi")
|
||||
@Caption(value = "Object Pegawai")
|
||||
private Pegawai pegawai;
|
||||
|
||||
|
||||
@Column(name = "ObjectPegawaiFk", insertable=false,updatable=false)
|
||||
@Column(name = "ObjectPegawaiFk", insertable = false, updatable = false)
|
||||
private Integer pegawaiId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "NoHistoriFk")
|
||||
@NotNull(message="No Histori Harus Diisi")
|
||||
@Caption(value="No Histori")
|
||||
@NotNull(message = "No Histori Harus Diisi")
|
||||
@Caption(value = "No Histori")
|
||||
private StrukHistori strukHistory;
|
||||
|
||||
@Column(name = "NoHistoriFk", insertable=false,updatable=false)
|
||||
@Column(name = "NoHistoriFk", insertable = false, updatable = false)
|
||||
private String strukHistoryId;
|
||||
|
||||
public String getDeskripsiTugasFungsi() {
|
||||
return deskripsiTugasFungsi;
|
||||
}
|
||||
|
||||
public void setDeskripsiTugasFungsi(String deskripsiTugasFungsi) {
|
||||
this.deskripsiTugasFungsi = deskripsiTugasFungsi;
|
||||
}
|
||||
|
||||
public Byte getIsPetugasPepJawab() {
|
||||
return isPetugasPepJawab;
|
||||
}
|
||||
|
||||
public void setIsPetugasPepJawab(Byte isPetugasPepJawab) {
|
||||
this.isPetugasPepJawab = isPetugasPepJawab;
|
||||
}
|
||||
|
||||
public JenisPetugasPelaksana getJenisPetugasPelaksana() {
|
||||
return jenisPetugasPelaksana;
|
||||
}
|
||||
|
||||
public void setJenisPetugasPelaksana(JenisPetugasPelaksana jenisPetugasPelaksana) {
|
||||
this.jenisPetugasPelaksana = jenisPetugasPelaksana;
|
||||
}
|
||||
|
||||
public Integer getJenisPetugasPelaksanaId() {
|
||||
return jenisPetugasPelaksanaId;
|
||||
}
|
||||
|
||||
public void setJenisPetugasPelaksanaId(Integer jenisPetugasPelaksanaId) {
|
||||
this.jenisPetugasPelaksanaId = jenisPetugasPelaksanaId;
|
||||
}
|
||||
|
||||
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 StrukHistori getStrukHistory() {
|
||||
return strukHistory;
|
||||
}
|
||||
|
||||
public void setStrukHistory(StrukHistori strukHistory) {
|
||||
this.strukHistory = strukHistory;
|
||||
}
|
||||
|
||||
public String getStrukHistoryId() {
|
||||
return strukHistoryId;
|
||||
}
|
||||
|
||||
public void setStrukHistoryId(String strukHistoryId) {
|
||||
this.strukHistoryId = strukHistoryId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,21 +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 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 javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Entity // @Audited
|
||||
import javax.persistence.*;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_DetailAktivitasKemandirian_M")
|
||||
public class DetailAktivitasKemandirian extends BaseTransaction {
|
||||
|
||||
@ -25,7 +20,7 @@ public class DetailAktivitasKemandirian extends BaseTransaction {
|
||||
@JsonBackReference
|
||||
private TransferPasienInternal transferPasienInternal;
|
||||
|
||||
@Column(name = "objectTransferPasienInternalFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "objectTransferPasienInternalFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String transferPasienInternalId;
|
||||
|
||||
@ManyToOne
|
||||
@ -34,7 +29,7 @@ public class DetailAktivitasKemandirian extends BaseTransaction {
|
||||
@JsonBackReference
|
||||
private TransferPasienExsternal transferPasienExsternal;
|
||||
|
||||
@Column(name = "objectTransferPasienExsternalFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "objectTransferPasienExsternalFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String transferPasienExsternalId;
|
||||
|
||||
@ManyToOne
|
||||
@ -53,68 +48,4 @@ public class DetailAktivitasKemandirian extends BaseTransaction {
|
||||
@Column(name = "ObjectAktivitasKeandirianFk", insertable = false, updatable = false)
|
||||
private Integer aktivitasKemandirianId;
|
||||
|
||||
public StatusMandiri getStatusMandiri() {
|
||||
return statusMandiri;
|
||||
}
|
||||
|
||||
public void setStatusMandiri(StatusMandiri statusMandiri) {
|
||||
this.statusMandiri = statusMandiri;
|
||||
}
|
||||
|
||||
public Integer getStatusMandiriId() {
|
||||
return statusMandiriId;
|
||||
}
|
||||
|
||||
public void setStatusMandiriId(Integer statusMandiriId) {
|
||||
this.statusMandiriId = statusMandiriId;
|
||||
}
|
||||
|
||||
public AktivitasKemandirian getAktivitasKemandirian() {
|
||||
return aktivitasKemandirian;
|
||||
}
|
||||
|
||||
public void setAktivitasKemandirian(AktivitasKemandirian aktivitasKemandirian) {
|
||||
this.aktivitasKemandirian = aktivitasKemandirian;
|
||||
}
|
||||
|
||||
public Integer getAktivitasKemandirianId() {
|
||||
return aktivitasKemandirianId;
|
||||
}
|
||||
|
||||
public void setAktivitasKemandirianId(Integer aktivitasKemandirianId) {
|
||||
this.aktivitasKemandirianId = aktivitasKemandirianId;
|
||||
}
|
||||
|
||||
public TransferPasienInternal getTransferPasienInternal() {
|
||||
return transferPasienInternal;
|
||||
}
|
||||
|
||||
public void setTransferPasienInternal(TransferPasienInternal transferPasienInternal) {
|
||||
this.transferPasienInternal = transferPasienInternal;
|
||||
}
|
||||
|
||||
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,92 +1,45 @@
|
||||
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.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.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;
|
||||
|
||||
/**
|
||||
* class Agama
|
||||
* class Agama
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailAlasanPemindahanPasien_T")
|
||||
public class DetailAlasanPemindahanPasien extends BaseTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "objectTransferPasienInternalFk")
|
||||
@Caption(value="Transfer Pasien Internal")
|
||||
@Caption(value = "Transfer Pasien Internal")
|
||||
@JsonBackReference
|
||||
private TransferPasienInternal transferPasienInternal;
|
||||
|
||||
@Column(name = "objectTransferPasienInternalFk", insertable=false,updatable=false,nullable=true)
|
||||
@Column(name = "objectTransferPasienInternalFk", insertable = false, updatable = false)
|
||||
private String transferPasienInternalId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "objectAlasanPemindahanPasienFk")
|
||||
@Caption(value="Alasan Pemindahan Pasien")
|
||||
@Caption(value = "Alasan Pemindahan Pasien")
|
||||
@JsonBackReference
|
||||
@NotNull(message="Alasan Pemindahan Pasien Harus Diisi")
|
||||
@NotNull(message = "Alasan Pemindahan Pasien Harus Diisi")
|
||||
private AlasanPemindahanPasien alasanPemindahanPasien;
|
||||
|
||||
@Column(name = "objectAlasanPemindahanPasienFk", insertable=false,updatable=false,nullable=false)
|
||||
@Column(name = "objectAlasanPemindahanPasienFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer alasanPemindahanPasienId;
|
||||
|
||||
|
||||
@Column(name = "checked")
|
||||
private Boolean checked;
|
||||
|
||||
public TransferPasienInternal getTransferPasienInternal() {
|
||||
return transferPasienInternal;
|
||||
}
|
||||
|
||||
public void setTransferPasienInternal(TransferPasienInternal transferPasienInternal) {
|
||||
this.transferPasienInternal = transferPasienInternal;
|
||||
}
|
||||
|
||||
public String getTransferPasienInternalId() {
|
||||
return transferPasienInternalId;
|
||||
}
|
||||
|
||||
public void setTransferPasienInternalId(String transferPasienInternalId) {
|
||||
this.transferPasienInternalId = transferPasienInternalId;
|
||||
}
|
||||
|
||||
public AlasanPemindahanPasien getAlasanPemindahanPasien() {
|
||||
return alasanPemindahanPasien;
|
||||
}
|
||||
|
||||
public void setAlasanPemindahanPasien(AlasanPemindahanPasien alasanPemindahanPasien) {
|
||||
this.alasanPemindahanPasien = alasanPemindahanPasien;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getAlasanPemindahanPasienId() {
|
||||
return alasanPemindahanPasienId;
|
||||
}
|
||||
|
||||
public void setAlasanPemindahanPasienId(Integer alasanPemindahanPasienId) {
|
||||
this.alasanPemindahanPasienId = alasanPemindahanPasienId;
|
||||
}
|
||||
|
||||
public Boolean getChecked() {
|
||||
return checked;
|
||||
}
|
||||
|
||||
public void setChecked(Boolean checked) {
|
||||
this.checked = checked;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,181 +1,71 @@
|
||||
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.JsonBackReference;
|
||||
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 PosisiRahim
|
||||
* class PosisiRahim
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailAlatYangDigunakan_T")
|
||||
public class DetailAlatYangDigunakan extends BaseTransaction {
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectPenghitunganKassaDanAlatOperasiFk")
|
||||
@NotNull(message="Produk Harus Diisi")
|
||||
@Caption(value="Penghitungan Kassa Dan Alat Operasi")
|
||||
@NotNull(message = "Produk Harus Diisi")
|
||||
@Caption(value = "Penghitungan Kassa Dan Alat Operasi")
|
||||
@JsonBackReference
|
||||
private PenghitunganKassaDanAlatOperasi penghitunganKassaDanAlatOperasi;
|
||||
|
||||
@Column(name = "ObjectPenghitunganKassaDanAlatOperasiFk", insertable=false,updatable=false,nullable = false)
|
||||
@Column(name = "ObjectPenghitunganKassaDanAlatOperasiFk", insertable = false, updatable = false, nullable = false)
|
||||
private String penghitunganKassaDanAlatOperasiId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectProdukFk")
|
||||
@NotNull(message="Produk Harus Diisi")
|
||||
@Caption(value="Nama Alat Yang Digunakan")
|
||||
@NotNull(message = "Produk Harus Diisi")
|
||||
@Caption(value = "Nama Alat Yang Digunakan")
|
||||
private Produk produk;
|
||||
|
||||
@Column(name = "ObjectProdukFk", insertable=false,updatable=false,nullable = false)
|
||||
@Column(name = "ObjectProdukFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer produkId;
|
||||
|
||||
|
||||
@Column(name = "Kuantitas")
|
||||
private String kuantitas;
|
||||
|
||||
|
||||
@Column(name = "keterangan")
|
||||
private String keterngan;
|
||||
|
||||
@Column(name="tambah1", length = 20)
|
||||
@Column(name = "tambah1", length = 20)
|
||||
private String tambah1;
|
||||
|
||||
@Column(name="tambah2", length = 20)
|
||||
|
||||
@Column(name = "tambah2", length = 20)
|
||||
private String tambah2;
|
||||
|
||||
@Column(name="tambah3", length = 20)
|
||||
|
||||
@Column(name = "tambah3", length = 20)
|
||||
private String tambah3;
|
||||
|
||||
@Column(name="tambah4", length = 20)
|
||||
|
||||
@Column(name = "tambah4", length = 20)
|
||||
private String tambah4;
|
||||
|
||||
@Column(name="tambah5", length = 20)
|
||||
|
||||
@Column(name = "tambah5", length = 20)
|
||||
private String tambah5;
|
||||
|
||||
@Column(name="tambah6", length = 20)
|
||||
|
||||
@Column(name = "tambah6", length = 20)
|
||||
private String tambah6;
|
||||
|
||||
@Column(name="tambah7", length = 20)
|
||||
|
||||
@Column(name = "tambah7", length = 20)
|
||||
private String tambah7;
|
||||
|
||||
public PenghitunganKassaDanAlatOperasi getPenghitunganKassaDanAlatOperasi() {
|
||||
return penghitunganKassaDanAlatOperasi;
|
||||
}
|
||||
|
||||
public void setPenghitunganKassaDanAlatOperasi(PenghitunganKassaDanAlatOperasi penghitunganKassaDanAlatOperasi) {
|
||||
this.penghitunganKassaDanAlatOperasi = penghitunganKassaDanAlatOperasi;
|
||||
}
|
||||
|
||||
public String getPenghitunganKassaDanAlatOperasiId() {
|
||||
return penghitunganKassaDanAlatOperasiId;
|
||||
}
|
||||
|
||||
public void setPenghitunganKassaDanAlatOperasiId(String penghitunganKassaDanAlatOperasiId) {
|
||||
this.penghitunganKassaDanAlatOperasiId = penghitunganKassaDanAlatOperasiId;
|
||||
}
|
||||
|
||||
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 String getKuantitas() {
|
||||
return kuantitas;
|
||||
}
|
||||
|
||||
public void setKuantitas(String kuantitas) {
|
||||
this.kuantitas = kuantitas;
|
||||
}
|
||||
|
||||
public String getKeterngan() {
|
||||
return keterngan;
|
||||
}
|
||||
|
||||
public void setKeterngan(String keterngan) {
|
||||
this.keterngan = keterngan;
|
||||
}
|
||||
|
||||
public String getTambah1() {
|
||||
return tambah1;
|
||||
}
|
||||
|
||||
public void setTambah1(String tambah1) {
|
||||
this.tambah1 = tambah1;
|
||||
}
|
||||
|
||||
public String getTambah2() {
|
||||
return tambah2;
|
||||
}
|
||||
|
||||
public void setTambah2(String tambah2) {
|
||||
this.tambah2 = tambah2;
|
||||
}
|
||||
|
||||
public String getTambah3() {
|
||||
return tambah3;
|
||||
}
|
||||
|
||||
public void setTambah3(String tambah3) {
|
||||
this.tambah3 = tambah3;
|
||||
}
|
||||
|
||||
public String getTambah4() {
|
||||
return tambah4;
|
||||
}
|
||||
|
||||
public void setTambah4(String tambah4) {
|
||||
this.tambah4 = tambah4;
|
||||
}
|
||||
|
||||
public String getTambah5() {
|
||||
return tambah5;
|
||||
}
|
||||
|
||||
public void setTambah5(String tambah5) {
|
||||
this.tambah5 = tambah5;
|
||||
}
|
||||
|
||||
public String getTambah6() {
|
||||
return tambah6;
|
||||
}
|
||||
|
||||
public void setTambah6(String tambah6) {
|
||||
this.tambah6 = tambah6;
|
||||
}
|
||||
|
||||
public String getTambah7() {
|
||||
return tambah7;
|
||||
}
|
||||
|
||||
public void setTambah7(String tambah7) {
|
||||
this.tambah7 = tambah7;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,149 +1,67 @@
|
||||
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 javax.validation.constraints.NotNull;
|
||||
|
||||
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 javax.validation.constraints.NotNull;
|
||||
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="DetailAnggaran_T")
|
||||
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
|
||||
public class DetailAnggaran extends BaseTransaction{
|
||||
|
||||
@Table(name = "DetailAnggaran_T")
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class DetailAnggaran extends BaseTransaction {
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKegiatanAnggaranFk")
|
||||
@Caption(value="Kegiatan Anggaran")
|
||||
@Caption(value = "Kegiatan Anggaran")
|
||||
@NotNull(message = "Kegiatan Anggaran Harus Diisi")
|
||||
private KegiatanAnggaran kegiatanAnggaran;
|
||||
|
||||
@Column(name="ObjectKegiatanAnggaranFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = false)
|
||||
|
||||
@Column(name = "ObjectKegiatanAnggaranFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = false)
|
||||
private String kegiatanAnggaranId;
|
||||
|
||||
@Column(name = "TanggalPengajuan", nullable = true)
|
||||
@Column(name = "TanggalPengajuan")
|
||||
@Caption(value = "Tanggal Pengajuan")
|
||||
private Date tanggalPengajuan;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectMataAnggaranFk")
|
||||
@Caption(value = "Object Akun")
|
||||
private MataAnggaran akun;
|
||||
|
||||
@Column(name = "ObjectMataAnggaranFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectMataAnggaranFk", insertable = false, updatable = false)
|
||||
private Integer akunId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectAsalProdukFk")
|
||||
@Caption(value = "Object Asal Produk")
|
||||
private AsalProduk asalProduk;
|
||||
|
||||
@Column(name = "ObjectAsalProdukFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectAsalProdukFk", insertable = false, updatable = false)
|
||||
private Integer asalProdukId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKomponenFk")
|
||||
@Caption(value = "Object Komponen")
|
||||
private Komponen komponen;
|
||||
|
||||
@Column(name = "ObjectKomponenFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectKomponenFk", insertable = false, updatable = false)
|
||||
private Integer komponenId;
|
||||
|
||||
|
||||
@JsonBackReference
|
||||
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "detailAnggaran")
|
||||
private Set<DetailSpekAnggaran> detailSpekAnggaran = new HashSet<DetailSpekAnggaran>();
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "detailAnggaran")
|
||||
private Set<DetailSpekAnggaran> detailSpekAnggaran = new HashSet<>();
|
||||
|
||||
|
||||
public KegiatanAnggaran getKegiatanAnggaran() {
|
||||
return kegiatanAnggaran;
|
||||
}
|
||||
|
||||
public void setKegiatanAnggaran(KegiatanAnggaran kegiatanAnggaran) {
|
||||
this.kegiatanAnggaran = kegiatanAnggaran;
|
||||
}
|
||||
|
||||
public String getKegiatanAnggaranId() {
|
||||
return kegiatanAnggaranId;
|
||||
}
|
||||
|
||||
public void setKegiatanAnggaranId(String kegiatanAnggaranId) {
|
||||
this.kegiatanAnggaranId = kegiatanAnggaranId;
|
||||
}
|
||||
|
||||
public Date getTanggalPengajuan() {
|
||||
return tanggalPengajuan;
|
||||
}
|
||||
|
||||
public void setTanggalPengajuan(Date tanggalPengajuan) {
|
||||
this.tanggalPengajuan = tanggalPengajuan;
|
||||
}
|
||||
|
||||
public Integer getAkunId() {
|
||||
return akunId;
|
||||
}
|
||||
|
||||
public void setAkunId(Integer akunId) {
|
||||
this.akunId = akunId;
|
||||
}
|
||||
|
||||
public AsalProduk getAsalProduk() {
|
||||
return asalProduk;
|
||||
}
|
||||
|
||||
public void setAsalProduk(AsalProduk asalProduk) {
|
||||
this.asalProduk = asalProduk;
|
||||
}
|
||||
|
||||
public Integer getAsalProdukId() {
|
||||
return asalProdukId;
|
||||
}
|
||||
|
||||
public void setAsalProdukId(Integer asalProdukId) {
|
||||
this.asalProdukId = asalProdukId;
|
||||
}
|
||||
|
||||
public Komponen getKomponen() {
|
||||
return komponen;
|
||||
}
|
||||
|
||||
public void setKomponen(Komponen komponen) {
|
||||
this.komponen = komponen;
|
||||
}
|
||||
|
||||
public Integer getKomponenId() {
|
||||
return komponenId;
|
||||
}
|
||||
|
||||
public void setKomponenId(Integer komponenId) {
|
||||
this.komponenId = komponenId;
|
||||
}
|
||||
|
||||
public Set<DetailSpekAnggaran> getDetailSpekAnggaran() {
|
||||
return detailSpekAnggaran;
|
||||
}
|
||||
|
||||
public void setDetailSpekAnggaran(Set<DetailSpekAnggaran> detailSpekAnggaran) {
|
||||
this.detailSpekAnggaran = detailSpekAnggaran;
|
||||
}
|
||||
|
||||
public MataAnggaran getAkun() {
|
||||
return akun;
|
||||
}
|
||||
|
||||
public void setAkun(MataAnggaran akun) {
|
||||
this.akun = akun;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,45 +1,31 @@
|
||||
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 DetailAsalRujukan
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailAsalRujukan_M")
|
||||
public class DetailAsalRujukan extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Detail Asal Rujukan tidak boleh kosong")
|
||||
@Column(name = "DetailAsalRujukan", nullable = false, length = 50)
|
||||
@Caption(value = "Detail Asal Rujukan")
|
||||
private String detailAsalRujukan;
|
||||
|
||||
public void setDetailAsalRujukan(String detailAsalRujukan) {
|
||||
this.detailAsalRujukan = detailAsalRujukan;
|
||||
}
|
||||
|
||||
public String getDetailAsalRujukan() {
|
||||
return this.detailAsalRujukan;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectAsalRujukanFk")
|
||||
@NotNull(message = "Kd Asal Rujukan tidak boleh kosong")
|
||||
@ -47,14 +33,6 @@ public class DetailAsalRujukan extends BaseMaster {
|
||||
@Caption(value = "Object Asal Rujukan")
|
||||
private AsalRujukan asalRujukan;
|
||||
|
||||
public void setAsalRujukan(AsalRujukan asalRujukan) {
|
||||
this.asalRujukan = asalRujukan;
|
||||
}
|
||||
|
||||
public AsalRujukan getAsalRujukan() {
|
||||
return this.asalRujukan;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectAsalRujukanFk", insertable = false, updatable = false)
|
||||
private Integer asalRujukanId;
|
||||
|
||||
@ -63,39 +41,15 @@ public class DetailAsalRujukan extends BaseMaster {
|
||||
@Caption(value = "Kode Detail Asal Rujukan")
|
||||
private String kdDetailAsalRujukan;
|
||||
|
||||
public void setKdDetailAsalRujukan(String kdDetailAsalRujukan) {
|
||||
this.kdDetailAsalRujukan = kdDetailAsalRujukan;
|
||||
}
|
||||
|
||||
public String getKdDetailAsalRujukan() {
|
||||
return this.kdDetailAsalRujukan;
|
||||
}
|
||||
|
||||
@NotNull(message = "QDetail Asal Rujukan tidak boleh kosong")
|
||||
@Column(name = "QDetailAsalRujukan", nullable = false)
|
||||
@Caption(value = "QDetail Asal Rujukan")
|
||||
private short qDetailAsalRujukan;
|
||||
|
||||
public void setqDetailAsalRujukan(short qDetailAsalRujukan) {
|
||||
this.qDetailAsalRujukan = qDetailAsalRujukan;
|
||||
}
|
||||
|
||||
public short getqDetailAsalRujukan() {
|
||||
return this.qDetailAsalRujukan;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.detailasalrujukan_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.detailasalrujukan_m_id_seq", sequenceName = "public.detailasalrujukan_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.detailasalrujukan_m_id_seq")
|
||||
@SequenceGenerator(name = "public.detailasalrujukan_m_id_seq", sequenceName = "public.detailasalrujukan_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,42 +1,32 @@
|
||||
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.PersyaratanPelamar;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
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;
|
||||
|
||||
/**
|
||||
* class DetailBerkasLamaran
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "sdm_DetailBerkasLamaran_T")
|
||||
public class DetailBerkasLamaran extends BaseTransaction {
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "BerkasLamaran")
|
||||
@NotNull(message = "Berkas Lamaran Harus Diisi")
|
||||
@Caption(value = "Berkas Lamaran")
|
||||
private BerkasLamaran berkasLamaran;
|
||||
|
||||
|
||||
@Column(name = "BerkasLamaran", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String berkasLamaranId;
|
||||
|
||||
public BerkasLamaran getBerkasLamaran() {
|
||||
return berkasLamaran;
|
||||
}
|
||||
|
||||
public void setBerkasLamaran(BerkasLamaran berkasLamaran) {
|
||||
this.berkasLamaran = berkasLamaran;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "SyaratFk")
|
||||
@ -44,14 +34,6 @@ public class DetailBerkasLamaran extends BaseTransaction {
|
||||
@Caption(value = "Syarat")
|
||||
private PersyaratanPelamar syarat;
|
||||
|
||||
public PersyaratanPelamar getSyarat() {
|
||||
return syarat;
|
||||
}
|
||||
|
||||
public void setSyarat(PersyaratanPelamar syarat) {
|
||||
this.syarat = syarat;
|
||||
}
|
||||
|
||||
@Column(name = "SyaratFk", insertable = false, updatable = false)
|
||||
private Integer syaratId;
|
||||
|
||||
@ -59,12 +41,4 @@ public class DetailBerkasLamaran extends BaseTransaction {
|
||||
@Caption(value = "Status")
|
||||
private String status;
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,63 +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 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 DetailCheckOut
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_DetailCheckOut_M")
|
||||
public class DetailCheckOut extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Title tidak boleh kosong")
|
||||
@Column(name = "Title", nullable = false, length = 100)
|
||||
@Caption(value = "Title")
|
||||
private String title;
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
@NotNull(message = "Children tidak boleh kosong")
|
||||
@Column(name = "Children", nullable = false, length = 100)
|
||||
@Caption(value = "Children")
|
||||
private String children;
|
||||
|
||||
public void setChildren(String children) {
|
||||
this.children = children;
|
||||
}
|
||||
|
||||
public String getChildren() {
|
||||
return this.children;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.detailcheckout_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.detailcheckout_m_id_seq", sequenceName = "public.detailcheckout_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.detailcheckout_m_id_seq")
|
||||
@SequenceGenerator(name = "public.detailcheckout_m_id_seq", sequenceName = "public.detailcheckout_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,119 +1,52 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
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 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 org.hibernate.envers.Audited;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailDiagnosaPasien_T")
|
||||
public class DetailDiagnosaPasien extends MedicalRecordTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectDiagnosaPasienFk")
|
||||
@NotNull(message="Diagnosa Pasien harus Diisi")
|
||||
@Caption(value="Diagnosa Pasien")
|
||||
@NotNull(message = "Diagnosa Pasien harus Diisi")
|
||||
@Caption(value = "Diagnosa Pasien")
|
||||
private DiagnosaPasien diagnosaPasien;
|
||||
|
||||
@Column(name = "ObjectDiagnosaPasienFk", insertable=false,updatable=false,nullable = false)
|
||||
|
||||
@Column(name = "ObjectDiagnosaPasienFk", insertable = false, updatable = false, nullable = false)
|
||||
private String diagnosaPasienId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectDiagnosaFk")
|
||||
@NotNull(message="Diagnosa harus Diisi")
|
||||
@Caption(value="Diagnosa ")
|
||||
@NotNull(message = "Diagnosa harus Diisi")
|
||||
@Caption(value = "Diagnosa ")
|
||||
private Diagnosa diagnosa;
|
||||
|
||||
@Column(name = "ObjectDiagnosaFk", insertable=false,updatable=false,nullable = false)
|
||||
|
||||
@Column(name = "ObjectDiagnosaFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer diagnosaId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectJenisDiagnosaFk")
|
||||
@NotNull(message="Jenis Diagnosa harus Diisi")
|
||||
@Caption(value="Jenis Diagnosa ")
|
||||
@NotNull(message = "Jenis Diagnosa harus Diisi")
|
||||
@Caption(value = "Jenis Diagnosa ")
|
||||
private JenisDiagnosa jenisDiagnosa;
|
||||
|
||||
@Column(name = "ObjectDiagnosaFk", insertable=false,updatable=false,nullable = false)
|
||||
|
||||
@Column(name = "ObjectDiagnosaFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer jenisDiagnosaId;
|
||||
|
||||
@Column(name = "tglInputDiagnosa", nullable = true )
|
||||
@Caption(value="tglInputDiagnosa")
|
||||
@Column(name = "tglInputDiagnosa")
|
||||
@Caption(value = "tglInputDiagnosa")
|
||||
private Date tglInputDiagnosa;
|
||||
|
||||
@Column(name = "keterangan", nullable = true )
|
||||
@Caption(value="keterangan")
|
||||
|
||||
@Column(name = "keterangan")
|
||||
@Caption(value = "keterangan")
|
||||
private String keterangan;
|
||||
|
||||
public DiagnosaPasien getDiagnosaPasien() {
|
||||
return diagnosaPasien;
|
||||
}
|
||||
|
||||
public void setDiagnosaPasien(DiagnosaPasien diagnosaPasien) {
|
||||
this.diagnosaPasien = diagnosaPasien;
|
||||
}
|
||||
|
||||
public String getDiagnosaPasienId() {
|
||||
return diagnosaPasienId;
|
||||
}
|
||||
|
||||
public void setDiagnosaPasienId(String diagnosaPasienId) {
|
||||
this.diagnosaPasienId = diagnosaPasienId;
|
||||
}
|
||||
|
||||
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 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 Date getTglInputDiagnosa() {
|
||||
return tglInputDiagnosa;
|
||||
}
|
||||
|
||||
public void setTglInputDiagnosa(Date tglInputDiagnosa) {
|
||||
this.tglInputDiagnosa = tglInputDiagnosa;
|
||||
}
|
||||
|
||||
public String getKeterangan() {
|
||||
return keterangan;
|
||||
}
|
||||
|
||||
public void setKeterangan(String keterangan) {
|
||||
this.keterangan = keterangan;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,65 +1,33 @@
|
||||
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.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Entity //@Audited
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailDiagnosaSekunder_T")
|
||||
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class DetailDiagnosaSekunder extends BaseTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "DiagnosaFk")
|
||||
@NotNull(message = "Diagnosa tidak boleh kosong")
|
||||
private Diagnosa diagnosa ;
|
||||
|
||||
private Diagnosa diagnosa;
|
||||
|
||||
@Column(name = "DiagnosaFk", insertable = false, updatable = false)
|
||||
private Integer diagnosaId;
|
||||
|
||||
|
||||
@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;
|
||||
|
||||
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 TransferPasienInternal getTransferPasienInternal() {
|
||||
return transferPasienInternal;
|
||||
}
|
||||
|
||||
public void setTransferPasienInternal(TransferPasienInternal transferPasienInternal) {
|
||||
this.transferPasienInternal = transferPasienInternal;
|
||||
}
|
||||
|
||||
public String getTransferPasienInternalId() {
|
||||
return transferPasienInternalId;
|
||||
}
|
||||
|
||||
public void setTransferPasienInternalId(String transferPasienInternalId) {
|
||||
this.transferPasienInternalId = transferPasienInternalId;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,78 +1,43 @@
|
||||
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;
|
||||
import com.jasamedika.medifirst2000.vo.DiagnosaTindakanVO;
|
||||
|
||||
/**
|
||||
* class RiwayatPenyakitPengobatan
|
||||
* class RiwayatPenyakitPengobatan
|
||||
*
|
||||
* @author Adik
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailDiagnosaTindakanPasien_T")
|
||||
public class DetailDiagnosaTindakanPasien extends BaseTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectDiagnosaTindakanPasienFk")
|
||||
@NotNull(message="Diagnosa Tindakan Pasien harus Diisi")
|
||||
@Caption(value="Diagnosa Tindakan Pasien")
|
||||
@NotNull(message = "Diagnosa Tindakan Pasien harus Diisi")
|
||||
@Caption(value = "Diagnosa Tindakan Pasien")
|
||||
private DiagnosaTindakanPasien diagnosaTindakanPasien;
|
||||
|
||||
@Column(name = "jumlah", nullable = true)
|
||||
|
||||
@Column(name = "jumlah")
|
||||
private Integer jumlah;
|
||||
public Integer getJumlah() {
|
||||
return jumlah;
|
||||
}
|
||||
|
||||
public void setJumlah(Integer jumlah) {
|
||||
this.jumlah = jumlah;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectDiagnosaTindakanPasienFk", insertable=false,updatable=false,nullable = false)
|
||||
@Column(name = "ObjectDiagnosaTindakanPasienFk", insertable = false, updatable = false, nullable = false)
|
||||
private String diagnosaTindakanPasienId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectDiagnosaTindakanFk")
|
||||
@NotNull(message="Diagnosa Tindakan")
|
||||
@Caption(value="Diagnosa Tindakan ")
|
||||
@NotNull(message = "Diagnosa Tindakan")
|
||||
@Caption(value = "Diagnosa Tindakan ")
|
||||
private DiagnosaTindakan diagnosaTindakan;
|
||||
|
||||
@Column(name = "ObjectDiagnosaTindakanFk", insertable=false,updatable=false,nullable = false)
|
||||
|
||||
@Column(name = "ObjectDiagnosaTindakanFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer diagnosaTindakanId;
|
||||
|
||||
public DiagnosaTindakanPasien getDiagnosaTindakanPasien() {
|
||||
return diagnosaTindakanPasien;
|
||||
}
|
||||
|
||||
public void setDiagnosaTindakanPasien(DiagnosaTindakanPasien diagnosaTindakanPasien) {
|
||||
this.diagnosaTindakanPasien = diagnosaTindakanPasien;
|
||||
}
|
||||
|
||||
public String getDiagnosaTindakanPasienId() {
|
||||
return diagnosaTindakanPasienId;
|
||||
}
|
||||
|
||||
public void setDiagnosaTindakanPasienId(String diagnosaTindakanPasienId) {
|
||||
this.diagnosaTindakanPasienId = diagnosaTindakanPasienId;
|
||||
}
|
||||
|
||||
public DiagnosaTindakan getDiagnosaTindakan() {
|
||||
return diagnosaTindakan;
|
||||
}
|
||||
|
||||
public void setDiagnosaTindakan(DiagnosaTindakan diagnosaTindakan) {
|
||||
this.diagnosaTindakan = diagnosaTindakan;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,300 +1,101 @@
|
||||
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 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;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
/**
|
||||
* class PosisiRahim
|
||||
* class PosisiRahim
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailDokterOperasi_T")
|
||||
public class DetailDokterOperasi extends BaseTransaction {
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectPenghitunganKassaDanAlatOperasiFk")
|
||||
@NotNull(message="Produk Harus Diisi")
|
||||
@Caption(value="Penghitungan Kassa Dan Alat Operasi")
|
||||
@NotNull(message = "Produk Harus Diisi")
|
||||
@Caption(value = "Penghitungan Kassa Dan Alat Operasi")
|
||||
@JsonBackReference
|
||||
private PenghitunganKassaDanAlatOperasi penghitunganKassaDanAlatOperasi;
|
||||
|
||||
@Column(name = "ObjectPenghitunganKassaDanAlatOperasiFk", insertable=false,updatable=false,nullable = false)
|
||||
@Column(name = "ObjectPenghitunganKassaDanAlatOperasiFk", insertable = false, updatable = false, nullable = false)
|
||||
private String penghitunganKassaDanAlatOperasiId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectProdukFk")
|
||||
@Caption(value="Nama Alat Yang Digunakan")
|
||||
@Caption(value = "Nama Alat Yang Digunakan")
|
||||
private Produk produk;
|
||||
|
||||
@Column(name = "ObjectProdukFk", insertable=false,updatable=false,nullable = true)
|
||||
@Column(name = "ObjectProdukFk", insertable = false, updatable = false)
|
||||
private Integer produkId;
|
||||
|
||||
//@Column(name = "ahliBedah")
|
||||
//private String ahliBedah;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectkAhliBedahFk")
|
||||
@NotNull(message="Ahli Bedah Harus Diisi")
|
||||
@Caption(value="Ahli Bedah")
|
||||
@NotNull(message = "Ahli Bedah Harus Diisi")
|
||||
@Caption(value = "Ahli Bedah")
|
||||
private Pegawai ahliBedah;
|
||||
|
||||
@Column(name = "ObjectkAhliBedahFk", insertable=false,updatable=false,nullable = false)
|
||||
|
||||
@Column(name = "ObjectkAhliBedahFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer ahliBedahId;
|
||||
|
||||
//@Column(name = "asisten")
|
||||
//private String asisten;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectkAsistenFk")
|
||||
@NotNull(message="Asisten Harus Diisi")
|
||||
@Caption(value="Asisten")
|
||||
@NotNull(message = "Asisten Harus Diisi")
|
||||
@Caption(value = "Asisten")
|
||||
private Pegawai asisten;
|
||||
|
||||
@Column(name = "ObjectkAsistenFk", insertable=false,updatable=false,nullable = false)
|
||||
|
||||
@Column(name = "ObjectkAsistenFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer asistenId;
|
||||
|
||||
//@Column(name = "perawatInstrumen")
|
||||
//private String perawatInstrumen;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectkPerawatInstrumenFk")
|
||||
@NotNull(message="Perawat Instrumen Harus Diisi")
|
||||
@Caption(value="Perawat Instrumen")
|
||||
@NotNull(message = "Perawat Instrumen Harus Diisi")
|
||||
@Caption(value = "Perawat Instrumen")
|
||||
private Pegawai perawatInstrumen;
|
||||
|
||||
@Column(name = "ObjectkPerawatInstrumenFk", insertable=false,updatable=false,nullable = false)
|
||||
|
||||
@Column(name = "ObjectkPerawatInstrumenFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer perawatInstrumenId;
|
||||
|
||||
//@Column(name = "perawatSekuler")
|
||||
//private String perawatSekuler;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectkPerawatSekulerFk")
|
||||
@NotNull(message="Perawat Sekuler Harus Diisi")
|
||||
@Caption(value="Perawat Sekuler")
|
||||
@NotNull(message = "Perawat Sekuler Harus Diisi")
|
||||
@Caption(value = "Perawat Sekuler")
|
||||
private Pegawai perawatSekuler;
|
||||
|
||||
@Column(name = "ObjectkPerawatSekulerFk", insertable=false,updatable=false,nullable = false)
|
||||
|
||||
@Column(name = "ObjectkPerawatSekulerFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer perawatSekulerId;
|
||||
|
||||
|
||||
@Column(name = "kondisiSterilisasi")
|
||||
private String kondisiSterilisasi;
|
||||
|
||||
|
||||
@Column(name = "load")
|
||||
private String load;
|
||||
|
||||
//@Column(name = "perawatSirkuler")
|
||||
//private String perawatSirkuler;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectkPerawatSirkulerFk")
|
||||
@NotNull(message="Perawat Sirkuler Diisi")
|
||||
@Caption(value="Perawat Sirkuler")
|
||||
@NotNull(message = "Perawat Sirkuler Diisi")
|
||||
@Caption(value = "Perawat Sirkuler")
|
||||
private Pegawai perawatSirkuler;
|
||||
|
||||
@Column(name = "ObjectkPerawatSirkulerFk", insertable=false,updatable=false,nullable = false)
|
||||
|
||||
@Column(name = "ObjectkPerawatSirkulerFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer Id;
|
||||
|
||||
|
||||
@Column(name = "tanggalSteril")
|
||||
private Date tanggalSteril;
|
||||
|
||||
|
||||
@Column(name = "alat")
|
||||
private String alat;
|
||||
|
||||
public PenghitunganKassaDanAlatOperasi getPenghitunganKassaDanAlatOperasi() {
|
||||
return penghitunganKassaDanAlatOperasi;
|
||||
}
|
||||
|
||||
public void setPenghitunganKassaDanAlatOperasi(PenghitunganKassaDanAlatOperasi penghitunganKassaDanAlatOperasi) {
|
||||
this.penghitunganKassaDanAlatOperasi = penghitunganKassaDanAlatOperasi;
|
||||
}
|
||||
|
||||
public String getPenghitunganKassaDanAlatOperasiId() {
|
||||
return penghitunganKassaDanAlatOperasiId;
|
||||
}
|
||||
|
||||
public void setPenghitunganKassaDanAlatOperasiId(String penghitunganKassaDanAlatOperasiId) {
|
||||
this.penghitunganKassaDanAlatOperasiId = penghitunganKassaDanAlatOperasiId;
|
||||
}
|
||||
|
||||
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 String getAhliBedah() {
|
||||
// return ahliBedah;
|
||||
//}
|
||||
|
||||
//public void setAhliBedah(String ahliBedah) {
|
||||
// this.ahliBedah = ahliBedah;
|
||||
//}
|
||||
|
||||
//public String getAsisten() {
|
||||
// return asisten;
|
||||
//}
|
||||
|
||||
//public void setAsisten(String asisten) {
|
||||
// this.asisten = asisten;
|
||||
//}
|
||||
|
||||
//public String getPerawatInstrumen() {
|
||||
// return perawatInstrumen;
|
||||
//}
|
||||
|
||||
//public void setPerawatInstrumen(String perawatInstrumen) {
|
||||
// this.perawatInstrumen = perawatInstrumen;
|
||||
//}
|
||||
|
||||
//public String getPerawatSekuler() {
|
||||
// return perawatSekuler;
|
||||
//}
|
||||
|
||||
//public void setPerawatSekuler(String perawatSekuler) {
|
||||
// this.perawatSekuler = perawatSekuler;
|
||||
//}
|
||||
|
||||
public String getKondisiSterilisasi() {
|
||||
return kondisiSterilisasi;
|
||||
}
|
||||
|
||||
public void setKondisiSterilisasi(String kondisiSterilisasi) {
|
||||
this.kondisiSterilisasi = kondisiSterilisasi;
|
||||
}
|
||||
|
||||
public String getLoad() {
|
||||
return load;
|
||||
}
|
||||
|
||||
public void setLoad(String load) {
|
||||
this.load = load;
|
||||
}
|
||||
|
||||
//public String getPerawatSirkuler() {
|
||||
// return perawatSirkuler;
|
||||
//}
|
||||
|
||||
//public void setPerawatSirkuler(String perawatSirkuler) {
|
||||
// this.perawatSirkuler = perawatSirkuler;
|
||||
//}
|
||||
|
||||
public Date getTanggalSteril() {
|
||||
return tanggalSteril;
|
||||
}
|
||||
|
||||
public void setTanggalSteril(Date tanggalSteril) {
|
||||
this.tanggalSteril = tanggalSteril;
|
||||
}
|
||||
|
||||
public Pegawai getAhliBedah() {
|
||||
return ahliBedah;
|
||||
}
|
||||
|
||||
public void setAhliBedah(Pegawai ahliBedah) {
|
||||
this.ahliBedah = ahliBedah;
|
||||
}
|
||||
|
||||
public Integer getAhliBedahId() {
|
||||
return ahliBedahId;
|
||||
}
|
||||
|
||||
public void setAhliBedahId(Integer ahliBedahId) {
|
||||
this.ahliBedahId = ahliBedahId;
|
||||
}
|
||||
|
||||
public Pegawai getAsisten() {
|
||||
return asisten;
|
||||
}
|
||||
|
||||
public void setAsisten(Pegawai asisten) {
|
||||
this.asisten = asisten;
|
||||
}
|
||||
|
||||
public Integer getAsistenId() {
|
||||
return asistenId;
|
||||
}
|
||||
|
||||
public void setAsistenId(Integer asistenId) {
|
||||
this.asistenId = asistenId;
|
||||
}
|
||||
|
||||
public Pegawai getPerawatInstrumen() {
|
||||
return perawatInstrumen;
|
||||
}
|
||||
|
||||
public void setPerawatInstrumen(Pegawai perawatInstrumen) {
|
||||
this.perawatInstrumen = perawatInstrumen;
|
||||
}
|
||||
|
||||
public Integer getPerawatInstrumenId() {
|
||||
return perawatInstrumenId;
|
||||
}
|
||||
|
||||
public void setPerawatInstrumenId(Integer perawatInstrumenId) {
|
||||
this.perawatInstrumenId = perawatInstrumenId;
|
||||
}
|
||||
|
||||
public Pegawai getPerawatSekuler() {
|
||||
return perawatSekuler;
|
||||
}
|
||||
|
||||
public void setPerawatSekuler(Pegawai perawatSekuler) {
|
||||
this.perawatSekuler = perawatSekuler;
|
||||
}
|
||||
|
||||
public Integer getPerawatSekulerId() {
|
||||
return perawatSekulerId;
|
||||
}
|
||||
|
||||
public void setPerawatSekulerId(Integer perawatSekulerId) {
|
||||
this.perawatSekulerId = perawatSekulerId;
|
||||
}
|
||||
|
||||
public Pegawai getPerawatSirkuler() {
|
||||
return perawatSirkuler;
|
||||
}
|
||||
|
||||
public void setPerawatSirkuler(Pegawai perawatSirkuler) {
|
||||
this.perawatSirkuler = perawatSirkuler;
|
||||
}
|
||||
|
||||
public String getAlat() {
|
||||
return alat;
|
||||
}
|
||||
|
||||
public void setAlat(String alat) {
|
||||
this.alat = alat;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,18 +1,17 @@
|
||||
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.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 = "DetailDraftPeraturan_M")
|
||||
public class DetailDraftPeraturan extends BaseMaster {
|
||||
@ -35,74 +34,18 @@ public class DetailDraftPeraturan extends BaseMaster {
|
||||
@Column(name = "ObjectTujuanDraftFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer tujuanId;
|
||||
|
||||
@Column(name = "koreksi", nullable = true)
|
||||
@Column(name = "koreksi")
|
||||
@Caption(value = "Koreksi")
|
||||
private String koreksi;
|
||||
|
||||
@Column(name = "statusDraft", nullable = true)
|
||||
@Column(name = "statusDraft")
|
||||
@Caption(value = "Status Draft")
|
||||
private String statusDraft;
|
||||
|
||||
public DraftPeraturan getDraftPeraturan() {
|
||||
return draftPeraturan;
|
||||
}
|
||||
|
||||
public void setDraftPeraturan(DraftPeraturan draftPeraturan) {
|
||||
this.draftPeraturan = draftPeraturan;
|
||||
}
|
||||
|
||||
public Integer getDraftPeraturanId() {
|
||||
return draftPeraturanId;
|
||||
}
|
||||
|
||||
public void setDraftPeraturanId(Integer draftPeraturanId) {
|
||||
this.draftPeraturanId = draftPeraturanId;
|
||||
}
|
||||
|
||||
public Jabatan getTujuanDraft() {
|
||||
return tujuanDraft;
|
||||
}
|
||||
|
||||
public void setTujuanDraft(Jabatan tujuanDraft) {
|
||||
this.tujuanDraft = tujuanDraft;
|
||||
}
|
||||
|
||||
public Integer getTujuanId() {
|
||||
return tujuanId;
|
||||
}
|
||||
|
||||
public void setTujuanId(Integer tujuanId) {
|
||||
this.tujuanId = tujuanId;
|
||||
}
|
||||
|
||||
public String getKoreksi() {
|
||||
return koreksi;
|
||||
}
|
||||
|
||||
public void setKoreksi(String koreksi) {
|
||||
this.koreksi = koreksi;
|
||||
}
|
||||
|
||||
public String getStatusDraft() {
|
||||
return statusDraft;
|
||||
}
|
||||
|
||||
public void setStatusDraft(String statusDraft) {
|
||||
this.statusDraft = statusDraft;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.detaildraftperaturan_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.detaildraftperaturan_m_id_seq", sequenceName = "public.detaildraftperaturan_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.detaildraftperaturan_m_id_seq")
|
||||
@SequenceGenerator(name = "public.detaildraftperaturan_m_id_seq", sequenceName = "public.detaildraftperaturan_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,45 +1,31 @@
|
||||
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 DetailGolonganProduk
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailGolonganProduk_M")
|
||||
public class DetailGolonganProduk extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Detail Golongan Produk tidak boleh kosong")
|
||||
@Column(name = "DetailGolonganProduk", nullable = false, length = 30)
|
||||
@Caption(value = "Detail Golongan Produk")
|
||||
private String detailGolonganProduk;
|
||||
|
||||
public void setDetailGolonganProduk(String detailGolonganProduk) {
|
||||
this.detailGolonganProduk = detailGolonganProduk;
|
||||
}
|
||||
|
||||
public String getDetailGolonganProduk() {
|
||||
return this.detailGolonganProduk;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectDepartemenFk")
|
||||
@NotNull(message = "Kd Departemen tidak boleh kosong")
|
||||
@ -47,14 +33,6 @@ public class DetailGolonganProduk extends BaseMaster {
|
||||
@Caption(value = "Object Departemen")
|
||||
private Departemen departemen;
|
||||
|
||||
public void setDepartemen(Departemen departemen) {
|
||||
this.departemen = departemen;
|
||||
}
|
||||
|
||||
public Departemen getDepartemen() {
|
||||
return this.departemen;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectDepartemenFk", insertable = false, updatable = false)
|
||||
private Integer departemenId;
|
||||
|
||||
@ -63,28 +41,12 @@ public class DetailGolonganProduk extends BaseMaster {
|
||||
@Caption(value = "Kode Detail Golongan Produk")
|
||||
private Byte kdDetailGolonganProduk;
|
||||
|
||||
public void setKdDetailGolonganProduk(Byte kdDetailGolonganProduk) {
|
||||
this.kdDetailGolonganProduk = kdDetailGolonganProduk;
|
||||
}
|
||||
|
||||
public Byte getKdDetailGolonganProduk() {
|
||||
return this.kdDetailGolonganProduk;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKelompokProdukFk")
|
||||
|
||||
@Caption(value = "Object Kelompok Produk")
|
||||
private KelompokProduk kelompokProduk;
|
||||
|
||||
public void setKelompokProduk(KelompokProduk kelompokProduk) {
|
||||
this.kelompokProduk = kelompokProduk;
|
||||
}
|
||||
|
||||
public KelompokProduk getKelompokProduk() {
|
||||
return this.kelompokProduk;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectKelompokProdukFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer kelompokProdukId;
|
||||
|
||||
@ -93,26 +55,10 @@ public class DetailGolonganProduk extends BaseMaster {
|
||||
@Caption(value = "QDetail Golongan Produk")
|
||||
private Byte qDetailGolonganProduk;
|
||||
|
||||
public void setqDetailGolonganProduk(Byte qDetailGolonganProduk) {
|
||||
this.qDetailGolonganProduk = qDetailGolonganProduk;
|
||||
}
|
||||
|
||||
public Byte getqDetailGolonganProduk() {
|
||||
return this.qDetailGolonganProduk;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.detailgolonganproduk_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.detailgolonganproduk_m_id_seq", sequenceName = "public.detailgolonganproduk_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.detailgolonganproduk_m_id_seq")
|
||||
@SequenceGenerator(name = "public.detailgolonganproduk_m_id_seq", sequenceName = "public.detailgolonganproduk_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,139 +1,58 @@
|
||||
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;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name="DetailHVA_T")
|
||||
public class DetailHVA extends BaseTransaction{
|
||||
@Table(name = "DetailHVA_T")
|
||||
public class DetailHVA extends BaseTransaction {
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@JoinColumn(name = "ObjectHVAFk")
|
||||
@Caption(value="Object HVA")
|
||||
@Caption(value = "Object HVA")
|
||||
private HVA hva;
|
||||
|
||||
@Column(name = "ObjectHVAFk", insertable=false,updatable=false, nullable = false)
|
||||
|
||||
@Column(name = "ObjectHVAFk", insertable = false, updatable = false, nullable = false)
|
||||
private String hvafk;
|
||||
|
||||
@Column(name="event", nullable=false)
|
||||
@NotNull(message="Event tidak boleh kosong")
|
||||
@Caption(value="Event")
|
||||
|
||||
@Column(name = "event", nullable = false)
|
||||
@NotNull(message = "Event tidak boleh kosong")
|
||||
@Caption(value = "Event")
|
||||
private String event;
|
||||
|
||||
@Column(name="probability", nullable=true)
|
||||
@Caption(value="Probability")
|
||||
|
||||
@Column(name = "probability")
|
||||
@Caption(value = "Probability")
|
||||
private Integer probability;
|
||||
|
||||
@Column(name="humanImpact", nullable=true)
|
||||
@Caption(value="Human Impact")
|
||||
|
||||
@Column(name = "humanImpact")
|
||||
@Caption(value = "Human Impact")
|
||||
private Integer humanImpact;
|
||||
|
||||
@Column(name="propertyImpact", nullable=true)
|
||||
@Caption(value="Property Impact")
|
||||
|
||||
@Column(name = "propertyImpact")
|
||||
@Caption(value = "Property Impact")
|
||||
private Integer propertyImpact;
|
||||
|
||||
@Column(name="businessImpact", nullable=true)
|
||||
@Caption(value="Business Impact")
|
||||
|
||||
@Column(name = "businessImpact")
|
||||
@Caption(value = "Business Impact")
|
||||
private Integer businessImpact;
|
||||
|
||||
@Column(name="preparedness", nullable=true)
|
||||
@Caption(value="Preparedness")
|
||||
|
||||
@Column(name = "preparedness")
|
||||
@Caption(value = "Preparedness")
|
||||
private Integer preparedness;
|
||||
|
||||
@Column(name="internalResponse", nullable=true)
|
||||
@Caption(value="Internal Response")
|
||||
|
||||
@Column(name = "internalResponse")
|
||||
@Caption(value = "Internal Response")
|
||||
private Integer internalResponse;
|
||||
|
||||
@Column(name="externalResponse", nullable=true)
|
||||
@Caption(value="External Response")
|
||||
|
||||
@Column(name = "externalResponse")
|
||||
@Caption(value = "External Response")
|
||||
private Integer externalResponse;
|
||||
|
||||
public HVA getHva() {
|
||||
return hva;
|
||||
}
|
||||
|
||||
public void setHva(HVA hva) {
|
||||
this.hva = hva;
|
||||
}
|
||||
|
||||
public String getHvafk() {
|
||||
return hvafk;
|
||||
}
|
||||
|
||||
public void setHvafk(String hvafk) {
|
||||
this.hvafk = hvafk;
|
||||
}
|
||||
|
||||
public String getEvent() {
|
||||
return event;
|
||||
}
|
||||
|
||||
public void setEvent(String event) {
|
||||
this.event = event;
|
||||
}
|
||||
|
||||
public Integer getProbability() {
|
||||
return probability;
|
||||
}
|
||||
|
||||
public void setProbability(Integer probability) {
|
||||
this.probability = probability;
|
||||
}
|
||||
|
||||
public Integer getHumanImpact() {
|
||||
return humanImpact;
|
||||
}
|
||||
|
||||
public void setHumanImpact(Integer humanImpact) {
|
||||
this.humanImpact = humanImpact;
|
||||
}
|
||||
|
||||
public Integer getPropertyImpact() {
|
||||
return propertyImpact;
|
||||
}
|
||||
|
||||
public void setPropertyImpact(Integer propertyImpact) {
|
||||
this.propertyImpact = propertyImpact;
|
||||
}
|
||||
|
||||
public Integer getBusinessImpact() {
|
||||
return businessImpact;
|
||||
}
|
||||
|
||||
public void setBusinessImpact(Integer businessImpact) {
|
||||
this.businessImpact = businessImpact;
|
||||
}
|
||||
|
||||
public Integer getPreparedness() {
|
||||
return preparedness;
|
||||
}
|
||||
|
||||
public void setPreparedness(Integer preparedness) {
|
||||
this.preparedness = preparedness;
|
||||
}
|
||||
|
||||
public Integer getInternalResponse() {
|
||||
return internalResponse;
|
||||
}
|
||||
|
||||
public void setInternalResponse(Integer internalResponse) {
|
||||
this.internalResponse = internalResponse;
|
||||
}
|
||||
|
||||
public Integer getExternalResponse() {
|
||||
return externalResponse;
|
||||
}
|
||||
|
||||
public void setExternalResponse(Integer externalResponse) {
|
||||
this.externalResponse = externalResponse;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -1,64 +1,32 @@
|
||||
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;
|
||||
|
||||
@Entity //@Audited
|
||||
import javax.persistence.*;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailImplementasi_T")
|
||||
public class DetailImplementasi extends BaseTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectDiagnosaKeperawatan")
|
||||
@Caption(value="DiagnosaKeperawatan")
|
||||
@Caption(value = "DiagnosaKeperawatan")
|
||||
private MappingDiagnosaKeperawatan mappingDiagnosaKeperawatan;
|
||||
|
||||
@Column(name = "ObjectDiagnosaKeperawatan", insertable=false,updatable=false)
|
||||
|
||||
@Column(name = "ObjectDiagnosaKeperawatan", insertable = false, updatable = false)
|
||||
private String mappingDiagnosaKeperawatanId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectImplementasi")
|
||||
@Caption(value="Implementasi")
|
||||
@Caption(value = "Implementasi")
|
||||
private Implementasi implementasi;
|
||||
|
||||
@Column(name = "ObjectImplementasi", insertable=false,updatable=false)
|
||||
|
||||
@Column(name = "ObjectImplementasi", insertable = false, updatable = false)
|
||||
private Integer implementasiId;
|
||||
|
||||
public MappingDiagnosaKeperawatan getMappingDiagnosaKeperawatan() {
|
||||
return mappingDiagnosaKeperawatan;
|
||||
}
|
||||
|
||||
public void setMappingDiagnosaKeperawatan(MappingDiagnosaKeperawatan mappingDiagnosaKeperawatan) {
|
||||
this.mappingDiagnosaKeperawatan = mappingDiagnosaKeperawatan;
|
||||
}
|
||||
|
||||
public String getMappingDiagnosaKeperawatanId() {
|
||||
return mappingDiagnosaKeperawatanId;
|
||||
}
|
||||
|
||||
public void setMappingDiagnosaKeperawatanId(String mappingDiagnosaKeperawatanId) {
|
||||
this.mappingDiagnosaKeperawatanId = mappingDiagnosaKeperawatanId;
|
||||
}
|
||||
|
||||
public Implementasi getImplementasi() {
|
||||
return implementasi;
|
||||
}
|
||||
|
||||
public void setImplementasi(Implementasi implementasi) {
|
||||
this.implementasi = implementasi;
|
||||
}
|
||||
|
||||
public Integer getImplementasiId() {
|
||||
return implementasiId;
|
||||
}
|
||||
|
||||
public void setImplementasiId(Integer implementasiId) {
|
||||
this.implementasiId = implementasiId;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,99 +1,47 @@
|
||||
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.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
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.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
/**
|
||||
* class Agama
|
||||
* class Agama
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailInformasiMedis_T")
|
||||
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class DetailInformasiMedis extends BaseTransaction {
|
||||
|
||||
/*@ManyToOne
|
||||
@JoinColumn(name = "objectTransferPasienInternalFk")
|
||||
@Caption(value="Transfer Pasien Internal")
|
||||
private TransferPasienInternal transferPasienInternal;
|
||||
|
||||
@Column(name = "objectTransferPasienInternalFk", insertable=false,updatable=false,nullable=true)
|
||||
private String transferPasienInternalId;*/
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "objectTransferPasienExsternalFk")
|
||||
@Caption(value="Transfer Pasien Exsternal")
|
||||
@Caption(value = "Transfer Pasien Exsternal")
|
||||
@JsonBackReference
|
||||
private TransferPasienExsternal transferPasienExsternal;
|
||||
|
||||
@Column(name = "objectTransferPasienExsternalFk", insertable=false,updatable=false,nullable=true)
|
||||
@Column(name = "objectTransferPasienExsternalFk", insertable = false, updatable = false)
|
||||
private String transferPasienExsternalId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "objectInformasiMedisFk")
|
||||
@Caption(value="InformasiMedis Pasien")
|
||||
@Caption(value = "InformasiMedis Pasien")
|
||||
@JsonBackReference
|
||||
@NotNull(message="InformasiMedis Harus Diisi")
|
||||
@NotNull(message = "InformasiMedis Harus Diisi")
|
||||
private InformasiMedis informasiMedis;
|
||||
|
||||
@Column(name = "objectInformasiMedisFk", insertable=false,updatable=false,nullable=false)
|
||||
@Column(name = "objectInformasiMedisFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer informasiMedisId;
|
||||
|
||||
|
||||
@Column(name = "checked")
|
||||
private Boolean checked;
|
||||
|
||||
public InformasiMedis getInformasiMedis() {
|
||||
return informasiMedis;
|
||||
}
|
||||
|
||||
public void setInformasiMedis(InformasiMedis informasiMedis) {
|
||||
this.informasiMedis = informasiMedis;
|
||||
}
|
||||
|
||||
public Integer getInformasiMedisId() {
|
||||
return informasiMedisId;
|
||||
}
|
||||
|
||||
public void setInformasiMedisId(Integer informasiMedisId) {
|
||||
this.informasiMedisId = informasiMedisId;
|
||||
}
|
||||
|
||||
public Boolean getChecked() {
|
||||
return checked;
|
||||
}
|
||||
|
||||
public void setChecked(Boolean checked) {
|
||||
this.checked = checked;
|
||||
}
|
||||
|
||||
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,64 +1,32 @@
|
||||
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;
|
||||
|
||||
@Entity //@Audited
|
||||
import javax.persistence.*;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailIntervensi_T")
|
||||
public class DetailIntervensi extends BaseTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectDiagnosaKeperawatan")
|
||||
@Caption(value="DiagnosaKeperawatan")
|
||||
@Caption(value = "DiagnosaKeperawatan")
|
||||
private MappingDiagnosaKeperawatan mappingDiagnosaKeperawatan;
|
||||
|
||||
@Column(name = "ObjectDiagnosaKeperawatan", insertable=false,updatable=false)
|
||||
|
||||
@Column(name = "ObjectDiagnosaKeperawatan", insertable = false, updatable = false)
|
||||
private String mappingDiagnosaKeperawatanId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectIntervensi")
|
||||
@Caption(value="Intervensi")
|
||||
@Caption(value = "Intervensi")
|
||||
private Intervensi intervensi;
|
||||
|
||||
@Column(name = "ObjectIntervensi", insertable=false,updatable=false)
|
||||
|
||||
@Column(name = "ObjectIntervensi", insertable = false, updatable = false)
|
||||
private Integer ObjectIntervensiId;
|
||||
|
||||
public MappingDiagnosaKeperawatan getMappingDiagnosaKeperawatan() {
|
||||
return mappingDiagnosaKeperawatan;
|
||||
}
|
||||
|
||||
public void setMappingDiagnosaKeperawatan(MappingDiagnosaKeperawatan mappingDiagnosaKeperawatan) {
|
||||
this.mappingDiagnosaKeperawatan = mappingDiagnosaKeperawatan;
|
||||
}
|
||||
|
||||
public String getMappingDiagnosaKeperawatanId() {
|
||||
return mappingDiagnosaKeperawatanId;
|
||||
}
|
||||
|
||||
public void setMappingDiagnosaKeperawatanId(String mappingDiagnosaKeperawatanId) {
|
||||
this.mappingDiagnosaKeperawatanId = mappingDiagnosaKeperawatanId;
|
||||
}
|
||||
|
||||
public Intervensi getIntervensi() {
|
||||
return intervensi;
|
||||
}
|
||||
|
||||
public void setIntervensi(Intervensi intervensi) {
|
||||
this.intervensi = intervensi;
|
||||
}
|
||||
|
||||
public Integer getObjectIntervensiId() {
|
||||
return ObjectIntervensiId;
|
||||
}
|
||||
|
||||
public void setObjectIntervensiId(Integer objectIntervensiId) {
|
||||
ObjectIntervensiId = objectIntervensiId;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,86 +1,37 @@
|
||||
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.JsonBackReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import com.jasamedika.medifirst2000.vo.PerencanaanAnestesiVO;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailJenisLimbah_T")
|
||||
public class DetailJenisLimbah extends BaseTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectjenisLimbahB3MasukFk",nullable=false)
|
||||
@JoinColumn(name = "ObjectjenisLimbahB3MasukFk", nullable = false)
|
||||
@NotNull(message = "Jenis Limbah tidak boleh kosong")
|
||||
private JenisLimbahB3Masuk jenisLimbahB3Masuk;
|
||||
|
||||
@Column(name = "ObjectjenisLimbahB3MasukFk", insertable=false,updatable=false)
|
||||
|
||||
@Column(name = "ObjectjenisLimbahB3MasukFk", insertable = false, updatable = false)
|
||||
private Integer jenisLimbahB3MasukId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JsonBackReference
|
||||
@JoinColumn(name = "objectNeracaLimbahFk")
|
||||
@NotNull(message = "Neraca Limbah Tidak Boleh Kosong")
|
||||
private NeracaLimbah neracaLimbah;
|
||||
|
||||
@Column(name="objectNeracaLimbahFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = false)
|
||||
|
||||
@Column(name = "objectNeracaLimbahFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = false)
|
||||
private String neracaLimbahId;
|
||||
|
||||
@Column(name="jenisLimbahYangDikelola")
|
||||
|
||||
@Column(name = "jenisLimbahYangDikelola")
|
||||
private Double jumlah;
|
||||
|
||||
public JenisLimbahB3Masuk getJenisLimbahB3Masuk() {
|
||||
return jenisLimbahB3Masuk;
|
||||
}
|
||||
|
||||
public void setJenisLimbahB3Masuk(JenisLimbahB3Masuk jenisLimbahB3Masuk) {
|
||||
this.jenisLimbahB3Masuk = jenisLimbahB3Masuk;
|
||||
}
|
||||
|
||||
public Integer getJenisLimbahB3MasukId() {
|
||||
return jenisLimbahB3MasukId;
|
||||
}
|
||||
|
||||
public void setJenisLimbahB3MasukId(Integer jenisLimbahB3MasukId) {
|
||||
this.jenisLimbahB3MasukId = jenisLimbahB3MasukId;
|
||||
}
|
||||
|
||||
public NeracaLimbah getNeracaLimbah() {
|
||||
return neracaLimbah;
|
||||
}
|
||||
|
||||
public void setNeracaLimbah(NeracaLimbah neracaLimbah) {
|
||||
this.neracaLimbah = neracaLimbah;
|
||||
}
|
||||
|
||||
public String getNeracaLimbahId() {
|
||||
return neracaLimbahId;
|
||||
}
|
||||
|
||||
public void setNeracaLimbahId(String neracaLimbahId) {
|
||||
this.neracaLimbahId = neracaLimbahId;
|
||||
}
|
||||
|
||||
public Double getJumlah() {
|
||||
return jumlah;
|
||||
}
|
||||
|
||||
public void setJumlah(Double jumlah) {
|
||||
this.jumlah = jumlah;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -1,37 +1,36 @@
|
||||
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 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.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@Entity
|
||||
@Table(name = "DetailJenisProduk_M")
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class DetailJenisProduk extends BaseMaster {
|
||||
|
||||
public DetailJenisProduk() {}
|
||||
|
||||
|
||||
public DetailJenisProduk(String detailJenisProduk, String kdDetailJenisProduk, Integer id) {
|
||||
super();
|
||||
this.id = id;
|
||||
this.detailJenisProduk = detailJenisProduk;
|
||||
this.kdDetailJenisProduk = kdDetailJenisProduk;
|
||||
}
|
||||
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.detailjenisproduk_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.detailjenisproduk_m_id_seq", sequenceName = "public.detailjenisproduk_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.detailjenisproduk_m_id_seq")
|
||||
@SequenceGenerator(name = "public.detailjenisproduk_m_id_seq", sequenceName = "public.detailjenisproduk_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
@ -40,11 +39,11 @@ public class DetailJenisProduk extends BaseMaster {
|
||||
@Caption(value = "Detail Jenis Produk")
|
||||
private String detailJenisProduk;
|
||||
|
||||
@Column(name = "isRegistrasiAset", nullable = true)
|
||||
@Column(name = "isRegistrasiAset")
|
||||
@Caption(value = "Is Registrasi Aset")
|
||||
private Byte isRegistrasiAset;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectAccountFk")
|
||||
@Caption(value = "Object Account")
|
||||
private ChartOfAccount account;
|
||||
@ -52,7 +51,7 @@ public class DetailJenisProduk extends BaseMaster {
|
||||
@Column(name = "ObjectAccountFk", insertable = false, updatable = false)
|
||||
private Integer accountId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectDepartemenFk")
|
||||
@NotNull(message = "Kd Departemen tidak boleh kosong")
|
||||
@Caption(value = "Object Departemen")
|
||||
@ -66,7 +65,7 @@ public class DetailJenisProduk extends BaseMaster {
|
||||
@Caption(value = "Kode Detail Jenis Produk")
|
||||
private String kdDetailJenisProduk;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectJenisProdukFk")
|
||||
@NotNull(message = "Kd Jenis Produk tidak boleh kosong")
|
||||
|
||||
@ -86,100 +85,4 @@ public class DetailJenisProduk extends BaseMaster {
|
||||
@Caption(value = "QDetail Jenis Produk")
|
||||
private short qDetailJenisProduk;
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getDetailJenisProduk() {
|
||||
return detailJenisProduk;
|
||||
}
|
||||
|
||||
public void setDetailJenisProduk(String detailJenisProduk) {
|
||||
this.detailJenisProduk = detailJenisProduk;
|
||||
}
|
||||
|
||||
public Byte getIsRegistrasiAset() {
|
||||
return isRegistrasiAset;
|
||||
}
|
||||
|
||||
public void setIsRegistrasiAset(Byte isRegistrasiAset) {
|
||||
this.isRegistrasiAset = isRegistrasiAset;
|
||||
}
|
||||
|
||||
public ChartOfAccount getAccount() {
|
||||
return account;
|
||||
}
|
||||
|
||||
public void setAccount(ChartOfAccount account) {
|
||||
this.account = account;
|
||||
}
|
||||
|
||||
public Integer getAccountId() {
|
||||
return accountId;
|
||||
}
|
||||
|
||||
public void setAccountId(Integer accountId) {
|
||||
this.accountId = accountId;
|
||||
}
|
||||
|
||||
public Departemen getDepartemen() {
|
||||
return departemen;
|
||||
}
|
||||
|
||||
public void setDepartemen(Departemen departemen) {
|
||||
this.departemen = departemen;
|
||||
}
|
||||
|
||||
public Integer getDepartemenId() {
|
||||
return departemenId;
|
||||
}
|
||||
|
||||
public void setDepartemenId(Integer departemenId) {
|
||||
this.departemenId = departemenId;
|
||||
}
|
||||
|
||||
public String getKdDetailJenisProduk() {
|
||||
return kdDetailJenisProduk;
|
||||
}
|
||||
|
||||
public void setKdDetailJenisProduk(String kdDetailJenisProduk) {
|
||||
this.kdDetailJenisProduk = kdDetailJenisProduk;
|
||||
}
|
||||
|
||||
public JenisProduk getJenisProduk() {
|
||||
return jenisProduk;
|
||||
}
|
||||
|
||||
public void setJenisProduk(JenisProduk jenisProduk) {
|
||||
this.jenisProduk = jenisProduk;
|
||||
}
|
||||
|
||||
public Integer getJenisProdukId() {
|
||||
return jenisProdukId;
|
||||
}
|
||||
|
||||
public void setJenisProdukId(Integer jenisProdukId) {
|
||||
this.jenisProdukId = jenisProdukId;
|
||||
}
|
||||
|
||||
public Double getPersenHargaCito() {
|
||||
return persenHargaCito;
|
||||
}
|
||||
|
||||
public void setPersenHargaCito(Double persenHargaCito) {
|
||||
this.persenHargaCito = persenHargaCito;
|
||||
}
|
||||
|
||||
public short getqDetailJenisProduk() {
|
||||
return qDetailJenisProduk;
|
||||
}
|
||||
|
||||
public void setqDetailJenisProduk(short qDetailJenisProduk) {
|
||||
this.qDetailJenisProduk = qDetailJenisProduk;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,21 +1,21 @@
|
||||
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.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 = "DetailKajianEvaluasi_M")
|
||||
public class DetailKajianEvaluasi extends BaseMaster {
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectTujuanFk")
|
||||
@NotNull(message = "Tujuan tidak boleh kosong")
|
||||
@ -42,66 +42,10 @@ public class DetailKajianEvaluasi extends BaseMaster {
|
||||
@Column(name = "ObjectKajianEvaluasiFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer kajianId;
|
||||
|
||||
public Jabatan getTujuan() {
|
||||
return tujuan;
|
||||
}
|
||||
|
||||
public void setTujuan(Jabatan tujuan) {
|
||||
this.tujuan = tujuan;
|
||||
}
|
||||
|
||||
public Integer getTujuanId() {
|
||||
return tujuanId;
|
||||
}
|
||||
|
||||
public void setTujuanId(Integer tujuanId) {
|
||||
this.tujuanId = tujuanId;
|
||||
}
|
||||
|
||||
public KajianEvaluasi getKajianEvaluasi() {
|
||||
return kajianEvaluasi;
|
||||
}
|
||||
|
||||
public void setKajianEvaluasi(KajianEvaluasi kajianEvaluasi) {
|
||||
this.kajianEvaluasi = kajianEvaluasi;
|
||||
}
|
||||
|
||||
public Integer getKajianId() {
|
||||
return kajianId;
|
||||
}
|
||||
|
||||
public void setKajianId(Integer kajianId) {
|
||||
this.kajianId = kajianId;
|
||||
}
|
||||
|
||||
public String getStatusUsulan() {
|
||||
return statusUsulan;
|
||||
}
|
||||
|
||||
public void setStatusUsulan(String statusUsulan) {
|
||||
this.statusUsulan = statusUsulan;
|
||||
}
|
||||
|
||||
public String getKoreksi() {
|
||||
return koreksi;
|
||||
}
|
||||
|
||||
public void setKoreksi(String koreksi) {
|
||||
this.koreksi = koreksi;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.detailkajianevaluasi_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.detailkajianevaluasi_m_id_seq", sequenceName = "public.detailkajianevaluasi_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.detailkajianevaluasi_m_id_seq")
|
||||
@SequenceGenerator(name = "public.detailkajianevaluasi_m_id_seq", sequenceName = "public.detailkajianevaluasi_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,60 +1,35 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.io.Serializable;
|
||||
import org.hibernate.envers.Audited;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
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 DetailKamar
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailKamar_M")
|
||||
public class DetailKamar extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Fasilitas tidak boleh kosong")
|
||||
@Column(name = "Fasilitas", nullable = false, length = 255)
|
||||
@Column(name = "Fasilitas", nullable = false)
|
||||
@Caption(value = "Fasilitas")
|
||||
private String fasilitas;
|
||||
|
||||
public void setFasilitas(String fasilitas) {
|
||||
this.fasilitas = fasilitas;
|
||||
}
|
||||
|
||||
public String getFasilitas() {
|
||||
return this.fasilitas;
|
||||
}
|
||||
|
||||
@Column(name = "Gambar", nullable = true, length = 255)
|
||||
@Column(name = "Gambar")
|
||||
@Caption(value = "Gambar")
|
||||
private String gambar;
|
||||
|
||||
public void setGambar(String gambar) {
|
||||
this.gambar = gambar;
|
||||
}
|
||||
|
||||
public String getGambar() {
|
||||
return this.gambar;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKelasFk")
|
||||
@NotNull(message = "Kd Kelas tidak boleh kosong")
|
||||
@ -62,14 +37,6 @@ public class DetailKamar extends BaseMaster {
|
||||
@Caption(value = "Object Kelas")
|
||||
private Kelas kelas;
|
||||
|
||||
public void setKelas(Kelas kelas) {
|
||||
this.kelas = kelas;
|
||||
}
|
||||
|
||||
public Kelas getKelas() {
|
||||
return this.kelas;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectKelasFk", insertable = false, updatable = false)
|
||||
private Integer kelasId;
|
||||
|
||||
@ -78,143 +45,10 @@ public class DetailKamar extends BaseMaster {
|
||||
@Caption(value = "Qty Kamar")
|
||||
private short qtyKamar;
|
||||
|
||||
public void setqtyKamar(short qtyKamar) {
|
||||
this.qtyKamar = qtyKamar;
|
||||
}
|
||||
|
||||
public short getqtyKamar() {
|
||||
return this.qtyKamar;
|
||||
}
|
||||
|
||||
/*
|
||||
* @JsonManagedReference
|
||||
*
|
||||
* @OneToMany(fetch=FetchType.LAZY, cascade = CascadeType.ALL,
|
||||
* mappedBy="kdkelasdijamin") private Set<AsuransiPasien> AsuransiPasienSet
|
||||
* = new HashSet<AsuransiPasien>();
|
||||
*
|
||||
* public Set<AsuransiPasien> getAsuransiPasienSet() { return
|
||||
* AsuransiPasienSet; }
|
||||
*
|
||||
* public void setAsuransiPasienSet(Set<AsuransiPasien> asuransiPasienSet) {
|
||||
* AsuransiPasienSet = asuransiPasienSet; }
|
||||
*
|
||||
*
|
||||
* @JsonManagedReference
|
||||
*
|
||||
* @OneToMany(fetch=FetchType.LAZY, cascade = CascadeType.ALL,
|
||||
* mappedBy="kdkelas") private Set<HargaNettoProdukByKelas>
|
||||
* HargaNettoDiscPasienPulangSet = new HashSet<HargaNettoProdukByKelas>();
|
||||
*
|
||||
* public Set<HargaNettoProdukByKelas> getHargaNettoDiscPasienPulangSet() {
|
||||
* return HargaNettoDiscPasienPulangSet; }
|
||||
*
|
||||
* public void setHargaNettoDiscPasienPulangSet(Set<HargaNettoProdukByKelas>
|
||||
* hargaNettoDiscPasienPulangSet) { HargaNettoDiscPasienPulangSet =
|
||||
* hargaNettoDiscPasienPulangSet; }
|
||||
*
|
||||
*
|
||||
* @JsonManagedReference
|
||||
*
|
||||
* @OneToMany(fetch=FetchType.LAZY, cascade = CascadeType.ALL,
|
||||
* mappedBy="kdkelas") private Set<HargaNettoProdukByKelas>
|
||||
* HargaNettoProdukByKelasSet = new HashSet<HargaNettoProdukByKelas>();
|
||||
*
|
||||
* public Set<HargaNettoProdukByKelas> getHargaNettoProdukByKelasSet() {
|
||||
* return HargaNettoProdukByKelasSet; }
|
||||
*
|
||||
* public void setHargaNettoProdukByKelasSet(Set<HargaNettoProdukByKelas>
|
||||
* hargaNettoProdukByKelasSet) { HargaNettoProdukByKelasSet =
|
||||
* hargaNettoProdukByKelasSet; }
|
||||
*
|
||||
*
|
||||
* @JsonManagedReference
|
||||
*
|
||||
* @OneToMany(fetch=FetchType.LAZY, cascade = CascadeType.ALL,
|
||||
* mappedBy="kdkelas") private Set<HargaNettoProdukByKelasD>
|
||||
* HargaNettoProdukByKelasDSet = new HashSet<HargaNettoProdukByKelasD>();
|
||||
*
|
||||
* public Set<HargaNettoProdukByKelasD> getHargaNettoProdukByKelasDSet() {
|
||||
* return HargaNettoProdukByKelasDSet; }
|
||||
*
|
||||
* public void setHargaNettoProdukByKelasDSet(Set<HargaNettoProdukByKelasD>
|
||||
* hargaNettoProdukByKelasDSet) { HargaNettoProdukByKelasDSet =
|
||||
* hargaNettoProdukByKelasDSet; }
|
||||
*
|
||||
*
|
||||
* @JsonManagedReference
|
||||
*
|
||||
* @OneToMany(fetch=FetchType.LAZY, cascade = CascadeType.ALL,
|
||||
* mappedBy="kdkelas") private Set<HargaPaketPenjamin> HargaPaketPenjaminSet
|
||||
* = new HashSet<HargaPaketPenjamin>();
|
||||
*
|
||||
* public Set<HargaPaketPenjamin> getHargaPaketPenjaminSet() { return
|
||||
* HargaPaketPenjaminSet; }
|
||||
*
|
||||
* public void setHargaPaketPenjaminSet(Set<HargaPaketPenjamin>
|
||||
* hargaPaketPenjaminSet) { HargaPaketPenjaminSet = hargaPaketPenjaminSet; }
|
||||
*
|
||||
*
|
||||
* @JsonManagedReference
|
||||
*
|
||||
* @OneToMany(fetch=FetchType.LAZY, cascade = CascadeType.ALL,
|
||||
* mappedBy="kdkelas") private Set<HargaPaketPenjaminLuarPaket>
|
||||
* HargaPaketPenjaminLuarPaketSet = new
|
||||
* HashSet<HargaPaketPenjaminLuarPaket>();
|
||||
*
|
||||
* public Set<HargaPaketPenjaminLuarPaket>
|
||||
* getHargaPaketPenjaminLuarPaketSet() { return
|
||||
* HargaPaketPenjaminLuarPaketSet; }
|
||||
*
|
||||
* public void
|
||||
* setHargaPaketPenjaminLuarPaketSet(Set<HargaPaketPenjaminLuarPaket>
|
||||
* hargaPaketPenjaminLuarPaketSet) { HargaPaketPenjaminLuarPaketSet =
|
||||
* hargaPaketPenjaminLuarPaketSet; }
|
||||
*
|
||||
* @JsonManagedReference
|
||||
*
|
||||
* @OneToMany(fetch=FetchType.LAZY, cascade = CascadeType.ALL,
|
||||
* mappedBy="kdkelasdefault") private Set<JenisTransaksi> JenisTransaksiSet
|
||||
* = new HashSet<JenisTransaksi>();
|
||||
*
|
||||
* public Set<JenisTransaksi> getJenisTransaksiSet() { return
|
||||
* JenisTransaksiSet; }
|
||||
*
|
||||
* public void setJenisTransaksiSet(Set<JenisTransaksi> jenisTransaksiSet) {
|
||||
* JenisTransaksiSet = jenisTransaksiSet; }
|
||||
*
|
||||
*
|
||||
* @JsonManagedReference
|
||||
*
|
||||
* @OneToMany(fetch=FetchType.LAZY, cascade = CascadeType.ALL,
|
||||
* mappedBy="kdkelas") private Set<Kamar> KamarSet = new HashSet<Kamar>();
|
||||
*
|
||||
* public Set<Kamar> getKamarSet() { return KamarSet; }
|
||||
*
|
||||
* public void setKamarSet(Set<Kamar> kamarSet) { KamarSet = kamarSet; }
|
||||
*
|
||||
* @JsonManagedReference
|
||||
*
|
||||
* @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL, mappedBy =
|
||||
* "kdkelas") private Set<Kelas> KelasSet = new HashSet<Kelas>();
|
||||
*
|
||||
* public Set<Kelas> getKelasSet() { return KelasSet; }
|
||||
*
|
||||
* public void setKelasSet(Set<Kelas> kelasSet) { KelasSet = kelasSet; }
|
||||
*/
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.detailkamar_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.detailkamar_m_id_seq", sequenceName = "public.detailkamar_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.detailkamar_m_id_seq")
|
||||
@SequenceGenerator(name = "public.detailkamar_m_id_seq", sequenceName = "public.detailkamar_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,103 +1,56 @@
|
||||
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 DetailKategoryPegawai
|
||||
* class DetailKategoryPegawai
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailKategoryPegawai_M")
|
||||
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class DetailKategoryPegawai extends BaseMaster {
|
||||
@NotNull(message="Detail Kategory Pegawai tidak boleh kosong")
|
||||
@Column(name = "DetailKategoryPegawai", nullable = false , length = 50)
|
||||
@Caption(value="Detail Kategory Pegawai")
|
||||
|
||||
@NotNull(message = "Detail Kategory Pegawai tidak boleh kosong")
|
||||
@Column(name = "DetailKategoryPegawai", nullable = false, length = 50)
|
||||
@Caption(value = "Detail Kategory Pegawai")
|
||||
private String detailKategoryPegawai;
|
||||
|
||||
public void setDetailKategoryPegawai(String detailKategoryPegawai) {
|
||||
this.detailKategoryPegawai = detailKategoryPegawai;
|
||||
}
|
||||
|
||||
|
||||
public String getDetailKategoryPegawai(){
|
||||
return this.detailKategoryPegawai;
|
||||
}
|
||||
|
||||
@NotNull(message="Kd Detail Kategory Pegawai tidak boleh kosong")
|
||||
@Column(name = "KdDetailKategoryPegawai", nullable = false , length = 2)
|
||||
@Caption(value="Kode Detail Kategory Pegawai")
|
||||
@NotNull(message = "Kd Detail Kategory Pegawai tidak boleh kosong")
|
||||
@Column(name = "KdDetailKategoryPegawai", nullable = false, length = 2)
|
||||
@Caption(value = "Kode Detail Kategory Pegawai")
|
||||
private String kdDetailKategoryPegawai;
|
||||
|
||||
public void setKdDetailKategoryPegawai(String kdDetailKategoryPegawai) {
|
||||
this.kdDetailKategoryPegawai = kdDetailKategoryPegawai;
|
||||
}
|
||||
|
||||
|
||||
public String getKdDetailKategoryPegawai(){
|
||||
return this.kdDetailKategoryPegawai;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKategoryPegawaiFk")
|
||||
@NotNull(message="Kd Kategory Pegawai tidak boleh kosong")
|
||||
|
||||
@Caption(value="Object Kategory Pegawai")
|
||||
@NotNull(message = "Kd Kategory Pegawai tidak boleh kosong")
|
||||
@Caption(value = "Object Kategory Pegawai")
|
||||
private KategoryPegawai kategoryPegawai;
|
||||
|
||||
public void setKategoryPegawai(KategoryPegawai kategoryPegawai) {
|
||||
this.kategoryPegawai = kategoryPegawai;
|
||||
}
|
||||
|
||||
|
||||
public KategoryPegawai getKategoryPegawai(){
|
||||
return this.kategoryPegawai;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectKategoryPegawaiFk", insertable=false,updatable=false)
|
||||
@Column(name = "ObjectKategoryPegawaiFk", insertable = false, updatable = false)
|
||||
private Integer kategoryPegawaiId;
|
||||
|
||||
@NotNull(message="QDetail Kategory Pegawai tidak boleh kosong")
|
||||
@Column(name = "QDetailKategoryPegawai", nullable = false )
|
||||
@Caption(value="QDetail Kategory Pegawai")
|
||||
@NotNull(message = "QDetail Kategory Pegawai tidak boleh kosong")
|
||||
@Column(name = "QDetailKategoryPegawai", nullable = false)
|
||||
@Caption(value = "QDetail Kategory Pegawai")
|
||||
private Byte qDetailKategoryPegawai;
|
||||
|
||||
public void setqDetailKategoryPegawai(Byte qDetailKategoryPegawai) {
|
||||
this.qDetailKategoryPegawai = qDetailKategoryPegawai;
|
||||
}
|
||||
@Id
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.detailkategorypegawai_m_id_seq")
|
||||
@SequenceGenerator(name = "public.detailkategorypegawai_m_id_seq", sequenceName = "public.detailkategorypegawai_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
|
||||
public Byte getqDetailKategoryPegawai(){
|
||||
return this.qDetailKategoryPegawai;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Id
|
||||
@GeneratedValue(
|
||||
strategy=GenerationType.SEQUENCE,
|
||||
generator="public.detailkategorypegawai_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(
|
||||
name="public.detailkategorypegawai_m_id_seq", sequenceName="public.detailkategorypegawai_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,36 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.io.Serializable;
|
||||
import org.hibernate.envers.Audited;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
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 DetailKelompokPegawai
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailKelompokPegawai_M")
|
||||
public class DetailKelompokPegawai extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Detail Kelompok Pegawai tidak boleh kosong")
|
||||
@Column(name = "DetailKelompokPegawai", nullable = false, length = 50)
|
||||
@Caption(value = "Detail Kelompok Pegawai")
|
||||
private String detailKelompokPegawai;
|
||||
|
||||
public void setDetailKelompokPegawai(String detailKelompokPegawai) {
|
||||
this.detailKelompokPegawai = detailKelompokPegawai;
|
||||
}
|
||||
|
||||
public String getDetailKelompokPegawai() {
|
||||
return this.detailKelompokPegawai;
|
||||
}
|
||||
|
||||
@NotNull(message = "Kd Detail Kelompok Pegawai tidak boleh kosong")
|
||||
@Column(name = "KdDetailKelompokPegawai", nullable = false, length = 2)
|
||||
@Caption(value = "Kode Detail Kelompok Pegawai")
|
||||
private String kdDetailKelompokPegawai;
|
||||
|
||||
public void setKdDetailKelompokPegawai(String kdDetailKelompokPegawai) {
|
||||
this.kdDetailKelompokPegawai = kdDetailKelompokPegawai;
|
||||
}
|
||||
|
||||
public String getKdDetailKelompokPegawai() {
|
||||
return this.kdDetailKelompokPegawai;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKelompokPegawaiFk")
|
||||
@NotNull(message = "Kd Kelompok Pegawai tidak boleh kosong")
|
||||
@ -63,14 +38,6 @@ public class DetailKelompokPegawai extends BaseMaster {
|
||||
@Caption(value = "Object Kelompok Pegawai")
|
||||
private KelompokPegawai kelompokPegawai;
|
||||
|
||||
public void setKelompokPegawai(KelompokPegawai kelompokPegawai) {
|
||||
this.kelompokPegawai = kelompokPegawai;
|
||||
}
|
||||
|
||||
public KelompokPegawai getKelompokPegawai() {
|
||||
return this.kelompokPegawai;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectKelompokPegawaiFk", insertable = false, updatable = false)
|
||||
private Integer kelompokPegawaiId;
|
||||
|
||||
@ -79,39 +46,10 @@ public class DetailKelompokPegawai extends BaseMaster {
|
||||
@Caption(value = "QDetail Kelompok Pegawai")
|
||||
private Byte qDetailKelompokPegawai;
|
||||
|
||||
public void setqDetailKelompokPegawai(Byte qDetailKelompokPegawai) {
|
||||
this.qDetailKelompokPegawai = qDetailKelompokPegawai;
|
||||
}
|
||||
|
||||
public Byte getqDetailKelompokPegawai() {
|
||||
return this.qDetailKelompokPegawai;
|
||||
}
|
||||
|
||||
/*
|
||||
* @JsonManagedReference
|
||||
*
|
||||
* @OneToMany(fetch=FetchType.LAZY, cascade = CascadeType.ALL,
|
||||
* mappedBy="kddetailkelompokpegawai") private Set<JenisPegawai>
|
||||
* JenisPegawaiSet = new HashSet<JenisPegawai>();
|
||||
*
|
||||
* public Set<JenisPegawai> getJenisPegawaiSet() { return JenisPegawaiSet; }
|
||||
*
|
||||
* public void setJenisPegawaiSet(Set<JenisPegawai> jenisPegawaiSet) {
|
||||
* JenisPegawaiSet = jenisPegawaiSet; }
|
||||
*/
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.detailkelompokpegawai_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.detailkelompokpegawai_m_id_seq", sequenceName = "public.detailkelompokpegawai_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.detailkelompokpegawai_m_id_seq")
|
||||
@SequenceGenerator(name = "public.detailkelompokpegawai_m_id_seq", sequenceName = "public.detailkelompokpegawai_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,51 +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;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author yudimf
|
||||
*
|
||||
*/
|
||||
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_Detail_Obat_M")
|
||||
public class DetailObat 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.detailobat_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.detailobat_m_id_seq", sequenceName = "public.detailobat_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.detailobat_m_id_seq")
|
||||
@SequenceGenerator(name = "public.detailobat_m_id_seq", sequenceName = "public.detailobat_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,39 @@
|
||||
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.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.jasamedika.medifirst2000.helper.Caption;import org.hibernate.envers.Audited;
|
||||
|
||||
/**
|
||||
* class DetailOrderTindakanLab
|
||||
* class DetailOrderTindakanLab
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailOrderTindakan_T")
|
||||
public class DetailOrderTindakan extends MedicalRecordTransaction{
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ProdukFk")
|
||||
@NotNull(message = "Produk Harus Diisi")
|
||||
@Caption(value = "Produk")
|
||||
public class DetailOrderTindakan extends MedicalRecordTransaction {
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ProdukFk")
|
||||
@NotNull(message = "Produk Harus Diisi")
|
||||
@Caption(value = "Produk")
|
||||
private Produk produk;
|
||||
public Produk getProduk() {
|
||||
return produk;
|
||||
}
|
||||
public void setProduk(Produk produk) {
|
||||
this.produk = produk;
|
||||
}
|
||||
@Column(name = "ProdukFk", insertable=false,updatable=false)
|
||||
|
||||
@Column(name = "ProdukFk", insertable = false, updatable = false)
|
||||
private Integer produkId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "OrderProdukFk")
|
||||
@NotNull(message = "OrderProduk Harus Diisi")
|
||||
@Caption(value = "OrderProduk")
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "OrderProdukFk")
|
||||
@NotNull(message = "OrderProduk Harus Diisi")
|
||||
@Caption(value = "OrderProduk")
|
||||
private OrderProduk orderProduk;
|
||||
|
||||
public OrderProduk getOrderProduk() {
|
||||
return orderProduk;
|
||||
}
|
||||
public void setOrderProduk(OrderProduk orderProduk) {
|
||||
this.orderProduk = orderProduk;
|
||||
}
|
||||
@Column(name = "OrderProdukFk", insertable=false,updatable=false)
|
||||
@Column(name = "OrderProdukFk", insertable = false, updatable = false)
|
||||
private String orderTindakanLabId;
|
||||
|
||||
|
||||
}
|
||||
@ -1,55 +1,39 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import com.jasamedika.medifirst2000.entities.Produk;
|
||||
import com.jasamedika.medifirst2000.entities.OrderProduk;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;import org.hibernate.envers.Audited;
|
||||
|
||||
/**
|
||||
* class DetailOrderTindakanLab
|
||||
* class DetailOrderTindakanLab
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailOrderTindakanLab_T")
|
||||
public class DetailOrderTindakanLab extends MedicalRecordTransaction{
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ProdukFk")
|
||||
@NotNull(message = "Produk Harus Diisi")
|
||||
@Caption(value = "Produk")
|
||||
public class DetailOrderTindakanLab extends MedicalRecordTransaction {
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ProdukFk")
|
||||
@NotNull(message = "Produk Harus Diisi")
|
||||
@Caption(value = "Produk")
|
||||
private Produk produk;
|
||||
public Produk getProduk() {
|
||||
return produk;
|
||||
}
|
||||
public void setProduk(Produk produk) {
|
||||
this.produk = produk;
|
||||
}
|
||||
@Column(name = "ProdukFk", insertable=false,updatable=false)
|
||||
|
||||
@Column(name = "ProdukFk", insertable = false, updatable = false)
|
||||
private Integer produkId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "OrderProdukFk")
|
||||
@NotNull(message = "OrderProduk Harus Diisi")
|
||||
@Caption(value = "OrderProduk")
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "OrderProdukFk")
|
||||
@NotNull(message = "OrderProduk Harus Diisi")
|
||||
@Caption(value = "OrderProduk")
|
||||
private OrderProduk orderProduk;
|
||||
|
||||
public OrderProduk getOrderProduk() {
|
||||
return orderProduk;
|
||||
}
|
||||
public void setOrderProduk(OrderProduk orderProduk) {
|
||||
this.orderProduk = orderProduk;
|
||||
}
|
||||
@Column(name = "OrderProdukFk", insertable=false,updatable=false)
|
||||
@Column(name = "OrderProdukFk", insertable = false, updatable = false)
|
||||
private String orderTindakanLabId;
|
||||
|
||||
|
||||
}
|
||||
@ -1,66 +1,34 @@
|
||||
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.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailPengadaan_T")
|
||||
public class DetailPengadaan extends BaseTransaction {
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPengadaanFk")
|
||||
@Caption(value="Object Pengadaan")
|
||||
@Caption(value = "Object Pengadaan")
|
||||
private Pengadaan pengadaan;
|
||||
|
||||
@Column(name = "ObjectPengadaanFk", insertable=false,updatable=false)
|
||||
@Column(name = "ObjectPengadaanFk", insertable = false, updatable = false)
|
||||
private Integer pengadaanId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectDetailRupFk")
|
||||
@Caption(value="Object Detail Rup")
|
||||
@Caption(value = "Object Detail Rup")
|
||||
@JsonBackReference
|
||||
private DetailRup detailRup;
|
||||
|
||||
@Column(name = "ObjectDetailRupFk", insertable=false,updatable=false)
|
||||
@Column(name = "ObjectDetailRupFk", insertable = false, updatable = false)
|
||||
private String detailRupId;
|
||||
|
||||
public Pengadaan getPengadaan() {
|
||||
return pengadaan;
|
||||
}
|
||||
|
||||
public void setPengadaan(Pengadaan pengadaan) {
|
||||
this.pengadaan = pengadaan;
|
||||
}
|
||||
|
||||
public Integer getPengadaanId() {
|
||||
return pengadaanId;
|
||||
}
|
||||
|
||||
public void setPengadaanId(Integer pengadaanId) {
|
||||
this.pengadaanId = pengadaanId;
|
||||
}
|
||||
|
||||
public DetailRup getDetailRup() {
|
||||
return detailRup;
|
||||
}
|
||||
|
||||
public void setDetailRup(DetailRup detailRup) {
|
||||
this.detailRup = detailRup;
|
||||
}
|
||||
|
||||
public String getDetailRupId() {
|
||||
return detailRupId;
|
||||
}
|
||||
|
||||
public void setDetailRupId(String detailRupId) {
|
||||
this.detailRupId = detailRupId;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,76 +1,36 @@
|
||||
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.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name="DetailPengkajianAwal_T")
|
||||
public class DetailPengkajianAwal extends BaseTransaction{
|
||||
@Table(name = "DetailPengkajianAwal_T")
|
||||
public class DetailPengkajianAwal extends BaseTransaction {
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@Caption(value = "Pengkajian Awal Transaksi")
|
||||
@JoinColumn(name="ObjectPengkajianAwalTransaksiFk")
|
||||
@JoinColumn(name = "ObjectPengkajianAwalTransaksiFk")
|
||||
private PengkajianAwalTransaksi pengkajianAwalTransaksi;
|
||||
|
||||
@Column(name="ObjectPengkajianAwalTransaksiFk", insertable=false, updatable=false, nullable=false)
|
||||
|
||||
@Column(name = "ObjectPengkajianAwalTransaksiFk", insertable = false, updatable = false, nullable = false)
|
||||
private String pengkajianAwalTransaksiId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@Caption(value="Pengkajian Awal")
|
||||
@JoinColumn(name="ObjectPengkajianAwalFk")
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@Caption(value = "Pengkajian Awal")
|
||||
@JoinColumn(name = "ObjectPengkajianAwalFk")
|
||||
private PengkajianAwal pengkajianAwal;
|
||||
|
||||
@Column(name="ObjectPengkajianAwalFk", insertable=false, updatable=false, nullable=true)
|
||||
|
||||
@Column(name = "ObjectPengkajianAwalFk", insertable = false, updatable = false)
|
||||
private Integer pengkajianAwalId;
|
||||
|
||||
@Caption(value="Nilai")
|
||||
@Column(name="Nilai", nullable=true)
|
||||
|
||||
@Caption(value = "Nilai")
|
||||
@Column(name = "Nilai")
|
||||
private String nilai;
|
||||
|
||||
public PengkajianAwalTransaksi getPengkajianAwalTransaksi() {
|
||||
return pengkajianAwalTransaksi;
|
||||
}
|
||||
|
||||
public void setPengkajianAwalTransaksi(PengkajianAwalTransaksi pengkajianAwalTransaksi) {
|
||||
this.pengkajianAwalTransaksi = pengkajianAwalTransaksi;
|
||||
}
|
||||
|
||||
public String getPengkajianAwalTransaksiId() {
|
||||
return pengkajianAwalTransaksiId;
|
||||
}
|
||||
|
||||
public void setPengkajianAwalTransaksiId(String pengkajianAwalTransaksiId) {
|
||||
this.pengkajianAwalTransaksiId = pengkajianAwalTransaksiId;
|
||||
}
|
||||
|
||||
public PengkajianAwal getPengkajianAwal() {
|
||||
return pengkajianAwal;
|
||||
}
|
||||
|
||||
public void setPengkajianAwal(PengkajianAwal pengkajianAwal) {
|
||||
this.pengkajianAwal = pengkajianAwal;
|
||||
}
|
||||
|
||||
public Integer getPengkajianAwalId() {
|
||||
return pengkajianAwalId;
|
||||
}
|
||||
|
||||
public void setPengkajianAwalId(Integer pengkajianAwalId) {
|
||||
this.pengkajianAwalId = pengkajianAwalId;
|
||||
}
|
||||
|
||||
public String getNilai() {
|
||||
return nilai;
|
||||
}
|
||||
|
||||
public void setNilai(String nilai) {
|
||||
this.nilai = nilai;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,27 +1,23 @@
|
||||
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.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
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 javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class Agama
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_DetailPenyakit_M")
|
||||
public class DetailPenyakit extends BaseMaster {
|
||||
|
||||
@ -30,26 +26,10 @@ public class DetailPenyakit extends BaseMaster {
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.detailpenyakit_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.detailpenyakit_m_id_seq", sequenceName = "public.detailpenyakit_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.detailpenyakit_m_id_seq")
|
||||
@SequenceGenerator(name = "public.detailpenyakit_m_id_seq", sequenceName = "public.detailpenyakit_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,23 @@
|
||||
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.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
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 javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class Agama
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_DetailPenyakitLainnya_M")
|
||||
public class DetailPenyakitLainnya extends BaseMaster {
|
||||
|
||||
@ -30,26 +26,10 @@ public class DetailPenyakitLainnya extends BaseMaster {
|
||||
@Caption(value = "Name")
|
||||
private String name;
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.detailpenyakitlainnya_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.detailpenyakitlainnya_m_id_seq", sequenceName = "public.detailpenyakitlainnya_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.detailpenyakitlainnya_m_id_seq")
|
||||
@SequenceGenerator(name = "public.detailpenyakitlainnya_m_id_seq", sequenceName = "public.detailpenyakitlainnya_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,92 +1,46 @@
|
||||
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.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.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;
|
||||
|
||||
/**
|
||||
* class Agama
|
||||
* class Agama
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_DetailPenyakitObstetri_T")
|
||||
public class DetailPenyakitObstetri extends BaseTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "papObstetriFk")
|
||||
@Caption(value="Obstetri")
|
||||
@Caption(value = "Obstetri")
|
||||
@JsonBackReference
|
||||
@NotNull(message="Obstetri Harus Diisi")
|
||||
@NotNull(message = "Obstetri Harus Diisi")
|
||||
private PapObstetri papObstetri;
|
||||
|
||||
@Column(name = "papObsetriFk", insertable=false,updatable=false,nullable=false)
|
||||
@Column(name = "papObsetriFk", insertable = false, updatable = false, nullable = false)
|
||||
private String papObstetriId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "detailPenyakitFk")
|
||||
@Caption(value="detail Penyakit")
|
||||
@Caption(value = "detail Penyakit")
|
||||
@JsonBackReference
|
||||
@NotNull(message="Detail Penyakit Harus Diisi")
|
||||
@NotNull(message = "Detail Penyakit Harus Diisi")
|
||||
private DetailPenyakit detailPenyakit;
|
||||
|
||||
@Column(name = "detailPenyakitFk", insertable=false,updatable=false,nullable=false)
|
||||
@Column(name = "detailPenyakitFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer detailPenyakitId;
|
||||
|
||||
|
||||
@Column(name = "checked")
|
||||
private Boolean checked;
|
||||
|
||||
public PapObstetri getPapObstetri() {
|
||||
return papObstetri;
|
||||
}
|
||||
|
||||
public void setPapObstetri(PapObstetri papObstetri) {
|
||||
this.papObstetri = papObstetri;
|
||||
}
|
||||
|
||||
public String getPapObstetriId() {
|
||||
return papObstetriId;
|
||||
}
|
||||
|
||||
public void setPapObstetriId(String papObstetriId) {
|
||||
this.papObstetriId = papObstetriId;
|
||||
}
|
||||
|
||||
public DetailPenyakit getDetailPenyakit() {
|
||||
return detailPenyakit;
|
||||
}
|
||||
|
||||
public void setDetailPenyakit(DetailPenyakit detailPenyakit) {
|
||||
this.detailPenyakit = detailPenyakit;
|
||||
}
|
||||
|
||||
public Integer getDetailPenyakitId() {
|
||||
return detailPenyakitId;
|
||||
}
|
||||
|
||||
public void setDetailPenyakitId(Integer detailPenyakitId) {
|
||||
this.detailPenyakitId = detailPenyakitId;
|
||||
}
|
||||
|
||||
public Boolean getChecked() {
|
||||
return checked;
|
||||
}
|
||||
|
||||
public void setChecked(Boolean checked) {
|
||||
this.checked = checked;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,95 +1,50 @@
|
||||
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.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.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;
|
||||
|
||||
/**
|
||||
* class Agama
|
||||
* class Agama
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_DetailPenyakitObstetriLainnya_T")
|
||||
public class DetailPenyakitObstetriLainnya extends BaseTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "papObtsetriFk")
|
||||
@Caption(value="Obstetri")
|
||||
@Caption(value = "Obstetri")
|
||||
@JsonBackReference
|
||||
@NotNull(message="Obstetri Harus Diisi")
|
||||
@NotNull(message = "Obstetri Harus Diisi")
|
||||
private PapObstetri papObstetri;
|
||||
|
||||
@Column(name = "papObsetriFk", insertable=false,updatable=false,nullable=false)
|
||||
@Column(name = "papObsetriFk", insertable = false, updatable = false, nullable = false)
|
||||
private String papObstetriId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "DetailPenyakitLainnyaFk")
|
||||
@Caption(value="Detail Penyakit Lainnya")
|
||||
@Caption(value = "Detail Penyakit Lainnya")
|
||||
@JsonBackReference
|
||||
@NotNull(message="Ditail Penyakit Lainnya")
|
||||
@NotNull(message = "Ditail Penyakit Lainnya")
|
||||
private DetailPenyakitLainnya detailPenyakitLainnya;
|
||||
|
||||
@Column(name = "DetailPenyakitLainnyaFk", insertable=false,updatable=false,nullable=false)
|
||||
@Column(name = "DetailPenyakitLainnyaFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer detailPenyakitLainnyaId;
|
||||
|
||||
|
||||
@Column(name = "checked")
|
||||
private Boolean checked;
|
||||
|
||||
|
||||
@Column(name = "diskripsi", nullable = false, length = 100)
|
||||
@Caption(value = "diskripsi")
|
||||
private String diskripsi;
|
||||
|
||||
public PapObstetri getPapObstetri() {
|
||||
return papObstetri;
|
||||
}
|
||||
|
||||
public void setPapObstetri(PapObstetri papObstetri) {
|
||||
this.papObstetri = papObstetri;
|
||||
}
|
||||
|
||||
public String getPapObstetriId() {
|
||||
return papObstetriId;
|
||||
}
|
||||
|
||||
public void setPapObstetriId(String papObstetriId) {
|
||||
this.papObstetriId = papObstetriId;
|
||||
}
|
||||
|
||||
public DetailPenyakitLainnya getDetailPenyakitLainnya() {
|
||||
return detailPenyakitLainnya;
|
||||
}
|
||||
|
||||
public void setDetailPenyakitLainnya(DetailPenyakitLainnya detailPenyakitLainnya) {
|
||||
this.detailPenyakitLainnya = detailPenyakitLainnya;
|
||||
}
|
||||
|
||||
public Boolean getChecked() {
|
||||
return checked;
|
||||
}
|
||||
|
||||
public void setChecked(Boolean checked) {
|
||||
this.checked = checked;
|
||||
}
|
||||
|
||||
public Integer getDetailPenyakitLainnyaId() {
|
||||
return detailPenyakitLainnyaId;
|
||||
}
|
||||
|
||||
public void setDetailPenyakitLainnyaId(Integer detailPenyakitLainnyaId) {
|
||||
this.detailPenyakitLainnyaId = detailPenyakitLainnyaId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,120 +1,47 @@
|
||||
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.JsonBackReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
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;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailPerlakuan_T")
|
||||
public class DetailPerlakuan extends BaseTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "objectPerlakuanFk")
|
||||
@NotNull(message = "Perlakuan Tidak Boleh Kosong")
|
||||
private Perlakuan perlakuan;
|
||||
|
||||
@Column(name="objectPerlakuanFk", insertable = false, updatable = false, nullable = false)
|
||||
|
||||
@Column(name = "objectPerlakuanFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer perlakuanId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "objectNeracaLimbahFk")
|
||||
@JsonBackReference
|
||||
private NeracaLimbah neracaLimbah;
|
||||
|
||||
@Column(name="objectNeracaLimbahFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = true)
|
||||
|
||||
@Column(name = "objectNeracaLimbahFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String neracaLimbahId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "objectPerizinanLimbahFk")
|
||||
@JsonBackReference
|
||||
private PerizinanLimbah perizinanLimbah;
|
||||
|
||||
@Column(name="objectPerizinanLimbahFk", insertable = false, updatable = false, nullable = true)
|
||||
|
||||
@Column(name = "objectPerizinanLimbahFk", insertable = false, updatable = false)
|
||||
private Integer perizinanLimbahId;
|
||||
|
||||
|
||||
@Column(name="jenisLimbahYangDikelola")
|
||||
|
||||
@Column(name = "jenisLimbahYangDikelola")
|
||||
private String jenisLimbahYangDikelola;
|
||||
|
||||
@Column(name="jumlah")
|
||||
|
||||
@Column(name = "jumlah")
|
||||
private Double jumlah;
|
||||
|
||||
public Perlakuan getPerlakuan() {
|
||||
return perlakuan;
|
||||
}
|
||||
|
||||
public void setPerlakuan(Perlakuan perlakuan) {
|
||||
this.perlakuan = perlakuan;
|
||||
}
|
||||
|
||||
public Integer getPerlakuanId() {
|
||||
return perlakuanId;
|
||||
}
|
||||
|
||||
public void setPerlakuanId(Integer perlakuanId) {
|
||||
this.perlakuanId = perlakuanId;
|
||||
}
|
||||
|
||||
public NeracaLimbah getNeracaLimbah() {
|
||||
return neracaLimbah;
|
||||
}
|
||||
|
||||
public void setNeracaLimbah(NeracaLimbah neracaLimbah) {
|
||||
this.neracaLimbah = neracaLimbah;
|
||||
}
|
||||
|
||||
public String getNeracaLimbahId() {
|
||||
return neracaLimbahId;
|
||||
}
|
||||
|
||||
public void setNeracaLimbahId(String neracaLimbahId) {
|
||||
this.neracaLimbahId = neracaLimbahId;
|
||||
}
|
||||
|
||||
public PerizinanLimbah getPerizinanLimbah() {
|
||||
return perizinanLimbah;
|
||||
}
|
||||
|
||||
public void setPerizinanLimbah(PerizinanLimbah perizinanLimbah) {
|
||||
this.perizinanLimbah = perizinanLimbah;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getPerizinanLimbahId() {
|
||||
return perizinanLimbahId;
|
||||
}
|
||||
|
||||
public void setPerizinanLimbahId(Integer perizinanLimbahId) {
|
||||
this.perizinanLimbahId = perizinanLimbahId;
|
||||
}
|
||||
|
||||
public String getJenisLimbahYangDikelola() {
|
||||
return jenisLimbahYangDikelola;
|
||||
}
|
||||
|
||||
public void setJenisLimbahYangDikelola(String jenisLimbahYangDikelola) {
|
||||
this.jenisLimbahYangDikelola = jenisLimbahYangDikelola;
|
||||
}
|
||||
|
||||
public Double getJumlah() {
|
||||
return jumlah;
|
||||
}
|
||||
|
||||
public void setJumlah(Double jumlah) {
|
||||
this.jumlah = jumlah;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -1,77 +1,40 @@
|
||||
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.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 Agama
|
||||
* class Agama
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailPio_T")
|
||||
public class DetailPio extends BaseTransaction {
|
||||
|
||||
|
||||
@Column(name = "pertanyaan")
|
||||
private String pertanyaan;
|
||||
|
||||
|
||||
@Column(name = "pemberiInformasi")
|
||||
private String pemberiInformasi;
|
||||
|
||||
|
||||
@Column(name = "jawaban")
|
||||
private String jawaban;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "objectPioFk")
|
||||
@Caption(value="Pio")
|
||||
@Caption(value = "Pio")
|
||||
@JsonBackReference
|
||||
private Pio pio;
|
||||
|
||||
|
||||
@Column(name = "ObjectPioFk", insertable=false,updatable=false)
|
||||
@Column(name = "ObjectPioFk", insertable = false, updatable = false)
|
||||
private String pioId;
|
||||
|
||||
|
||||
public String getPertanyaan() {
|
||||
return pertanyaan;
|
||||
}
|
||||
|
||||
public void setPertanyaan(String pertanyaan) {
|
||||
this.pertanyaan = pertanyaan;
|
||||
}
|
||||
|
||||
public String getPemberiInformasi() {
|
||||
return pemberiInformasi;
|
||||
}
|
||||
|
||||
public void setPemberiInformasi(String pemberiInformasi) {
|
||||
this.pemberiInformasi = pemberiInformasi;
|
||||
}
|
||||
|
||||
public String getJawaban() {
|
||||
return jawaban;
|
||||
}
|
||||
|
||||
public void setJawaban(String jawaban) {
|
||||
this.jawaban = jawaban;
|
||||
}
|
||||
|
||||
public Pio getPio() {
|
||||
return pio;
|
||||
}
|
||||
|
||||
public void setPio(Pio pio) {
|
||||
this.pio = pio;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,115 +1,54 @@
|
||||
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.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.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;
|
||||
|
||||
/**
|
||||
* class Agama
|
||||
* class Agama
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailPsikologis_T")
|
||||
public class DetailPsikologis extends BaseTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "objectTransferPasienInternalFk")
|
||||
@Caption(value="Transfer Pasien Internal")
|
||||
@Caption(value = "Transfer Pasien Internal")
|
||||
@JsonBackReference
|
||||
private TransferPasienInternal transferPasienInternal;
|
||||
|
||||
@Column(name = "objectTransferPasienInternalFk", insertable=false,updatable=false)
|
||||
@Column(name = "objectTransferPasienInternalFk", insertable = false, updatable = false)
|
||||
private String transferPasienInternalId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "objectTransferPasienExsternalFk")
|
||||
@Caption(value="Transfer Pasien Exsternal")
|
||||
@Caption(value = "Transfer Pasien Exsternal")
|
||||
@JsonBackReference
|
||||
private TransferPasienExsternal transferPasienExsternal;
|
||||
|
||||
@Column(name = "objectTransferPasienExsternalFk", insertable=false,updatable=false)
|
||||
@Column(name = "objectTransferPasienExsternalFk", insertable = false, updatable = false)
|
||||
private String transferPasienExsternalId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "objectPsikologisFk")
|
||||
@Caption(value="Psikologis Pasien")
|
||||
@Caption(value = "Psikologis Pasien")
|
||||
@JsonBackReference
|
||||
@NotNull(message="Psikologis Harus Diisi")
|
||||
@NotNull(message = "Psikologis Harus Diisi")
|
||||
private Psikologis psikologis;
|
||||
|
||||
@Column(name = "objectPsikologisFk", insertable=false,updatable=false,nullable=false)
|
||||
@Column(name = "objectPsikologisFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer psikologisId;
|
||||
|
||||
|
||||
@Column(name = "checked")
|
||||
private Boolean checked;
|
||||
|
||||
public TransferPasienInternal getTransferPasienInternal() {
|
||||
return transferPasienInternal;
|
||||
}
|
||||
|
||||
public void setTransferPasienInternal(TransferPasienInternal transferPasienInternal) {
|
||||
this.transferPasienInternal = transferPasienInternal;
|
||||
}
|
||||
|
||||
public String getTransferPasienInternalId() {
|
||||
return transferPasienInternalId;
|
||||
}
|
||||
|
||||
public void setTransferPasienInternalId(String transferPasienInternalId) {
|
||||
this.transferPasienInternalId = transferPasienInternalId;
|
||||
}
|
||||
|
||||
public Psikologis getPsikologis() {
|
||||
return psikologis;
|
||||
}
|
||||
|
||||
public void setPsikologis(Psikologis psikologis) {
|
||||
this.psikologis = psikologis;
|
||||
}
|
||||
|
||||
public Integer getPsikologisId() {
|
||||
return psikologisId;
|
||||
}
|
||||
|
||||
public void setPsikologisId(Integer psikologisId) {
|
||||
this.psikologisId = psikologisId;
|
||||
}
|
||||
|
||||
public Boolean getChecked() {
|
||||
return checked;
|
||||
}
|
||||
|
||||
public void setChecked(Boolean checked) {
|
||||
this.checked = checked;
|
||||
}
|
||||
|
||||
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,51 +1,31 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import com.jasamedika.medifirst2000.entities.Agama;
|
||||
import com.jasamedika.medifirst2000.entities.OrderProduk;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
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 DetailRadiologi
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailRadiologi_T")
|
||||
public class DetailRadiologi extends MedicalRecordTransaction {
|
||||
|
||||
@Column(name = "Keluhan", nullable = true, length = 100)
|
||||
@Column(name = "Keluhan", length = 100)
|
||||
@Caption(value = "Keluhan")
|
||||
private String keluhan;
|
||||
|
||||
@Column(name = "tglHaidTerkait", nullable = true, length = 100)
|
||||
@Column(name = "tglHaidTerkait", length = 100)
|
||||
@Caption(value = "Tanggal Haid Terkait")
|
||||
private Date tglHaidTerkait;
|
||||
|
||||
|
||||
public String getKeluhan() {
|
||||
return keluhan;
|
||||
}
|
||||
|
||||
public void setKeluhan(String keluhan) {
|
||||
this.keluhan = keluhan;
|
||||
}
|
||||
|
||||
public Date getTglHaidTerkait() {
|
||||
return tglHaidTerkait;
|
||||
}
|
||||
|
||||
public void setTglHaidTerkait(Date tglHaidTerkait) {
|
||||
this.tglHaidTerkait = tglHaidTerkait;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "OrderProdukFk")
|
||||
@ -53,14 +33,6 @@ public class DetailRadiologi extends MedicalRecordTransaction {
|
||||
@Caption(value = "OrderProduk")
|
||||
private OrderProduk orderProduk;
|
||||
|
||||
public OrderProduk getOrderProduk() {
|
||||
return orderProduk;
|
||||
}
|
||||
|
||||
public void setOrderProduk(OrderProduk orderProduk) {
|
||||
this.orderProduk = orderProduk;
|
||||
}
|
||||
|
||||
@Column(name = "OrderProdukFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String orderProdukId;
|
||||
|
||||
|
||||
@ -1,55 +1,54 @@
|
||||
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.Pegawai;
|
||||
import com.jasamedika.medifirst2000.entities.JenisPetugasPelaksana;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
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 static javax.persistence.FetchType.LAZY;
|
||||
|
||||
/**
|
||||
* class DetailRencanaOperasi
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailRencanaOperasi_T")
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class DetailRencanaOperasi extends BaseTransaction {
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "RencanaOperasi")
|
||||
@Caption(value = "Rencana Operasi")
|
||||
private RencanaOperasi rencanaOperasi;
|
||||
|
||||
@Column(name = "RencanaOperasi", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = false)
|
||||
private String rencanaOperasiId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "PegawaiFk")
|
||||
@NotNull(message = "Pegawai Harus Diisi")
|
||||
@Caption(value = "Pegawai")
|
||||
private Pegawai pegawai;
|
||||
|
||||
|
||||
@Column(name = "PegawaiFk", insertable = false, updatable = false)
|
||||
private Integer pegawaiId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectRuanganFk")
|
||||
@Caption(value = "Ruangan")
|
||||
private Ruangan ruangan;
|
||||
|
||||
|
||||
@Column(name = "ObjectRuanganFk", insertable = false, updatable = false)
|
||||
private Integer ruanganId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "JenisPelaksanaFk")
|
||||
@NotNull(message = "Jenis Pelaksana Harus Diisi")
|
||||
@Caption(value = "Jenis Pelaksana")
|
||||
@ -58,68 +57,4 @@ public class DetailRencanaOperasi extends BaseTransaction {
|
||||
@Column(name = "JenisPelaksanaFk", insertable = false, updatable = false)
|
||||
private Integer jenisPelaksanaId;
|
||||
|
||||
public RencanaOperasi getRencanaOperasi() {
|
||||
return rencanaOperasi;
|
||||
}
|
||||
|
||||
public void setRencanaOperasi(RencanaOperasi rencanaOperasi) {
|
||||
this.rencanaOperasi = rencanaOperasi;
|
||||
}
|
||||
|
||||
public String getRencanaOperasiId() {
|
||||
return rencanaOperasiId;
|
||||
}
|
||||
|
||||
public void setRencanaOperasiId(String rencanaOperasiId) {
|
||||
this.rencanaOperasiId = rencanaOperasiId;
|
||||
}
|
||||
|
||||
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 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 JenisPetugasPelaksana getJenisPelaksana() {
|
||||
return jenisPelaksana;
|
||||
}
|
||||
|
||||
public void setJenisPelaksana(JenisPetugasPelaksana jenisPelaksana) {
|
||||
this.jenisPelaksana = jenisPelaksana;
|
||||
}
|
||||
|
||||
public Integer getJenisPelaksanaId() {
|
||||
return jenisPelaksanaId;
|
||||
}
|
||||
|
||||
public void setJenisPelaksanaId(Integer jenisPelaksanaId) {
|
||||
this.jenisPelaksanaId = jenisPelaksanaId;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,168 +1,69 @@
|
||||
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.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.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;
|
||||
|
||||
/**
|
||||
* class Agama
|
||||
* class Agama
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_DetailRiwayatObstetri_T")
|
||||
public class DetailRiwayatObstetri extends BaseTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "papObstetriFk")
|
||||
@Caption(value="Obstetri")
|
||||
@Caption(value = "Obstetri")
|
||||
@JsonBackReference
|
||||
@NotNull(message="Obstetri Harus Diisi")
|
||||
@NotNull(message = "Obstetri Harus Diisi")
|
||||
private PapObstetri papObstetri;
|
||||
|
||||
@Column(name = "papObstetriFk", insertable=false,updatable=false,nullable=false)
|
||||
@Column(name = "papObstetriFk", insertable = false, updatable = false, nullable = false)
|
||||
private String papObstetriId;
|
||||
|
||||
@Column(name = "Name", nullable = true, length = 100)
|
||||
|
||||
@Column(name = "Name", length = 100)
|
||||
@Caption(value = "Temat Bersalin / Penolong")
|
||||
private String tepatBersalinPenolong;
|
||||
|
||||
@Column(name = "taahun", nullable = true, length = 100)
|
||||
|
||||
@Column(name = "taahun", length = 100)
|
||||
@Caption(value = "tahun")
|
||||
private String tahun;
|
||||
|
||||
@Column(name = "kehamilan", nullable = true, length = 100)
|
||||
|
||||
@Column(name = "kehamilan", length = 100)
|
||||
@Caption(value = "kehailan")
|
||||
private String kehamilan;
|
||||
|
||||
@Column(name = "jenisPersalinan", nullable = true, length = 100)
|
||||
|
||||
@Column(name = "jenisPersalinan", length = 100)
|
||||
@Caption(value = "jenisPersalinan")
|
||||
private String jenisPersalinan;
|
||||
|
||||
@Column(name = "penyulit", nullable = true, length = 100)
|
||||
|
||||
@Column(name = "penyulit", length = 100)
|
||||
@Caption(value = "penyulit")
|
||||
private String penyulit;
|
||||
|
||||
@Column(name = "nifas", nullable = true, length = 100)
|
||||
|
||||
@Column(name = "nifas", length = 100)
|
||||
@Caption(value = "nifas")
|
||||
private String nifas;
|
||||
|
||||
@Column(name = "anakSex", nullable = true, length = 100)
|
||||
|
||||
@Column(name = "anakSex", length = 100)
|
||||
@Caption(value = "anak")
|
||||
private String anakSex;
|
||||
|
||||
@Column(name = "anakBeratBadan", nullable = true, length = 100)
|
||||
|
||||
@Column(name = "anakBeratBadan", length = 100)
|
||||
@Caption(value = "Berat Badan")
|
||||
private String anakBeratBadan;
|
||||
|
||||
@Column(name = "anakKeadaan", nullable = true, length = 100)
|
||||
|
||||
@Column(name = "anakKeadaan", length = 100)
|
||||
@Caption(value = "Keadaan")
|
||||
private String anakKeadaan;
|
||||
|
||||
public PapObstetri getPapObstetri() {
|
||||
return papObstetri;
|
||||
}
|
||||
|
||||
public void setPapObstetri(PapObstetri papObstetri) {
|
||||
this.papObstetri = papObstetri;
|
||||
}
|
||||
|
||||
public String getPapObstetriId() {
|
||||
return papObstetriId;
|
||||
}
|
||||
|
||||
public void setPapObstetriId(String papObstetriId) {
|
||||
this.papObstetriId = papObstetriId;
|
||||
}
|
||||
|
||||
public String getTepatBersalinPenolong() {
|
||||
return tepatBersalinPenolong;
|
||||
}
|
||||
|
||||
public void setTepatBersalinPenolong(String tepatBersalinPenolong) {
|
||||
this.tepatBersalinPenolong = tepatBersalinPenolong;
|
||||
}
|
||||
|
||||
public String getNoRec() {
|
||||
return noRec;
|
||||
}
|
||||
|
||||
public void setNoRec(String noRec) {
|
||||
this.noRec = noRec;
|
||||
}
|
||||
|
||||
public String getTahun() {
|
||||
return tahun;
|
||||
}
|
||||
|
||||
public void setTahun(String tahun) {
|
||||
this.tahun = tahun;
|
||||
}
|
||||
|
||||
public String getKehamilan() {
|
||||
return kehamilan;
|
||||
}
|
||||
|
||||
public void setKehamilan(String kehamilan) {
|
||||
this.kehamilan = kehamilan;
|
||||
}
|
||||
|
||||
public String getJenisPersalinan() {
|
||||
return jenisPersalinan;
|
||||
}
|
||||
|
||||
public void setJenisPersalinan(String jenisPersalinan) {
|
||||
this.jenisPersalinan = jenisPersalinan;
|
||||
}
|
||||
|
||||
public String getPenyulit() {
|
||||
return penyulit;
|
||||
}
|
||||
|
||||
public void setPenyulit(String penyulit) {
|
||||
this.penyulit = penyulit;
|
||||
}
|
||||
|
||||
public String getNifas() {
|
||||
return nifas;
|
||||
}
|
||||
|
||||
public void setNifas(String nifas) {
|
||||
this.nifas = nifas;
|
||||
}
|
||||
|
||||
public String getAnakSex() {
|
||||
return anakSex;
|
||||
}
|
||||
|
||||
public void setAnakSex(String anakSex) {
|
||||
this.anakSex = anakSex;
|
||||
}
|
||||
|
||||
public String getAnakBeratBadan() {
|
||||
return anakBeratBadan;
|
||||
}
|
||||
|
||||
public void setAnakBeratBadan(String anakBeratBadan) {
|
||||
this.anakBeratBadan = anakBeratBadan;
|
||||
}
|
||||
|
||||
public String getAnakKeadaan() {
|
||||
return anakKeadaan;
|
||||
}
|
||||
|
||||
public void setAnakKeadaan(String anakKeadaan) {
|
||||
this.anakKeadaan = anakKeadaan;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,43 +1,40 @@
|
||||
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.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 = "DetailRup_T")
|
||||
public class DetailRup extends BaseTransaction {
|
||||
|
||||
@Column(name = "PelaksanaanPemilihanAwal", nullable = true )
|
||||
@Column(name = "PelaksanaanPemilihanAwal")
|
||||
@Caption(value="Pelaksanaan Pemilihan Awal")
|
||||
private Date pelaksanaanPemilihanAwal;
|
||||
|
||||
@Column(name = "PelaksanaanPemilihanAhir", nullable = true )
|
||||
@Column(name = "PelaksanaanPemilihanAhir")
|
||||
@Caption(value="Pelaksanaan Pemilihan Ahir")
|
||||
private Date pelaksanaanPemilihanAhir;
|
||||
|
||||
|
||||
@Column(name = "PelaksanaanPekerjaanAwal", nullable = true )
|
||||
@Caption(value="Pelaksanaan Pekerjaan Awal")
|
||||
@Column(name = "PelaksanaanPekerjaanAwal")
|
||||
@Caption(value = "Pelaksanaan Pekerjaan Awal")
|
||||
private Date pelaksanaanPekerjaanAwal;
|
||||
|
||||
@Column(name = "PelaksanaanPekerjaanAhir", nullable = true )
|
||||
@Column(name = "PelaksanaanPekerjaanAhir")
|
||||
@Caption(value="Pelaksanaan Pekerjaan Ahir")
|
||||
private Date pelaksanaanPekerjaanAhir;
|
||||
|
||||
|
||||
@Column(name = "keterangan")
|
||||
@Caption(value="Keterangan")
|
||||
@ -60,110 +57,7 @@ public class DetailRup extends BaseTransaction {
|
||||
private String headRupId;
|
||||
|
||||
@JsonManagedReference
|
||||
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "detailRup")
|
||||
private Set<DetailPengadaan> detailPengadaan=new HashSet<DetailPengadaan>();
|
||||
|
||||
|
||||
public Date getPelaksanaanPemilihanAwal() {
|
||||
return pelaksanaanPemilihanAwal;
|
||||
}
|
||||
|
||||
|
||||
public void setPelaksanaanPemilihanAwal(Date pelaksanaanPemilihanAwal) {
|
||||
this.pelaksanaanPemilihanAwal = pelaksanaanPemilihanAwal;
|
||||
}
|
||||
|
||||
|
||||
public Date getPelaksanaanPemilihanAhir() {
|
||||
return pelaksanaanPemilihanAhir;
|
||||
}
|
||||
|
||||
|
||||
public void setPelaksanaanPemilihanAhir(Date pelaksanaanPemilihanAhir) {
|
||||
this.pelaksanaanPemilihanAhir = pelaksanaanPemilihanAhir;
|
||||
}
|
||||
|
||||
|
||||
public Date getPelaksanaanPekerjaanAwal() {
|
||||
return pelaksanaanPekerjaanAwal;
|
||||
}
|
||||
|
||||
|
||||
public void setPelaksanaanPekerjaanAwal(Date pelaksanaanPekerjaanAwal) {
|
||||
this.pelaksanaanPekerjaanAwal = pelaksanaanPekerjaanAwal;
|
||||
}
|
||||
|
||||
|
||||
public Date getPelaksanaanPekerjaanAhir() {
|
||||
return pelaksanaanPekerjaanAhir;
|
||||
}
|
||||
|
||||
|
||||
public void setPelaksanaanPekerjaanAhir(Date pelaksanaanPekerjaanAhir) {
|
||||
this.pelaksanaanPekerjaanAhir = pelaksanaanPekerjaanAhir;
|
||||
}
|
||||
|
||||
|
||||
public String getKeterangan() {
|
||||
return keterangan;
|
||||
}
|
||||
|
||||
|
||||
public void setKeterangan(String keterangan) {
|
||||
this.keterangan = keterangan;
|
||||
}
|
||||
|
||||
|
||||
public DetailSpekAnggaran getDetailSpekAnggaran() {
|
||||
return detailSpekAnggaran;
|
||||
}
|
||||
|
||||
|
||||
public void setDetailSpekAnggaran(DetailSpekAnggaran detailSpekAnggaran) {
|
||||
this.detailSpekAnggaran = detailSpekAnggaran;
|
||||
}
|
||||
|
||||
|
||||
public String getDetailSpekAnggaranId() {
|
||||
return detailSpekAnggaranId;
|
||||
}
|
||||
|
||||
|
||||
public void setDetailSpekAnggaranId(String detailSpekAnggaranId) {
|
||||
this.detailSpekAnggaranId = detailSpekAnggaranId;
|
||||
}
|
||||
|
||||
|
||||
public Set<DetailPengadaan> getDetailPengadaan() {
|
||||
return detailPengadaan;
|
||||
}
|
||||
|
||||
|
||||
public void setDetailPengadaan(Set<DetailPengadaan> detailPengadaan) {
|
||||
this.detailPengadaan = detailPengadaan;
|
||||
}
|
||||
|
||||
|
||||
public HeadRup getHeadRup() {
|
||||
return headRup;
|
||||
}
|
||||
|
||||
|
||||
public void setHeadRup(HeadRup headRup) {
|
||||
this.headRup = headRup;
|
||||
}
|
||||
|
||||
|
||||
public String getHeadRupId() {
|
||||
return headRupId;
|
||||
}
|
||||
|
||||
|
||||
public void setHeadRupId(String headRupId) {
|
||||
this.headRupId = headRupId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@OneToMany(cascade=ALL,fetch = LAZY, mappedBy = "detailRup")
|
||||
private Set<DetailPengadaan> detailPengadaan= new HashSet<>();
|
||||
|
||||
}
|
||||
|
||||
@ -1,18 +1,17 @@
|
||||
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.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 = "DetailSWOT_M")
|
||||
public class DetailSWOT extends BaseMaster {
|
||||
@ -52,82 +51,10 @@ public class DetailSWOT extends BaseMaster {
|
||||
@Caption(value = "Akhir Periode")
|
||||
private Integer akhirPeriode;
|
||||
|
||||
public SWOT getSwot() {
|
||||
return swot;
|
||||
}
|
||||
|
||||
public void setSwot(SWOT swot) {
|
||||
this.swot = swot;
|
||||
}
|
||||
|
||||
public Integer getSwotFk() {
|
||||
return swotFk;
|
||||
}
|
||||
|
||||
public void setSwotFk(Integer swotFk) {
|
||||
this.swotFk = swotFk;
|
||||
}
|
||||
|
||||
public String getDetailFaktor() {
|
||||
return detailFaktor;
|
||||
}
|
||||
|
||||
public void setDetailFaktor(String detailFaktor) {
|
||||
this.detailFaktor = detailFaktor;
|
||||
}
|
||||
|
||||
public Double getBobot() {
|
||||
return bobot;
|
||||
}
|
||||
|
||||
public void setBobot(Double bobot) {
|
||||
this.bobot = bobot;
|
||||
}
|
||||
|
||||
public Integer getRating() {
|
||||
return rating;
|
||||
}
|
||||
|
||||
public void setRating(Integer rating) {
|
||||
this.rating = rating;
|
||||
}
|
||||
|
||||
public Double getSkor() {
|
||||
return skor;
|
||||
}
|
||||
|
||||
public void setSkor(Double skor) {
|
||||
this.skor = skor;
|
||||
}
|
||||
|
||||
public Integer getAwalPeriode() {
|
||||
return awalPeriode;
|
||||
}
|
||||
|
||||
public void setAwalPeriode(Integer awalPeriode) {
|
||||
this.awalPeriode = awalPeriode;
|
||||
}
|
||||
|
||||
public Integer getAkhirPeriode() {
|
||||
return akhirPeriode;
|
||||
}
|
||||
|
||||
public void setAkhirPeriode(Integer akhirPeriode) {
|
||||
this.akhirPeriode = akhirPeriode;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.detailswot_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.detailswot_m_id_seq", sequenceName = "public.detailswot_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.detailswot_m_id_seq")
|
||||
@SequenceGenerator(name = "public.detailswot_m_id_seq", sequenceName = "public.detailswot_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,616 +1,218 @@
|
||||
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;
|
||||
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailSep")
|
||||
public class DetailSep extends BaseTransaction {
|
||||
|
||||
|
||||
@Column(name = "byTagihan")
|
||||
@Caption(value = "byTagihan")
|
||||
private String byTagihan;
|
||||
|
||||
|
||||
@Column(name = "catatan")
|
||||
@Caption(value = "catatan")
|
||||
private String catatan;
|
||||
|
||||
|
||||
@Column(name = "kdDiag")
|
||||
@Caption(value = "kdDiag")
|
||||
private String kdDiag;
|
||||
|
||||
|
||||
@Column(name = "nmDiag")
|
||||
@Caption(value = "nmDiag")
|
||||
private String nmDiag;
|
||||
|
||||
|
||||
@Column(name = "jnsPelayanan")
|
||||
@Caption(value = "jnsPelayanan")
|
||||
private String jnsPelayanan;
|
||||
|
||||
|
||||
@Column(name = "kdKelasRawat")
|
||||
@Caption(value = "kdKelasRawat")
|
||||
private String kdKelasRawat;
|
||||
|
||||
|
||||
@Column(name = "nmKelasRawat")
|
||||
@Caption(value = "nmKelasRawat")
|
||||
private String nmKelasRawat;
|
||||
|
||||
|
||||
@Column(name = "keterangan")
|
||||
@Caption(value = "keterangan")
|
||||
private String keterangan;
|
||||
|
||||
|
||||
@Column(name = "status")
|
||||
@Caption(value = "status")
|
||||
private String status;
|
||||
|
||||
|
||||
@Column(name = "noRujukan")
|
||||
@Caption(value = "noRujukan")
|
||||
private String noRujukan;
|
||||
|
||||
|
||||
@Column(name = "noSep")
|
||||
@Caption(value = "noSep")
|
||||
private String noSep;
|
||||
|
||||
|
||||
@Column(name = "informasi")
|
||||
@Caption(value = "informasi")
|
||||
private String informasi;
|
||||
|
||||
|
||||
@Column(name = "kdJenisPeserta")
|
||||
@Caption(value = "kdJenisPeserta")
|
||||
private String kdJenisPeserta;
|
||||
|
||||
|
||||
@Column(name = "nmJenisPeserta")
|
||||
@Caption(value = "nmJenisPeserta")
|
||||
private String nmJenisPeserta;
|
||||
|
||||
|
||||
@Column(name = "kdKelasTanggungan")
|
||||
@Caption(value = "kdKelasTanggungan")
|
||||
private String kdKelasTanggungan;
|
||||
|
||||
|
||||
@Column(name = "nmKelasTanggungan")
|
||||
@Caption(value = "nmKelasTanggungan")
|
||||
private String nmKelasTanggungan;
|
||||
|
||||
|
||||
@Column(name = "nama")
|
||||
@Caption(value = "nama")
|
||||
private String nama;
|
||||
|
||||
|
||||
@Column(name = "nik")
|
||||
@Caption(value = "nik")
|
||||
private String nik;
|
||||
|
||||
|
||||
@Column(name = "noKartu")
|
||||
@Caption(value = "noKartu")
|
||||
private String noKartu;
|
||||
|
||||
|
||||
@Column(name = "noMr")
|
||||
@Caption(value = "noMr")
|
||||
private String noMr;
|
||||
|
||||
|
||||
@Column(name = "pisa")
|
||||
@Caption(value = "pisa")
|
||||
private String pisa;
|
||||
|
||||
|
||||
@Column(name = "kdCabangUmum")
|
||||
@Caption(value = "kdCabangUmum")
|
||||
private String kdCabangUmum;
|
||||
|
||||
|
||||
@Column(name = "kdProviderUmum")
|
||||
@Caption(value = "kdProviderUmum")
|
||||
private String kdProviderUmum;
|
||||
|
||||
|
||||
@Column(name = "nmCabangUmum")
|
||||
@Caption(value = "nmCabangUmum")
|
||||
private String nmCabangUmum;
|
||||
|
||||
|
||||
@Column(name = "nmProviderUmum")
|
||||
@Caption(value = "nmProviderUmum")
|
||||
private String nmProviderUmum;
|
||||
|
||||
|
||||
@Column(name = "sex")
|
||||
@Caption(value = "sex")
|
||||
private String sex;
|
||||
|
||||
|
||||
@Column(name = "statusPeserta")
|
||||
@Caption(value = "statusPeserta")
|
||||
private String statusPeserta;
|
||||
|
||||
|
||||
@Column(name = "tglCetakKartu")
|
||||
@Caption(value = "tglCetakKartu")
|
||||
private String tglCetakKartu;
|
||||
|
||||
|
||||
@Column(name = "tglLahir")
|
||||
@Caption(value = "tglLahir")
|
||||
private String tglLahir;
|
||||
|
||||
|
||||
@Column(name = "tglTAT")
|
||||
@Caption(value = "tglTAT")
|
||||
private String tglTAT;
|
||||
|
||||
|
||||
@Column(name = "tglTMT")
|
||||
@Caption(value = "tglTMT")
|
||||
private String tglTMT;
|
||||
|
||||
|
||||
@Column(name = "umur")
|
||||
@Caption(value = "umur")
|
||||
private String umur;
|
||||
|
||||
|
||||
@Column(name = "kdPoli")
|
||||
@Caption(value = "kdPoli")
|
||||
private String kdPoli;
|
||||
|
||||
|
||||
@Column(name = "nmPoli")
|
||||
@Caption(value = "nmPoli")
|
||||
private String nmPoli;
|
||||
|
||||
|
||||
@Column(name = "kdCabangPelayanan")
|
||||
@Caption(value = "kdCabangPelayanan")
|
||||
private String kdCabangPelayanan;
|
||||
|
||||
|
||||
@Column(name = "kdProviderPelayanan")
|
||||
@Caption(value = "kdProviderPelayanan")
|
||||
private String kdProviderPelayanan;
|
||||
|
||||
|
||||
@Column(name = "nmCabangPelayanan")
|
||||
@Caption(value = "nmCabangPelayanan")
|
||||
private String nmCabangPelayanan;
|
||||
|
||||
|
||||
@Column(name = "nmProviderPelayanan")
|
||||
@Caption(value = "nmProviderPelayanan")
|
||||
private String nmProviderPelayanan;
|
||||
|
||||
|
||||
@Column(name = "kdCabangRujukan")
|
||||
@Caption(value = "kdCabangRujukan")
|
||||
private String kdCabangRujukan;
|
||||
|
||||
|
||||
@Column(name = "kdProviderRujukan")
|
||||
@Caption(value = "kdProviderRujukan")
|
||||
private String kdProviderRujukan;
|
||||
|
||||
|
||||
@Column(name = "nmCabangRujukan")
|
||||
@Caption(value = "nmCabangRujukan")
|
||||
private String nmCabangRujukan;
|
||||
|
||||
|
||||
@Column(name = "nmProviderRujukan")
|
||||
@Caption(value = "nmProviderRujukan")
|
||||
private String nmProviderRujukan;
|
||||
|
||||
|
||||
@Column(name = "kdStatSep")
|
||||
@Caption(value = "kdStatSep")
|
||||
private String kdStatSep;
|
||||
|
||||
|
||||
@Column(name = "ketStatSep")
|
||||
@Caption(value = "ketStatSep")
|
||||
private String ketStatSep;
|
||||
|
||||
|
||||
@Column(name = "nmStatSep")
|
||||
@Caption(value = "nmStatSep")
|
||||
private String nmStatSep;
|
||||
|
||||
|
||||
@Column(name = "kodeCOB")
|
||||
@Caption(value = "kodeCOB")
|
||||
private String kodeCOB;
|
||||
|
||||
|
||||
@Column(name = "namaCOB")
|
||||
@Caption(value = "namaCOB")
|
||||
private String namaCOB;
|
||||
|
||||
|
||||
@Column(name = "tglPulang")
|
||||
@Caption(value = "tglPulang")
|
||||
private String tglPulang;
|
||||
|
||||
|
||||
@Column(name = "tglRujukan")
|
||||
@Caption(value = "tglRujukan")
|
||||
private String tglRujukan;
|
||||
|
||||
|
||||
@Column(name = "tglSep")
|
||||
@Caption(value = "tglSep")
|
||||
private String tglSep;
|
||||
|
||||
public String getByTagihan() {
|
||||
return byTagihan;
|
||||
}
|
||||
|
||||
public void setByTagihan(String byTagihan) {
|
||||
this.byTagihan = byTagihan;
|
||||
}
|
||||
|
||||
public String getCatatan() {
|
||||
return catatan;
|
||||
}
|
||||
|
||||
public void setCatatan(String catatan) {
|
||||
this.catatan = catatan;
|
||||
}
|
||||
|
||||
public String getKdDiag() {
|
||||
return kdDiag;
|
||||
}
|
||||
|
||||
public void setKdDiag(String kdDiag) {
|
||||
this.kdDiag = kdDiag;
|
||||
}
|
||||
|
||||
public String getNmDiag() {
|
||||
return nmDiag;
|
||||
}
|
||||
|
||||
public void setNmDiag(String nmDiag) {
|
||||
this.nmDiag = nmDiag;
|
||||
}
|
||||
|
||||
public String getJnsPelayanan() {
|
||||
return jnsPelayanan;
|
||||
}
|
||||
|
||||
public void setJnsPelayanan(String jnsPelayanan) {
|
||||
this.jnsPelayanan = jnsPelayanan;
|
||||
}
|
||||
|
||||
public String getKdKelasRawat() {
|
||||
return kdKelasRawat;
|
||||
}
|
||||
|
||||
public void setKdKelasRawat(String kdKelasRawat) {
|
||||
this.kdKelasRawat = kdKelasRawat;
|
||||
}
|
||||
|
||||
public String getNmKelasRawat() {
|
||||
return nmKelasRawat;
|
||||
}
|
||||
|
||||
public void setNmKelasRawat(String nmKelasRawat) {
|
||||
this.nmKelasRawat = nmKelasRawat;
|
||||
}
|
||||
|
||||
public String getKeterangan() {
|
||||
return keterangan;
|
||||
}
|
||||
|
||||
public void setKeterangan(String keterangan) {
|
||||
this.keterangan = keterangan;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getNoRujukan() {
|
||||
return noRujukan;
|
||||
}
|
||||
|
||||
public void setNoRujukan(String noRujukan) {
|
||||
this.noRujukan = noRujukan;
|
||||
}
|
||||
|
||||
public String getNoSep() {
|
||||
return noSep;
|
||||
}
|
||||
|
||||
public void setNoSep(String noSep) {
|
||||
this.noSep = noSep;
|
||||
}
|
||||
|
||||
public String getInformasi() {
|
||||
return informasi;
|
||||
}
|
||||
|
||||
public void setInformasi(String informasi) {
|
||||
this.informasi = informasi;
|
||||
}
|
||||
|
||||
public String getKdJenisPeserta() {
|
||||
return kdJenisPeserta;
|
||||
}
|
||||
|
||||
public void setKdJenisPeserta(String kdJenisPeserta) {
|
||||
this.kdJenisPeserta = kdJenisPeserta;
|
||||
}
|
||||
|
||||
public String getNmJenisPeserta() {
|
||||
return nmJenisPeserta;
|
||||
}
|
||||
|
||||
public void setNmJenisPeserta(String nmJenisPeserta) {
|
||||
this.nmJenisPeserta = nmJenisPeserta;
|
||||
}
|
||||
|
||||
public String getKdKelasTanggungan() {
|
||||
return kdKelasTanggungan;
|
||||
}
|
||||
|
||||
public void setKdKelasTanggungan(String kdKelasTanggungan) {
|
||||
this.kdKelasTanggungan = kdKelasTanggungan;
|
||||
}
|
||||
|
||||
public String getNmKelasTanggungan() {
|
||||
return nmKelasTanggungan;
|
||||
}
|
||||
|
||||
public void setNmKelasTanggungan(String nmKelasTanggungan) {
|
||||
this.nmKelasTanggungan = nmKelasTanggungan;
|
||||
}
|
||||
|
||||
public String getNama() {
|
||||
return nama;
|
||||
}
|
||||
|
||||
public void setNama(String nama) {
|
||||
this.nama = nama;
|
||||
}
|
||||
|
||||
public String getNik() {
|
||||
return nik;
|
||||
}
|
||||
|
||||
public void setNik(String nik) {
|
||||
this.nik = nik;
|
||||
}
|
||||
|
||||
public String getNoKartu() {
|
||||
return noKartu;
|
||||
}
|
||||
|
||||
public void setNoKartu(String noKartu) {
|
||||
this.noKartu = noKartu;
|
||||
}
|
||||
|
||||
public String getNoMr() {
|
||||
return noMr;
|
||||
}
|
||||
|
||||
public void setNoMr(String noMr) {
|
||||
this.noMr = noMr;
|
||||
}
|
||||
|
||||
public String getPisa() {
|
||||
return pisa;
|
||||
}
|
||||
|
||||
public void setPisa(String pisa) {
|
||||
this.pisa = pisa;
|
||||
}
|
||||
|
||||
public String getKdCabangUmum() {
|
||||
return kdCabangUmum;
|
||||
}
|
||||
|
||||
public void setKdCabangUmum(String kdCabangUmum) {
|
||||
this.kdCabangUmum = kdCabangUmum;
|
||||
}
|
||||
|
||||
public String getKdProviderUmum() {
|
||||
return kdProviderUmum;
|
||||
}
|
||||
|
||||
public void setKdProviderUmum(String kdProviderUmum) {
|
||||
this.kdProviderUmum = kdProviderUmum;
|
||||
}
|
||||
|
||||
public String getNmCabangUmum() {
|
||||
return nmCabangUmum;
|
||||
}
|
||||
|
||||
public void setNmCabangUmum(String nmCabangUmum) {
|
||||
this.nmCabangUmum = nmCabangUmum;
|
||||
}
|
||||
|
||||
public String getNmProviderUmum() {
|
||||
return nmProviderUmum;
|
||||
}
|
||||
|
||||
public void setNmProviderUmum(String nmProviderUmum) {
|
||||
this.nmProviderUmum = nmProviderUmum;
|
||||
}
|
||||
|
||||
public String getSex() {
|
||||
return sex;
|
||||
}
|
||||
|
||||
public void setSex(String sex) {
|
||||
this.sex = sex;
|
||||
}
|
||||
|
||||
public String getStatusPeserta() {
|
||||
return statusPeserta;
|
||||
}
|
||||
|
||||
public void setStatusPeserta(String statusPeserta) {
|
||||
this.statusPeserta = statusPeserta;
|
||||
}
|
||||
|
||||
public String getTglCetakKartu() {
|
||||
return tglCetakKartu;
|
||||
}
|
||||
|
||||
public void setTglCetakKartu(String tglCetakKartu) {
|
||||
this.tglCetakKartu = tglCetakKartu;
|
||||
}
|
||||
|
||||
public String getTglLahir() {
|
||||
return tglLahir;
|
||||
}
|
||||
|
||||
public void setTglLahir(String tglLahir) {
|
||||
this.tglLahir = tglLahir;
|
||||
}
|
||||
|
||||
public String getTglTAT() {
|
||||
return tglTAT;
|
||||
}
|
||||
|
||||
public void setTglTAT(String tglTAT) {
|
||||
this.tglTAT = tglTAT;
|
||||
}
|
||||
|
||||
public String getTglTMT() {
|
||||
return tglTMT;
|
||||
}
|
||||
|
||||
public void setTglTMT(String tglTMT) {
|
||||
this.tglTMT = tglTMT;
|
||||
}
|
||||
|
||||
public String getUmur() {
|
||||
return umur;
|
||||
}
|
||||
|
||||
public void setUmur(String umur) {
|
||||
this.umur = umur;
|
||||
}
|
||||
|
||||
public String getKdPoli() {
|
||||
return kdPoli;
|
||||
}
|
||||
|
||||
public void setKdPoli(String kdPoli) {
|
||||
this.kdPoli = kdPoli;
|
||||
}
|
||||
|
||||
public String getNmPoli() {
|
||||
return nmPoli;
|
||||
}
|
||||
|
||||
public void setNmPoli(String nmPoli) {
|
||||
this.nmPoli = nmPoli;
|
||||
}
|
||||
|
||||
public String getKdCabangPelayanan() {
|
||||
return kdCabangPelayanan;
|
||||
}
|
||||
|
||||
public void setKdCabangPelayanan(String kdCabangPelayanan) {
|
||||
this.kdCabangPelayanan = kdCabangPelayanan;
|
||||
}
|
||||
|
||||
public String getKdProviderPelayanan() {
|
||||
return kdProviderPelayanan;
|
||||
}
|
||||
|
||||
public void setKdProviderPelayanan(String kdProviderPelayanan) {
|
||||
this.kdProviderPelayanan = kdProviderPelayanan;
|
||||
}
|
||||
|
||||
public String getNmCabangPelayanan() {
|
||||
return nmCabangPelayanan;
|
||||
}
|
||||
|
||||
public void setNmCabangPelayanan(String nmCabangPelayanan) {
|
||||
this.nmCabangPelayanan = nmCabangPelayanan;
|
||||
}
|
||||
|
||||
public String getNmProviderPelayanan() {
|
||||
return nmProviderPelayanan;
|
||||
}
|
||||
|
||||
public void setNmProviderPelayanan(String nmProviderPelayanan) {
|
||||
this.nmProviderPelayanan = nmProviderPelayanan;
|
||||
}
|
||||
|
||||
public String getKdCabangRujukan() {
|
||||
return kdCabangRujukan;
|
||||
}
|
||||
|
||||
public void setKdCabangRujukan(String kdCabangRujukan) {
|
||||
this.kdCabangRujukan = kdCabangRujukan;
|
||||
}
|
||||
|
||||
public String getKdProviderRujukan() {
|
||||
return kdProviderRujukan;
|
||||
}
|
||||
|
||||
public void setKdProviderRujukan(String kdProviderRujukan) {
|
||||
this.kdProviderRujukan = kdProviderRujukan;
|
||||
}
|
||||
|
||||
public String getNmCabangRujukan() {
|
||||
return nmCabangRujukan;
|
||||
}
|
||||
|
||||
public void setNmCabangRujukan(String nmCabangRujukan) {
|
||||
this.nmCabangRujukan = nmCabangRujukan;
|
||||
}
|
||||
|
||||
public String getNmProviderRujukan() {
|
||||
return nmProviderRujukan;
|
||||
}
|
||||
|
||||
public void setNmProviderRujukan(String nmProviderRujukan) {
|
||||
this.nmProviderRujukan = nmProviderRujukan;
|
||||
}
|
||||
|
||||
public String getKdStatSep() {
|
||||
return kdStatSep;
|
||||
}
|
||||
|
||||
public void setKdStatSep(String kdStatSep) {
|
||||
this.kdStatSep = kdStatSep;
|
||||
}
|
||||
|
||||
public String getKetStatSep() {
|
||||
return ketStatSep;
|
||||
}
|
||||
|
||||
public void setKetStatSep(String ketStatSep) {
|
||||
this.ketStatSep = ketStatSep;
|
||||
}
|
||||
|
||||
public String getNmStatSep() {
|
||||
return nmStatSep;
|
||||
}
|
||||
|
||||
public void setNmStatSep(String nmStatSep) {
|
||||
this.nmStatSep = nmStatSep;
|
||||
}
|
||||
|
||||
public String getKodeCOB() {
|
||||
return kodeCOB;
|
||||
}
|
||||
|
||||
public void setKodeCOB(String kodeCOB) {
|
||||
this.kodeCOB = kodeCOB;
|
||||
}
|
||||
|
||||
public String getNamaCOB() {
|
||||
return namaCOB;
|
||||
}
|
||||
|
||||
public void setNamaCOB(String namaCOB) {
|
||||
this.namaCOB = namaCOB;
|
||||
}
|
||||
|
||||
public String getTglPulang() {
|
||||
return tglPulang;
|
||||
}
|
||||
|
||||
public void setTglPulang(String tglPulang) {
|
||||
this.tglPulang = tglPulang;
|
||||
}
|
||||
|
||||
public String getTglRujukan() {
|
||||
return tglRujukan;
|
||||
}
|
||||
|
||||
public void setTglRujukan(String tglRujukan) {
|
||||
this.tglRujukan = tglRujukan;
|
||||
}
|
||||
|
||||
public String getTglSep() {
|
||||
return tglSep;
|
||||
}
|
||||
|
||||
public void setTglSep(String tglSep) {
|
||||
this.tglSep = tglSep;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -1,65 +1,40 @@
|
||||
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 lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
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 static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class DetailSignIn
|
||||
* class DetailSignIn
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_DetailSignIn_M")
|
||||
public class DetailSignIn extends BaseMaster {
|
||||
@NotNull(message="Name tidak boleh kosong")
|
||||
|
||||
@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;
|
||||
}
|
||||
|
||||
|
||||
@NotNull(message="Keterangan tidak boleh kosong")
|
||||
@NotNull(message = "Keterangan tidak boleh kosong")
|
||||
@Column(name = "Keterangan", nullable = false, length = 100)
|
||||
@Caption(value = "Keterangan")
|
||||
private String keterangan;
|
||||
public void setKeterangan(String keterangan)
|
||||
{
|
||||
this.keterangan = keterangan;
|
||||
}
|
||||
public String getKeterangan()
|
||||
{
|
||||
return this.keterangan;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.detailsignin_m_id_seq")
|
||||
@SequenceGenerator(name = "public.detailsignin_m_id_seq", sequenceName = "public.detailsignin_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(
|
||||
strategy=GenerationType.SEQUENCE,
|
||||
generator="public.detailsignin_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(
|
||||
name="public.detailsignin_m_id_seq", sequenceName="public.detailsignin_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,45 @@
|
||||
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 javax.persistence.Transient;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
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="DetailSpekAnggaran_T")
|
||||
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
|
||||
public class DetailSpekAnggaran extends BaseTransaction{
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@Table(name = "DetailSpekAnggaran_T")
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class DetailSpekAnggaran extends BaseTransaction {
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectDetailAnggaranFk")
|
||||
@Caption(value="detail Anggaran")
|
||||
@Caption(value = "detail Anggaran")
|
||||
private DetailAnggaran detailAnggaran;
|
||||
|
||||
@Column(name="ObjectDetailAnggaranFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = false)
|
||||
|
||||
@Column(name = "ObjectDetailAnggaranFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = false)
|
||||
private String detailAnggaranId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectProdukFk")
|
||||
@Caption(value="Produk")
|
||||
@Caption(value = "Produk")
|
||||
private Produk produk;
|
||||
|
||||
@Column(name="ObjectProdukFk", insertable = false, updatable = false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectProdukFk", insertable = false, updatable = false)
|
||||
private Integer produkId;
|
||||
|
||||
@Column(name = "VolumeBarang", nullable = true)
|
||||
|
||||
@Column(name = "VolumeBarang")
|
||||
@Caption(value = "Volume Barang")
|
||||
private float volumeBarang;
|
||||
|
||||
@ -50,347 +48,97 @@ public class DetailSpekAnggaran extends BaseTransaction{
|
||||
private Double hargaSatuanBarang;
|
||||
|
||||
@Caption(value = "Total Harga Barang")
|
||||
@Column(name = "TotalHargaBarang", nullable = true)
|
||||
@Column(name = "TotalHargaBarang")
|
||||
private Double totalHargaBarang;
|
||||
|
||||
@Column(name = "StatusCode", nullable = true)
|
||||
|
||||
@Column(name = "StatusCode")
|
||||
@Caption(value = "Status Code")
|
||||
private Integer statusCode;
|
||||
|
||||
|
||||
@Column(name = "isVerifikasi")
|
||||
public String isVerifikasi;
|
||||
|
||||
|
||||
@Column(name = "isActive")
|
||||
public Boolean isActive;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectRuanganFk")
|
||||
@Caption(value = "Ruangan")
|
||||
private Ruangan ruangan;
|
||||
|
||||
@Column(name = "ObjectRuanganFk", nullable = true, insertable = false, updatable = false)
|
||||
|
||||
@Column(name = "ObjectRuanganFk", insertable = false, updatable = false)
|
||||
private Integer ruanganId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectJenisBelanjaFk")
|
||||
@Caption(value = "Jenis Belanja")
|
||||
private JenisBelanja jenisBelanja;
|
||||
|
||||
@Column(name = "ObjectJenisBelanjaFk", nullable = true, insertable = false, updatable = false)
|
||||
|
||||
@Column(name = "ObjectJenisBelanjaFk", insertable = false, updatable = false)
|
||||
private Integer jenisBelanjaId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectJenisPengadaanFk")
|
||||
@Caption(value = "Jenis Pengadaan")
|
||||
private JenisPengadaan jenisPengadaan;
|
||||
|
||||
@Column(name = "ObjectJenisBelanjaFk", nullable = true, insertable = false, updatable = false)
|
||||
|
||||
@Column(name = "ObjectJenisBelanjaFk", insertable = false, updatable = false)
|
||||
private Integer jenisPengadaanId;
|
||||
|
||||
@Column(name = "PeriodeAwal", nullable = true)
|
||||
|
||||
@Column(name = "PeriodeAwal")
|
||||
@Caption(value = "Periode Awal")
|
||||
private Date periodeAwal;
|
||||
|
||||
@Column(name = "PeriodeAhir", nullable = true)
|
||||
|
||||
@Column(name = "PeriodeAhir")
|
||||
@Caption(value = "Periode Ahir")
|
||||
private Date periodeAhir;
|
||||
|
||||
@Column(name = "keterangan", nullable = true)
|
||||
@Caption(value="Keterangan")
|
||||
|
||||
@Column(name = "keterangan")
|
||||
@Caption(value = "Keterangan")
|
||||
private String keterangan;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPengendaliFk")
|
||||
@Caption(value = "Object Pengendali")
|
||||
private Pengendali pengendali;
|
||||
|
||||
@Column(name = "ObjectPengendaliFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectPengendaliFk", insertable = false, updatable = false)
|
||||
private Integer pengendaliId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectDetailSpekAnggaranFk")
|
||||
@Caption(value = "Detail Spek ANggaran")
|
||||
@JsonBackReference
|
||||
private DetailSpekAnggaran detailSpekAnggaran;
|
||||
|
||||
@Column(name = "ObjectDetailSpekAnggaranFk", columnDefinition = "CHAR(32)", nullable = true, insertable = false, updatable = false)
|
||||
|
||||
@Column(name = "ObjectDetailSpekAnggaranFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String detailSpekAnggaranId;
|
||||
|
||||
@Column(name = "Spesifikasi", nullable = true)
|
||||
@Caption(value="Spesifikasi")
|
||||
|
||||
@Column(name = "Spesifikasi")
|
||||
@Caption(value = "Spesifikasi")
|
||||
private String spesifikasi;
|
||||
|
||||
@Column(name = "Tipe", nullable = true)
|
||||
@Caption(value="Tipe")
|
||||
|
||||
@Column(name = "Tipe")
|
||||
@Caption(value = "Tipe")
|
||||
private String tipe;
|
||||
|
||||
|
||||
@JsonManagedReference
|
||||
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "detailSpekAnggaran")
|
||||
private Set<DetailSpekAnggaran> detailSpekAnggaranSet = new HashSet<DetailSpekAnggaran>();
|
||||
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "detailSpekAnggaran")
|
||||
private Set<DetailSpekAnggaran> detailSpekAnggaranSet = new HashSet<>();
|
||||
|
||||
@Transient
|
||||
private Date pelaksanaanPemilihanAwal;
|
||||
|
||||
|
||||
@Transient
|
||||
private Date pelaksanaanPemilihanAhir;
|
||||
|
||||
|
||||
@Transient
|
||||
private Date pelaksanaanPekerjaanAwal;
|
||||
|
||||
|
||||
@Transient
|
||||
private Date pelaksanaanPekerjaanAhir;
|
||||
|
||||
|
||||
@Transient
|
||||
private String keteranganRup;
|
||||
|
||||
public DetailAnggaran getDetailAnggaran() {
|
||||
return detailAnggaran;
|
||||
}
|
||||
|
||||
public void setDetailAnggaran(DetailAnggaran detailAnggaran) {
|
||||
this.detailAnggaran = detailAnggaran;
|
||||
}
|
||||
|
||||
public String getDetailAnggaranId() {
|
||||
return detailAnggaranId;
|
||||
}
|
||||
|
||||
public void setDetailAnggaranId(String detailAnggaranId) {
|
||||
this.detailAnggaranId = detailAnggaranId;
|
||||
}
|
||||
|
||||
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 float getVolumeBarang() {
|
||||
return volumeBarang;
|
||||
}
|
||||
|
||||
public void setVolumeBarang(float volumeBarang) {
|
||||
this.volumeBarang = volumeBarang;
|
||||
}
|
||||
|
||||
public Double getHargaSatuanBarang() {
|
||||
return hargaSatuanBarang;
|
||||
}
|
||||
|
||||
public void setHargaSatuanBarang(Double hargaSatuanBarang) {
|
||||
this.hargaSatuanBarang = hargaSatuanBarang;
|
||||
}
|
||||
|
||||
public Double getTotalHargaBarang() {
|
||||
return totalHargaBarang;
|
||||
}
|
||||
|
||||
public void setTotalHargaBarang(Double totalHargaBarang) {
|
||||
this.totalHargaBarang = totalHargaBarang;
|
||||
}
|
||||
|
||||
public Integer getStatusCode() {
|
||||
return statusCode;
|
||||
}
|
||||
|
||||
public void setStatusCode(Integer statusCode) {
|
||||
this.statusCode = statusCode;
|
||||
}
|
||||
|
||||
|
||||
public Boolean getIsActive() {
|
||||
return isActive;
|
||||
}
|
||||
|
||||
public void setIsActive(Boolean isActive) {
|
||||
this.isActive = isActive;
|
||||
}
|
||||
|
||||
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 JenisBelanja getJenisBelanja() {
|
||||
return jenisBelanja;
|
||||
}
|
||||
|
||||
public void setJenisBelanja(JenisBelanja jenisBelanja) {
|
||||
this.jenisBelanja = jenisBelanja;
|
||||
}
|
||||
|
||||
public Integer getJenisBelanjaId() {
|
||||
return jenisBelanjaId;
|
||||
}
|
||||
|
||||
public void setJenisBelanjaId(Integer jenisBelanjaId) {
|
||||
this.jenisBelanjaId = jenisBelanjaId;
|
||||
}
|
||||
|
||||
public JenisPengadaan getJenisPengadaan() {
|
||||
return jenisPengadaan;
|
||||
}
|
||||
|
||||
public void setJenisPengadaan(JenisPengadaan jenisPengadaan) {
|
||||
this.jenisPengadaan = jenisPengadaan;
|
||||
}
|
||||
|
||||
public Integer getJenisPengadaanId() {
|
||||
return jenisPengadaanId;
|
||||
}
|
||||
|
||||
public void setJenisPengadaanId(Integer jenisPengadaanId) {
|
||||
this.jenisPengadaanId = jenisPengadaanId;
|
||||
}
|
||||
|
||||
public Date getPeriodeAwal() {
|
||||
return periodeAwal;
|
||||
}
|
||||
|
||||
public void setPeriodeAwal(Date periodeAwal) {
|
||||
this.periodeAwal = periodeAwal;
|
||||
}
|
||||
|
||||
public Date getPeriodeAhir() {
|
||||
return periodeAhir;
|
||||
}
|
||||
|
||||
public void setPeriodeAhir(Date periodeAhir) {
|
||||
this.periodeAhir = periodeAhir;
|
||||
}
|
||||
|
||||
public String getKeterangan() {
|
||||
return keterangan;
|
||||
}
|
||||
|
||||
public void setKeterangan(String keterangan) {
|
||||
this.keterangan = keterangan;
|
||||
}
|
||||
|
||||
public Pengendali getPengendali() {
|
||||
return pengendali;
|
||||
}
|
||||
|
||||
public void setPengendali(Pengendali pengendali) {
|
||||
this.pengendali = pengendali;
|
||||
}
|
||||
|
||||
public Integer getPengendaliId() {
|
||||
return pengendaliId;
|
||||
}
|
||||
|
||||
public void setPengendaliId(Integer pengendaliId) {
|
||||
this.pengendaliId = pengendaliId;
|
||||
}
|
||||
|
||||
public DetailSpekAnggaran getDetailSpekAnggaran() {
|
||||
return detailSpekAnggaran;
|
||||
}
|
||||
|
||||
public void setDetailSpekAnggaran(DetailSpekAnggaran detailSpekAnggaran) {
|
||||
this.detailSpekAnggaran = detailSpekAnggaran;
|
||||
}
|
||||
|
||||
public String getDetailSpekAnggaranId() {
|
||||
return detailSpekAnggaranId;
|
||||
}
|
||||
|
||||
public void setDetailSpekAnggaranId(String detailSpekAnggaranId) {
|
||||
this.detailSpekAnggaranId = detailSpekAnggaranId;
|
||||
}
|
||||
|
||||
public String getSpesifikasi() {
|
||||
return spesifikasi;
|
||||
}
|
||||
|
||||
public void setSpesifikasi(String spesifikasi) {
|
||||
this.spesifikasi = spesifikasi;
|
||||
}
|
||||
|
||||
public Set<DetailSpekAnggaran> getDetailSpekAnggaranSet() {
|
||||
return detailSpekAnggaranSet;
|
||||
}
|
||||
|
||||
public void setDetailSpekAnggaranSet(Set<DetailSpekAnggaran> detailSpekAnggaranSet) {
|
||||
this.detailSpekAnggaranSet = detailSpekAnggaranSet;
|
||||
}
|
||||
|
||||
public Date getPelaksanaanPemilihanAwal() {
|
||||
return pelaksanaanPemilihanAwal;
|
||||
}
|
||||
|
||||
public void setPelaksanaanPemilihanAwal(Date pelaksanaanPemilihanAwal) {
|
||||
this.pelaksanaanPemilihanAwal = pelaksanaanPemilihanAwal;
|
||||
}
|
||||
|
||||
public Date getPelaksanaanPemilihanAhir() {
|
||||
return pelaksanaanPemilihanAhir;
|
||||
}
|
||||
|
||||
public void setPelaksanaanPemilihanAhir(Date pelaksanaanPemilihanAhir) {
|
||||
this.pelaksanaanPemilihanAhir = pelaksanaanPemilihanAhir;
|
||||
}
|
||||
|
||||
public Date getPelaksanaanPekerjaanAwal() {
|
||||
return pelaksanaanPekerjaanAwal;
|
||||
}
|
||||
|
||||
public void setPelaksanaanPekerjaanAwal(Date pelaksanaanPekerjaanAwal) {
|
||||
this.pelaksanaanPekerjaanAwal = pelaksanaanPekerjaanAwal;
|
||||
}
|
||||
|
||||
public Date getPelaksanaanPekerjaanAhir() {
|
||||
return pelaksanaanPekerjaanAhir;
|
||||
}
|
||||
|
||||
public void setPelaksanaanPekerjaanAhir(Date pelaksanaanPekerjaanAhir) {
|
||||
this.pelaksanaanPekerjaanAhir = pelaksanaanPekerjaanAhir;
|
||||
}
|
||||
|
||||
public String getKeteranganRup() {
|
||||
return keteranganRup;
|
||||
}
|
||||
|
||||
public void setKeteranganRup(String keteranganRup) {
|
||||
this.keteranganRup = keteranganRup;
|
||||
}
|
||||
|
||||
public String getTipe() {
|
||||
return tipe;
|
||||
}
|
||||
|
||||
public void setTipe(String tipe) {
|
||||
this.tipe = tipe;
|
||||
}
|
||||
|
||||
public String getIsVerifikasi() {
|
||||
return isVerifikasi;
|
||||
}
|
||||
|
||||
public void setIsVerifikasi(String isVerifikasi) {
|
||||
this.isVerifikasi = isVerifikasi;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -1,18 +1,17 @@
|
||||
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.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 = "DetailTOWS_M")
|
||||
public class DetailTOWS extends BaseMaster {
|
||||
@ -29,42 +28,10 @@ public class DetailTOWS extends BaseMaster {
|
||||
@Column(name = "input", nullable = false)
|
||||
private String input;
|
||||
|
||||
public TOWS getTows() {
|
||||
return tows;
|
||||
}
|
||||
|
||||
public void setTows(TOWS tows) {
|
||||
this.tows = tows;
|
||||
}
|
||||
|
||||
public Integer getTowsId() {
|
||||
return towsId;
|
||||
}
|
||||
|
||||
public void setTowsId(Integer towsId) {
|
||||
this.towsId = towsId;
|
||||
}
|
||||
|
||||
public String getInput() {
|
||||
return input;
|
||||
}
|
||||
|
||||
public void setInput(String input) {
|
||||
this.input = input;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.detailtows_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.detailtows_m_id_seq", sequenceName = "public.detailtows_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.detailtows_m_id_seq")
|
||||
@SequenceGenerator(name = "public.detailtows_m_id_seq", sequenceName = "public.detailtows_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,101 +1,46 @@
|
||||
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.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 = "DetailTerapiPulang_T")
|
||||
public class DetailTerapiPulang extends BaseTransaction {
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@Caption(value = "ObjectResumeMedisFk")
|
||||
@JoinColumn(name = "ObjectResumeMedisFk")
|
||||
private ResumeMedis resumeMedis;
|
||||
|
||||
private ResumeMedis resumeMedis;
|
||||
|
||||
@Column(name = "ObjectResumeMedisFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String resumeMedisId;
|
||||
|
||||
|
||||
@Column(name = "namaObat")
|
||||
@Caption(value = "namaObat")
|
||||
private String namaObat;
|
||||
|
||||
|
||||
@Column(name = "jumlah")
|
||||
@Caption(value = "jumlah")
|
||||
private String jumlah;
|
||||
|
||||
|
||||
@Column(name = "dosis")
|
||||
@Caption(value = "dosis")
|
||||
private String dosis;
|
||||
|
||||
|
||||
@Column(name = "frekuensi")
|
||||
@Caption(value = "frekuensi")
|
||||
private String frekuensi;
|
||||
|
||||
|
||||
@Column(name = "caraPemberian")
|
||||
@Caption(value = "caraPemberian")
|
||||
private String caraPemberian;
|
||||
|
||||
public ResumeMedis getResumeMedis() {
|
||||
return resumeMedis;
|
||||
}
|
||||
|
||||
public void setResumeMedis(ResumeMedis resumeMedis) {
|
||||
this.resumeMedis = resumeMedis;
|
||||
}
|
||||
|
||||
public String getResumeMedisId() {
|
||||
return resumeMedisId;
|
||||
}
|
||||
|
||||
public void setResumeMedisId(String resumeMedisId) {
|
||||
this.resumeMedisId = resumeMedisId;
|
||||
}
|
||||
|
||||
public String getNamaObat() {
|
||||
return namaObat;
|
||||
}
|
||||
|
||||
public void setNamaObat(String namaObat) {
|
||||
this.namaObat = namaObat;
|
||||
}
|
||||
|
||||
public String getJumlah() {
|
||||
return jumlah;
|
||||
}
|
||||
|
||||
public void setJumlah(String jumlah) {
|
||||
this.jumlah = jumlah;
|
||||
}
|
||||
|
||||
public String getDosis() {
|
||||
return dosis;
|
||||
}
|
||||
|
||||
public void setDosis(String dosis) {
|
||||
this.dosis = dosis;
|
||||
}
|
||||
|
||||
public String getFrekuensi() {
|
||||
return frekuensi;
|
||||
}
|
||||
|
||||
public void setFrekuensi(String frekuensi) {
|
||||
this.frekuensi = frekuensi;
|
||||
}
|
||||
|
||||
public String getCaraPemberian() {
|
||||
return caraPemberian;
|
||||
}
|
||||
|
||||
public void setCaraPemberian(String caraPemberian) {
|
||||
this.caraPemberian = caraPemberian;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,23 +1,24 @@
|
||||
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;
|
||||
|
||||
/******************
|
||||
* @author Shakato
|
||||
******************/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DetailTriase_M")
|
||||
public class DetailTriase extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Kode Triase tidak boleh kosong")
|
||||
@Column(name = "kdTriase", nullable = false, length = 100)
|
||||
@Caption(value = "Kode Triase")
|
||||
@ -38,50 +39,10 @@ public class DetailTriase extends BaseMaster {
|
||||
@Caption(value = "QDetailTriage")
|
||||
private short qDetailTriage;
|
||||
|
||||
public short getKdTriage() {
|
||||
return kdTriage;
|
||||
}
|
||||
|
||||
public void setKdTriage(short kdTriage) {
|
||||
this.kdTriage = kdTriage;
|
||||
}
|
||||
|
||||
public String getNamaTriage() {
|
||||
return namaTriage;
|
||||
}
|
||||
|
||||
public void setNamaTriage(String namaTriage) {
|
||||
this.namaTriage = namaTriage;
|
||||
}
|
||||
|
||||
public String getJenisPemeriksaan() {
|
||||
return jenisPemeriksaan;
|
||||
}
|
||||
|
||||
public void setJenisPemeriksaan(String jenisPemeriksaan) {
|
||||
this.jenisPemeriksaan = jenisPemeriksaan;
|
||||
}
|
||||
|
||||
public short getqDetailTriage() {
|
||||
return qDetailTriage;
|
||||
}
|
||||
|
||||
public void setqDetailTriage(short qDetailTriage) {
|
||||
this.qDetailTriage = qDetailTriage;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.detailtriase_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.detailtriase_m_id_seq", sequenceName = "public.detailtriase_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.detailtriase_m_id_seq")
|
||||
@SequenceGenerator(name = "public.detailtriase_m_id_seq", sequenceName = "public.detailtriase_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,154 +1,64 @@
|
||||
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 //@Audited
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "sdm_DetailUraianTugasTransaksi_T")
|
||||
public class DetailUraianTugasTransaksi extends BaseTransaction{
|
||||
|
||||
public class DetailUraianTugasTransaksi extends BaseTransaction {
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectUraianTugasTransaksiFk")
|
||||
@Caption(value = "Object UraianTugasTransaksi")
|
||||
private UraianTugasTransaksi uraianTugasTransaksi;
|
||||
|
||||
|
||||
@Column(name = "ObjectUraianTugasTransaksiFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = false)
|
||||
private String uraianTugasTransaksiId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectRincianTugasFk")
|
||||
@Caption(value = "Object Rincian Tugas")
|
||||
private RincianKegiatan rincianKegiatan;
|
||||
|
||||
@Column(name = "ObjectRincianTugasFk", insertable = false, updatable = false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectRincianTugasFk", insertable = false, updatable = false)
|
||||
private Integer rincianKegiatanId;
|
||||
|
||||
|
||||
@Caption(value = "Capaian")
|
||||
@NotNull(message = "Capaian tidak boleh kosong")
|
||||
@Column(name = "capaian", nullable = true)
|
||||
private Double capaian;
|
||||
|
||||
@Column(name = "capaian")
|
||||
private Double capaian;
|
||||
|
||||
@Caption(value = "Tanggal")
|
||||
@NotNull(message = "Tanggal tidak boleh kosong")
|
||||
@Column(name = "tanggal", nullable = true)
|
||||
private Date tanggal;
|
||||
|
||||
@Column(name = "tanggal")
|
||||
private Date tanggal;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPegawaiFk")
|
||||
@Caption(value = "Object Pegawai")
|
||||
private Pegawai pegawai;
|
||||
|
||||
@Column(name = "ObjectPegawaiFk", insertable = false, updatable = false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectPegawaiFk", insertable = false, updatable = false)
|
||||
private Integer pegawaiId;
|
||||
|
||||
|
||||
@Caption(value = "Jam Awal Kegiatan")
|
||||
@Column(name = "jamawalkegiatan", nullable = true)
|
||||
@Column(name = "jamawalkegiatan")
|
||||
private String jamAwalKegiatan;
|
||||
|
||||
|
||||
@Caption(value = "Jam Akhir Kegiatan")
|
||||
@Column(name = "jamakhirkegiatan", nullable = true)
|
||||
@Column(name = "jamakhirkegiatan")
|
||||
private String jamAkhirKegiatan;
|
||||
|
||||
|
||||
@Caption(value = "Lama Kegiatan")
|
||||
@Column(name = "lamakegiatan", nullable = true)
|
||||
@Column(name = "lamakegiatan")
|
||||
private Integer lamaKegiatan;
|
||||
|
||||
public UraianTugasTransaksi getUraianTugasTransaksi() {
|
||||
return uraianTugasTransaksi;
|
||||
}
|
||||
|
||||
public void setUraianTugasTransaksi(UraianTugasTransaksi uraianTugasTransaksi) {
|
||||
this.uraianTugasTransaksi = uraianTugasTransaksi;
|
||||
}
|
||||
|
||||
public String getUraianTugasTransaksiId() {
|
||||
return uraianTugasTransaksiId;
|
||||
}
|
||||
|
||||
public void setUraianTugasTransaksiId(String uraianTugasTransaksiId) {
|
||||
this.uraianTugasTransaksiId = uraianTugasTransaksiId;
|
||||
}
|
||||
|
||||
public RincianKegiatan getRincianKegiatan() {
|
||||
return rincianKegiatan;
|
||||
}
|
||||
|
||||
public void setRincianKegiatan(RincianKegiatan rincianKegiatan) {
|
||||
this.rincianKegiatan = rincianKegiatan;
|
||||
}
|
||||
|
||||
public Integer getRincianKegiatanId() {
|
||||
return rincianKegiatanId;
|
||||
}
|
||||
|
||||
public void setRincianKegiatanId(Integer rincianKegiatanId) {
|
||||
this.rincianKegiatanId = rincianKegiatanId;
|
||||
}
|
||||
|
||||
public Double getCapaian() {
|
||||
return capaian;
|
||||
}
|
||||
|
||||
public void setCapaian(Double capaian) {
|
||||
this.capaian = capaian;
|
||||
}
|
||||
|
||||
public Date getTanggal() {
|
||||
return tanggal;
|
||||
}
|
||||
|
||||
public void setTanggal(Date tanggal) {
|
||||
this.tanggal = tanggal;
|
||||
}
|
||||
|
||||
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 getJamAwalKegiatan() {
|
||||
return jamAwalKegiatan;
|
||||
}
|
||||
|
||||
public void setJamAwalKegiatan(String jamAwalKegiatan) {
|
||||
this.jamAwalKegiatan = jamAwalKegiatan;
|
||||
}
|
||||
|
||||
public String getJamAkhirKegiatan() {
|
||||
return jamAkhirKegiatan;
|
||||
}
|
||||
|
||||
public void setJamAkhirKegiatan(String jamAkhirKegiatan) {
|
||||
this.jamAkhirKegiatan = jamAkhirKegiatan;
|
||||
}
|
||||
|
||||
public Integer getLamaKegiatan() {
|
||||
return lamaKegiatan;
|
||||
}
|
||||
|
||||
public void setLamaKegiatan(Integer lamaKegiatan) {
|
||||
this.lamaKegiatan = lamaKegiatan;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -1,31 +1,30 @@
|
||||
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.SequenceGenerator;
|
||||
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.FetchType.LAZY;
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "Diagnosa_M")
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class Diagnosa extends BaseMaster {
|
||||
|
||||
@NotNull(message = "Kd Diagnosa tidak boleh kosong")
|
||||
@Column(name = "KdDiagnosa", nullable = false, length = 10)
|
||||
@Caption(value = "Kode Diagnosa")
|
||||
private String kdDiagnosa;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectJenisKelaminFk")
|
||||
@Caption(value = "Object Jenis Kelamin")
|
||||
private JenisKelamin jenisKelamin;
|
||||
@ -33,7 +32,7 @@ public class Diagnosa extends BaseMaster {
|
||||
@Column(name = "ObjectJenisKelaminFk", insertable = false, updatable = false)
|
||||
private Integer jenisKelaminId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectKategoryDiagnosaFk")
|
||||
@Caption(value = "Object Kategory Diagnosa")
|
||||
private KategoryDiagnosa kategoryDiagnosa;
|
||||
@ -52,73 +51,9 @@ public class Diagnosa extends BaseMaster {
|
||||
private Integer qDiagnosa;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.diagnosa_m_id_seq")
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.diagnosa_m_id_seq")
|
||||
@SequenceGenerator(name = "public.diagnosa_m_id_seq", sequenceName = "public.diagnosa_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public String getKdDiagnosa() {
|
||||
return kdDiagnosa;
|
||||
}
|
||||
|
||||
public void setKdDiagnosa(String kdDiagnosa) {
|
||||
this.kdDiagnosa = kdDiagnosa;
|
||||
}
|
||||
|
||||
public JenisKelamin getJenisKelamin() {
|
||||
return jenisKelamin;
|
||||
}
|
||||
|
||||
public void setJenisKelamin(JenisKelamin jenisKelamin) {
|
||||
this.jenisKelamin = jenisKelamin;
|
||||
}
|
||||
|
||||
public Integer getJenisKelaminId() {
|
||||
return jenisKelaminId;
|
||||
}
|
||||
|
||||
public void setJenisKelaminId(Integer jenisKelaminId) {
|
||||
this.jenisKelaminId = jenisKelaminId;
|
||||
}
|
||||
|
||||
public KategoryDiagnosa getKategoryDiagnosa() {
|
||||
return kategoryDiagnosa;
|
||||
}
|
||||
|
||||
public void setKategoryDiagnosa(KategoryDiagnosa kategoryDiagnosa) {
|
||||
this.kategoryDiagnosa = kategoryDiagnosa;
|
||||
}
|
||||
|
||||
public Integer getKategoryDiagnosaId() {
|
||||
return kategoryDiagnosaId;
|
||||
}
|
||||
|
||||
public void setKategoryDiagnosaId(Integer kategoryDiagnosaId) {
|
||||
this.kategoryDiagnosaId = kategoryDiagnosaId;
|
||||
}
|
||||
|
||||
public String getNamaDiagnosa() {
|
||||
return namaDiagnosa;
|
||||
}
|
||||
|
||||
public void setNamaDiagnosa(String namaDiagnosa) {
|
||||
this.namaDiagnosa = namaDiagnosa;
|
||||
}
|
||||
|
||||
public Integer getqDiagnosa() {
|
||||
return qDiagnosa;
|
||||
}
|
||||
|
||||
public void setqDiagnosa(Integer qDiagnosa) {
|
||||
this.qDiagnosa = qDiagnosa;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,95 +1,47 @@
|
||||
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 DiagnosaKeperawatan
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DiagnosaKeperawatan_M")
|
||||
public class DiagnosaKeperawatan extends BaseMaster {
|
||||
|
||||
@Column(name = "DeskripsiDiagnosaKep", nullable = true, length = 1000)
|
||||
|
||||
@Column(name = "DeskripsiDiagnosaKep", length = 1000)
|
||||
@Caption(value = "Deskripsi Diagnosa Kep")
|
||||
private String deskripsiDiagnosaKep;
|
||||
|
||||
|
||||
@Column(name = "namaDiagnosaKep", nullable = false)
|
||||
@Caption(value = "namaDiagnosaKep")
|
||||
private String namaDiagnosaKep;
|
||||
|
||||
private String namaDiagnosaKep;
|
||||
|
||||
@Column(name = "diagnosaKep", nullable = false)
|
||||
@Caption(value = "diagnosaKep")
|
||||
private String diagnosaKep;
|
||||
private String diagnosaKep;
|
||||
|
||||
@NotNull(message = "QDiagnosa Kep tidak boleh kosong")
|
||||
@Column(name = "QDiagnosaKep", nullable = false)
|
||||
@Caption(value = "QDiagnosa Kep")
|
||||
private Integer qDiagnosaKep;
|
||||
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.diagnosakeperawatan_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.diagnosakeperawatan_m_id_seq", sequenceName = "public.diagnosakeperawatan_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.diagnosakeperawatan_m_id_seq")
|
||||
@SequenceGenerator(name = "public.diagnosakeperawatan_m_id_seq", sequenceName = "public.diagnosakeperawatan_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 String getDeskripsiDiagnosaKep() {
|
||||
return deskripsiDiagnosaKep;
|
||||
}
|
||||
|
||||
public void setDeskripsiDiagnosaKep(String deskripsiDiagnosaKep) {
|
||||
this.deskripsiDiagnosaKep = deskripsiDiagnosaKep;
|
||||
}
|
||||
|
||||
public String getNamaDiagnosaKep() {
|
||||
return namaDiagnosaKep;
|
||||
}
|
||||
|
||||
public void setNamaDiagnosaKep(String namaDiagnosaKep) {
|
||||
this.namaDiagnosaKep = namaDiagnosaKep;
|
||||
}
|
||||
|
||||
public String getDiagnosaKep() {
|
||||
return diagnosaKep;
|
||||
}
|
||||
|
||||
public void setDiagnosaKep(String diagnosaKep) {
|
||||
this.diagnosaKep = diagnosaKep;
|
||||
}
|
||||
|
||||
public Integer getqDiagnosaKep() {
|
||||
return qDiagnosaKep;
|
||||
}
|
||||
|
||||
public void setqDiagnosaKep(Integer qDiagnosaKep) {
|
||||
this.qDiagnosaKep = qDiagnosaKep;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,198 +1,78 @@
|
||||
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.FetchType;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DiagnosaKeperawatan_T")
|
||||
public class DiagnosaKeperawatanTransaksi extends MedicalRecordTransaction {
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectDiagnosaKeperawatan")
|
||||
@Caption(value="DiagnosaKeperawatan")
|
||||
@Caption(value = "DiagnosaKeperawatan")
|
||||
private DiagnosaKeperawatan diagnosaKeperawatan;
|
||||
|
||||
@Column(name = "ObjectDiagnosaKeperawatan", insertable=false, updatable=false, nullable=true)
|
||||
|
||||
@Column(name = "ObjectDiagnosaKeperawatan", insertable = false, updatable = false)
|
||||
private Integer diagnosaKeperawatanId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectImplementasi")
|
||||
@Caption(value="Implementasi")
|
||||
@Caption(value = "Implementasi")
|
||||
private Implementasi implementasi;
|
||||
|
||||
@Column(name = "ObjectImplementasi", insertable=false, updatable=false, nullable=true)
|
||||
|
||||
@Column(name = "ObjectImplementasi", insertable = false, updatable = false)
|
||||
private Integer implementasiId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectIntervensi")
|
||||
@Caption(value="Intervensi")
|
||||
@Caption(value = "Intervensi")
|
||||
private Intervensi intervensi;
|
||||
|
||||
@Column(name = "ObjectIntervensi", insertable=false ,updatable=false, nullable=true)
|
||||
|
||||
@Column(name = "ObjectIntervensi", insertable = false, updatable = false)
|
||||
private Integer ObjectIntervensiId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectEvaluasi")
|
||||
@Caption(value="Evaluasi")
|
||||
@Caption(value = "Evaluasi")
|
||||
private Evaluasi evaluasi;
|
||||
|
||||
@Column(name = "ObjectEvaluasi", insertable=false, updatable=false, nullable=true)
|
||||
|
||||
@Column(name = "ObjectEvaluasi", insertable = false, updatable = false)
|
||||
private Integer ObjectEvaluasiId;
|
||||
|
||||
@Caption(value="tglDitemukan")
|
||||
@Column(name = "tglDitemukan", nullable=true)
|
||||
|
||||
@Caption(value = "tglDitemukan")
|
||||
@Column(name = "tglDitemukan")
|
||||
private Date tglDitemukan;
|
||||
|
||||
@Caption(value="tglTeratasi")
|
||||
@Column(name = "tglTeratasi", nullable=true)
|
||||
|
||||
@Caption(value = "tglTeratasi")
|
||||
@Column(name = "tglTeratasi")
|
||||
private Date tglTeratasi;
|
||||
|
||||
@Caption(value="tglInput")
|
||||
@Column(name = "tglInput", nullable=true)
|
||||
|
||||
@Caption(value = "tglInput")
|
||||
@Column(name = "tglInput")
|
||||
private Date tglInput;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectPegawai")
|
||||
@Caption(value="Pegawai")
|
||||
@Caption(value = "Pegawai")
|
||||
private Pegawai pegawai;
|
||||
|
||||
@Column(name = "ObjectPegawai", insertable=false, updatable=false, nullable=true)
|
||||
|
||||
@Column(name = "ObjectPegawai", insertable = false, updatable = false)
|
||||
private Integer pegawaiId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectRuangan")
|
||||
@Caption(value="Ruangan")
|
||||
@Caption(value = "Ruangan")
|
||||
private Ruangan ruangan;
|
||||
|
||||
@Column(name = "ObjectRuangan", insertable=false, updatable=false, nullable=true)
|
||||
|
||||
@Column(name = "ObjectRuangan", insertable = false, updatable = false)
|
||||
private Integer ruanganId;
|
||||
|
||||
public DiagnosaKeperawatan getDiagnosaKeperawatan() {
|
||||
return diagnosaKeperawatan;
|
||||
}
|
||||
|
||||
public void setDiagnosaKeperawatan(DiagnosaKeperawatan diagnosaKeperawatan) {
|
||||
this.diagnosaKeperawatan = diagnosaKeperawatan;
|
||||
}
|
||||
|
||||
public Integer getDiagnosaKeperawatanId() {
|
||||
return diagnosaKeperawatanId;
|
||||
}
|
||||
|
||||
public void setDiagnosaKeperawatanId(Integer diagnosaKeperawatanId) {
|
||||
this.diagnosaKeperawatanId = diagnosaKeperawatanId;
|
||||
}
|
||||
|
||||
public Implementasi getImplementasi() {
|
||||
return implementasi;
|
||||
}
|
||||
|
||||
public void setImplementasi(Implementasi implementasi) {
|
||||
this.implementasi = implementasi;
|
||||
}
|
||||
|
||||
public Integer getImplementasiId() {
|
||||
return implementasiId;
|
||||
}
|
||||
|
||||
public void setImplementasiId(Integer implementasiId) {
|
||||
this.implementasiId = implementasiId;
|
||||
}
|
||||
|
||||
public Intervensi getIntervensi() {
|
||||
return intervensi;
|
||||
}
|
||||
|
||||
public void setIntervensi(Intervensi intervensi) {
|
||||
this.intervensi = intervensi;
|
||||
}
|
||||
|
||||
public Integer getObjectIntervensiId() {
|
||||
return ObjectIntervensiId;
|
||||
}
|
||||
|
||||
public void setObjectIntervensiId(Integer objectIntervensiId) {
|
||||
ObjectIntervensiId = objectIntervensiId;
|
||||
}
|
||||
|
||||
public Evaluasi getEvaluasi() {
|
||||
return evaluasi;
|
||||
}
|
||||
|
||||
public void setEvaluasi(Evaluasi evaluasi) {
|
||||
this.evaluasi = evaluasi;
|
||||
}
|
||||
|
||||
public Integer getObjectEvaluasiId() {
|
||||
return ObjectEvaluasiId;
|
||||
}
|
||||
|
||||
public void setObjectEvaluasiId(Integer objectEvaluasiId) {
|
||||
ObjectEvaluasiId = objectEvaluasiId;
|
||||
}
|
||||
|
||||
public Date getTglDitemukan() {
|
||||
return tglDitemukan;
|
||||
}
|
||||
|
||||
public void setTglDitemukan(Date tglDitemukan) {
|
||||
this.tglDitemukan = tglDitemukan;
|
||||
}
|
||||
|
||||
public Date getTglTeratasi() {
|
||||
return tglTeratasi;
|
||||
}
|
||||
|
||||
public void setTglTeratasi(Date tglTeratasi) {
|
||||
this.tglTeratasi = tglTeratasi;
|
||||
}
|
||||
|
||||
public Date getTglInput() {
|
||||
return tglInput;
|
||||
}
|
||||
|
||||
public void setTglInput(Date tglInput) {
|
||||
this.tglInput = tglInput;
|
||||
}
|
||||
|
||||
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 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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,22 +1,22 @@
|
||||
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.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 = "diagnosaonkologimorfologi_m")
|
||||
public class DiagnosaOnkologiMorfologi extends BaseMaster {
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectKategoryDiagnosaFk")
|
||||
@Caption(value = "Object Kategory Diagnosa")
|
||||
private KategoryDiagnosa kategoryDiagnosa;
|
||||
@ -24,78 +24,22 @@ public class DiagnosaOnkologiMorfologi extends BaseMaster {
|
||||
@Column(name = "ObjectKategoryDiagnosaFk", insertable = false, updatable = false)
|
||||
private Integer idKategoryDiagnosa;
|
||||
|
||||
@Column(name = "qDiagnosaOnkologiMorfologi", nullable = true)
|
||||
@Column(name = "qDiagnosaOnkologiMorfologi")
|
||||
private Integer qDiagnosaOnkologiMorfologi;
|
||||
|
||||
@Column(name = "kdDiagnosaOnkologiMorfologi", nullable = true)
|
||||
@Column(name = "kdDiagnosaOnkologiMorfologi")
|
||||
private String kdDiagnosaOnkologiMorfologi;
|
||||
|
||||
@Column(name = "struct", nullable = true)
|
||||
@Column(name = "struct")
|
||||
private String struct;
|
||||
|
||||
@Column(name = "namaDiagnosaOnkologiMorfologi", nullable = true)
|
||||
@Column(name = "namaDiagnosaOnkologiMorfologi")
|
||||
private String namaDiagnosaOnkologiMorfologi;
|
||||
|
||||
public KategoryDiagnosa getKategoryDiagnosa() {
|
||||
return kategoryDiagnosa;
|
||||
}
|
||||
|
||||
public void setKategoryDiagnosa(KategoryDiagnosa kategoryDiagnosa) {
|
||||
this.kategoryDiagnosa = kategoryDiagnosa;
|
||||
}
|
||||
|
||||
public Integer getIdKategoryDiagnosa() {
|
||||
return idKategoryDiagnosa;
|
||||
}
|
||||
|
||||
public void setIdKategoryDiagnosa(Integer idKategoryDiagnosa) {
|
||||
this.idKategoryDiagnosa = idKategoryDiagnosa;
|
||||
}
|
||||
|
||||
public Integer getqDiagnosaOnkologiMorfologi() {
|
||||
return qDiagnosaOnkologiMorfologi;
|
||||
}
|
||||
|
||||
public void setqDiagnosaOnkologiMorfologi(Integer qDiagnosaOnkologiMorfologi) {
|
||||
this.qDiagnosaOnkologiMorfologi = qDiagnosaOnkologiMorfologi;
|
||||
}
|
||||
|
||||
public String getKdDiagnosaOnkologiMorfologi() {
|
||||
return kdDiagnosaOnkologiMorfologi;
|
||||
}
|
||||
|
||||
public void setKdDiagnosaOnkologiMorfologi(String kdDiagnosaOnkologiMorfologi) {
|
||||
this.kdDiagnosaOnkologiMorfologi = kdDiagnosaOnkologiMorfologi;
|
||||
}
|
||||
|
||||
public String getStruct() {
|
||||
return struct;
|
||||
}
|
||||
|
||||
public void setStruct(String struct) {
|
||||
this.struct = struct;
|
||||
}
|
||||
|
||||
public String getNamaDiagnosaOnkologiMorfologi() {
|
||||
return namaDiagnosaOnkologiMorfologi;
|
||||
}
|
||||
|
||||
public void setNamaDiagnosaOnkologiMorfologi(String namaDiagnosaOnkologiMorfologi) {
|
||||
this.namaDiagnosaOnkologiMorfologi = namaDiagnosaOnkologiMorfologi;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.diagnosaonkologimorfologi_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.diagnosaonkologimorfologi_m_id_seq", sequenceName = "public.diagnosaonkologimorfologi_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.diagnosaonkologimorfologi_m_id_seq")
|
||||
@SequenceGenerator(name = "public.diagnosaonkologimorfologi_m_id_seq", sequenceName = "public.diagnosaonkologimorfologi_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,22 @@
|
||||
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.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 = "diagnosaonkologitopologi_m")
|
||||
public class DiagnosaOnkologiTopologi extends BaseMaster {
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectKategoryDiagnosaFk")
|
||||
@Caption(value = "Object Kategory Diagnosa")
|
||||
private KategoryDiagnosa kategoryDiagnosa;
|
||||
@ -24,78 +24,22 @@ public class DiagnosaOnkologiTopologi extends BaseMaster {
|
||||
@Column(name = "ObjectKategoryDiagnosaFk", insertable = false, updatable = false)
|
||||
private Integer idKategoryDiagnosa;
|
||||
|
||||
@Column(name = "qdiagnosaonkologitopologi", nullable = true)
|
||||
@Column(name = "qdiagnosaonkologitopologi")
|
||||
private Integer qDiagnosaOnkologiTopologi;
|
||||
|
||||
@Column(name = "kdDiagnosaOnkologiTopologi", nullable = true)
|
||||
@Column(name = "kdDiagnosaOnkologiTopologi")
|
||||
private String kdDiagnosaOnkologiTopologi;
|
||||
|
||||
@Column(name = "level", nullable = true)
|
||||
@Column(name = "level")
|
||||
private String level;
|
||||
|
||||
@Column(name = "namaDiagnosaOnkologiTopologi", nullable = true)
|
||||
@Column(name = "namaDiagnosaOnkologiTopologi")
|
||||
private String namaDiagnosaOnkologiTopologi;
|
||||
|
||||
public KategoryDiagnosa getKategoryDiagnosa() {
|
||||
return kategoryDiagnosa;
|
||||
}
|
||||
|
||||
public void setKategoryDiagnosa(KategoryDiagnosa kategoryDiagnosa) {
|
||||
this.kategoryDiagnosa = kategoryDiagnosa;
|
||||
}
|
||||
|
||||
public Integer getIdKategoryDiagnosa() {
|
||||
return idKategoryDiagnosa;
|
||||
}
|
||||
|
||||
public void setIdKategoryDiagnosa(Integer idKategoryDiagnosa) {
|
||||
this.idKategoryDiagnosa = idKategoryDiagnosa;
|
||||
}
|
||||
|
||||
public Integer getqDiagnosaOnkologiTopologi() {
|
||||
return qDiagnosaOnkologiTopologi;
|
||||
}
|
||||
|
||||
public void setqDiagnosaOnkologiTopologi(Integer qDiagnosaOnkologiTopologi) {
|
||||
this.qDiagnosaOnkologiTopologi = qDiagnosaOnkologiTopologi;
|
||||
}
|
||||
|
||||
public String getKdDiagnosaOnkologiTopologi() {
|
||||
return kdDiagnosaOnkologiTopologi;
|
||||
}
|
||||
|
||||
public void setKdDiagnosaOnkologiTopologi(String kdDiagnosaOnkologiTopologi) {
|
||||
this.kdDiagnosaOnkologiTopologi = kdDiagnosaOnkologiTopologi;
|
||||
}
|
||||
|
||||
public String getLevel() {
|
||||
return level;
|
||||
}
|
||||
|
||||
public void setLevel(String level) {
|
||||
this.level = level;
|
||||
}
|
||||
|
||||
public String getNamaDiagnosaOnkologiTopologi() {
|
||||
return namaDiagnosaOnkologiTopologi;
|
||||
}
|
||||
|
||||
public void setNamaDiagnosaOnkologiTopologi(String namaDiagnosaOnkologiTopologi) {
|
||||
this.namaDiagnosaOnkologiTopologi = namaDiagnosaOnkologiTopologi;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.diagnosaonkologitopologi_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.diagnosaonkologitopologi_m_id_seq", sequenceName = "public.diagnosaonkologitopologi_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.diagnosaonkologitopologi_m_id_seq")
|
||||
@SequenceGenerator(name = "public.diagnosaonkologitopologi_m_id_seq", sequenceName = "public.diagnosaonkologitopologi_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,70 +1,42 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
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 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.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
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;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Adik
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DiagnosaPasien_T")
|
||||
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class DiagnosaPasien extends MedicalRecordTransaction {
|
||||
|
||||
@NotNull(message="Tanggal Pendaftran Tidak Boleh Kosong")
|
||||
@Column(name = "TglPendaftaran", nullable = false )
|
||||
@Caption(value="Tanggal Pendafaran")
|
||||
|
||||
@NotNull(message = "Tanggal Pendaftran Tidak Boleh Kosong")
|
||||
@Column(name = "TglPendaftaran", nullable = false)
|
||||
@Caption(value = "Tanggal Pendafaran")
|
||||
private Date tanggalPendaftaran;
|
||||
|
||||
|
||||
@JsonBackReference
|
||||
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "diagnosaPasien")
|
||||
private Set<DetailDiagnosaPasien> diagnosis=new HashSet<DetailDiagnosaPasien>();
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "diagnosaPasien")
|
||||
private Set<DetailDiagnosaPasien> diagnosis = new HashSet<>();
|
||||
|
||||
@Column(name = "ketDiagnosis", nullable = true )
|
||||
@Caption(value="ketDiagnosis")
|
||||
@Column(name = "ketDiagnosis")
|
||||
@Caption(value = "ketDiagnosis")
|
||||
private String ketDiagnosis;
|
||||
|
||||
public String getKetDiagnosis() {
|
||||
return ketDiagnosis;
|
||||
}
|
||||
|
||||
public void setKetDiagnosis(String ketDiagnosis) {
|
||||
this.ketDiagnosis = ketDiagnosis;
|
||||
}
|
||||
|
||||
public Date getTanggalPendaftaran() {
|
||||
return tanggalPendaftaran;
|
||||
}
|
||||
|
||||
public void setTanggalPendaftaran(Date tanggalPendaftaran) {
|
||||
this.tanggalPendaftaran = tanggalPendaftaran;
|
||||
}
|
||||
|
||||
public Set<DetailDiagnosaPasien> getDiagnosis() {
|
||||
return diagnosis;
|
||||
}
|
||||
|
||||
public void setDiagnosis(Set<DetailDiagnosaPasien> diagnosis) {
|
||||
this.diagnosis = diagnosis;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,126 +1,63 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.io.Serializable;import org.hibernate.envers.Audited;
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
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 static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class DiagnosaTindakan
|
||||
* class DiagnosaTindakan
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DiagnosaTindakan_M")
|
||||
public class DiagnosaTindakan extends BaseMaster {
|
||||
|
||||
@NotNull(message="Kode Diagnosa Tindakan tidak boleh kosong")
|
||||
@Column(name = "KdDiagnosaTindakan", nullable = false , length = 5)
|
||||
@Caption(value="Kode Diagnosa Tindakan")
|
||||
|
||||
@NotNull(message = "Kode Diagnosa Tindakan tidak boleh kosong")
|
||||
@Column(name = "KdDiagnosaTindakan", nullable = false, length = 5)
|
||||
@Caption(value = "Kode Diagnosa Tindakan")
|
||||
private String kdDiagnosaTindakan;
|
||||
|
||||
|
||||
public String getKdDiagnosaTindakan() {
|
||||
return kdDiagnosaTindakan;
|
||||
}
|
||||
|
||||
public void setKdDiagnosaTindakan(String kdDiagnosaTindakan) {
|
||||
this.kdDiagnosaTindakan = kdDiagnosaTindakan;
|
||||
}
|
||||
|
||||
@Caption(value="Diagnosa Tindakan")
|
||||
@Caption(value = "Diagnosa Tindakan")
|
||||
private String namaDiagnosaTindakan;
|
||||
|
||||
@NotNull(message="Diagnosa Tindakan tidak boleh kosong")
|
||||
@Column(name = "DiagnosaTindakan", nullable = false , length = 150)
|
||||
public String getNamaDiagnosaTindakan() {
|
||||
return namaDiagnosaTindakan;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void setNamaDiagnosaTindakan(String namaDiagnosaTindakan) {
|
||||
this.namaDiagnosaTindakan = namaDiagnosaTindakan;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectDiagnosaTindakanFk")
|
||||
@NotNull(message="Kd Diagnosa Tindakan tidak boleh kosong")
|
||||
@NotNull(message = "Kd Diagnosa Tindakan tidak boleh kosong")
|
||||
|
||||
@Caption(value="Object Diagnosa Tindakan")
|
||||
@Caption(value = "Object Diagnosa Tindakan")
|
||||
private Diagnosa diagnosaTindakan;
|
||||
|
||||
public void setDiagnosaTindakan(Diagnosa diagnosaTindakan) {
|
||||
this.diagnosaTindakan = diagnosaTindakan;
|
||||
}
|
||||
|
||||
|
||||
public Diagnosa getDiagnosaTindakan(){
|
||||
return this.diagnosaTindakan;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectDiagnosaTindakanFk", insertable=false,updatable=false)
|
||||
@Column(name = "ObjectDiagnosaTindakanFk", insertable = false, updatable = false)
|
||||
private Integer diagnosaTindakanId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKategoryDiagnosaFk")
|
||||
@NotNull(message="Kd Kategory Diagnosa tidak boleh kosong")
|
||||
@NotNull(message = "Kd Kategory Diagnosa tidak boleh kosong")
|
||||
|
||||
@Caption(value="Object Kategory Diagnosa")
|
||||
@Caption(value = "Object Kategory Diagnosa")
|
||||
private KategoryDiagnosa kategoryDiagnosa;
|
||||
|
||||
public void setKategoryDiagnosa(KategoryDiagnosa kategoryDiagnosa) {
|
||||
this.kategoryDiagnosa = kategoryDiagnosa;
|
||||
}
|
||||
|
||||
|
||||
public KategoryDiagnosa getKategoryDiagnosa(){
|
||||
return this.kategoryDiagnosa;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectKategoryDiagnosaFk", insertable=false,updatable=false,nullable=false)
|
||||
@Column(name = "ObjectKategoryDiagnosaFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer kategoryDiagnosaId;
|
||||
|
||||
@NotNull(message="QDiagnosa Tindakan tidak boleh kosong")
|
||||
@Column(name = "QDiagnosaTindakan", nullable = false )
|
||||
@Caption(value="QDiagnosa Tindakan")
|
||||
@NotNull(message = "QDiagnosa Tindakan tidak boleh kosong")
|
||||
@Column(name = "QDiagnosaTindakan", nullable = false)
|
||||
@Caption(value = "QDiagnosa Tindakan")
|
||||
private Integer qDiagnosaTindakan;
|
||||
|
||||
public void setqDiagnosaTindakan(Integer qDiagnosaTindakan) {
|
||||
this.qDiagnosaTindakan = qDiagnosaTindakan;
|
||||
}
|
||||
@Id
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.diagnosatindakan_m_id_seq")
|
||||
@SequenceGenerator(name = "public.diagnosatindakan_m_id_seq", sequenceName = "public.diagnosatindakan_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
|
||||
public Integer getqDiagnosaTindakan(){
|
||||
return this.qDiagnosaTindakan;
|
||||
}
|
||||
|
||||
|
||||
@Id
|
||||
@GeneratedValue(
|
||||
strategy=GenerationType.SEQUENCE,
|
||||
generator="public.diagnosatindakan_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(
|
||||
name="public.diagnosatindakan_m_id_seq", sequenceName="public.diagnosatindakan_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,85 +1,48 @@
|
||||
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 javax.validation.constraints.NotNull;
|
||||
|
||||
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 org.hibernate.envers.Audited;
|
||||
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;
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Adik
|
||||
*/
|
||||
@Entity //@Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DiagnosaTindakanPasien_T")
|
||||
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class DiagnosaTindakanPasien extends BaseTransaction {
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPasienFk")
|
||||
@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 AntrianPasienDiPeriksa pasienDaftar;
|
||||
|
||||
@Column(name = "ObjectPasienFk", insertable=false,updatable=false)
|
||||
@Column(name = "ObjectPasienFk", insertable = false, updatable = false)
|
||||
private String pasienDaftarId;
|
||||
|
||||
@NotNull(message="Tanggal Pendaftran Tidak Boleh Kosong")
|
||||
@Column(name = "TglPendaftaran", nullable = false )
|
||||
@Caption(value="Tanggal Pendafaran")
|
||||
|
||||
@NotNull(message = "Tanggal Pendaftran Tidak Boleh Kosong")
|
||||
@Column(name = "TglPendaftaran", nullable = false)
|
||||
@Caption(value = "Tanggal Pendafaran")
|
||||
private Date tanggalPendaftaran;
|
||||
|
||||
|
||||
@JsonBackReference
|
||||
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "diagnosaTindakanPasien")
|
||||
private Set<DetailDiagnosaTindakanPasien> diagnosisTindakan=new HashSet<DetailDiagnosaTindakanPasien>();
|
||||
|
||||
public AntrianPasienDiPeriksa getPasien() {
|
||||
return pasienDaftar;
|
||||
}
|
||||
|
||||
public void setPasien(AntrianPasienDiPeriksa pasienDaftar) {
|
||||
this.pasienDaftar = pasienDaftar;
|
||||
}
|
||||
|
||||
public String getPasienId() {
|
||||
return pasienDaftarId;
|
||||
}
|
||||
|
||||
public void setPasienId(String pasienId) {
|
||||
this.pasienDaftarId = pasienId;
|
||||
}
|
||||
|
||||
public Date getTanggalPendaftaran() {
|
||||
return tanggalPendaftaran;
|
||||
}
|
||||
|
||||
public void setTanggalPendaftaran(Date tanggalPendaftaran) {
|
||||
this.tanggalPendaftaran = tanggalPendaftaran;
|
||||
}
|
||||
|
||||
public Set<DetailDiagnosaTindakanPasien> getDiagnosisTindakan() {
|
||||
return diagnosisTindakan;
|
||||
}
|
||||
|
||||
public void setDiagnosisTindakan(Set<DetailDiagnosaTindakanPasien> diagnosisTindakan) {
|
||||
this.diagnosisTindakan = diagnosisTindakan;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "diagnosaTindakanPasien")
|
||||
private Set<DetailDiagnosaTindakanPasien> diagnosisTindakan = new HashSet<>();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,105 +1,46 @@
|
||||
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.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Entity //@Audited
|
||||
import javax.persistence.*;
|
||||
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DiagnosaTindakans_T")
|
||||
public class DiagnosaTindakans extends BaseTransaction{
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
public class DiagnosaTindakans extends BaseTransaction {
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectDiagnosaTindakanFk")
|
||||
@Caption(value="Object DiagnosaTindakan")
|
||||
@Caption(value = "Object DiagnosaTindakan")
|
||||
private DiagnosaTindakan diagnosaTindakan;
|
||||
|
||||
@Column(name = "ObjectDiagnosaTindakanFk", insertable=false,updatable=false,nullable=false)
|
||||
|
||||
@Column(name = "ObjectDiagnosaTindakanFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer diagnosaTindakanId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectRehabilitasiFormulirKlaimFk")
|
||||
@Caption(value="Object RehabilitasiFormulirKlaim")
|
||||
@Caption(value = "Object RehabilitasiFormulirKlaim")
|
||||
private RehabilitasiFormulirKlaim rehabilitasiFormulirKlaim;
|
||||
|
||||
@Column(name = "ObjectRehabilitasiFormulirKlaimFk", insertable=false,updatable=false,nullable=false)
|
||||
|
||||
@Column(name = "ObjectRehabilitasiFormulirKlaimFk", insertable = false, updatable = false, nullable = false)
|
||||
private String rehabilitasiFormulirKlaimId;
|
||||
|
||||
|
||||
@Column(name = "diagnosisFungsi")
|
||||
@Caption(value="diagnosisFungsi")
|
||||
@Caption(value = "diagnosisFungsi")
|
||||
private Boolean diagnosisFungsi;
|
||||
|
||||
|
||||
@Column(name = "tataLaksanaKFR")
|
||||
@Caption(value="tataLaksanaKFR")
|
||||
@Caption(value = "tataLaksanaKFR")
|
||||
private Boolean tataLaksanaKFR;
|
||||
|
||||
|
||||
@Column(name = "diagnosisMedis")
|
||||
@Caption(value="diagnosisMedis")
|
||||
@Caption(value = "diagnosisMedis")
|
||||
private Boolean diagnosisMedis;
|
||||
|
||||
public DiagnosaTindakan getDiagnosaTindakan() {
|
||||
return diagnosaTindakan;
|
||||
}
|
||||
|
||||
public void setDiagnosaTindakan(DiagnosaTindakan diagnosaTindakan) {
|
||||
this.diagnosaTindakan = diagnosaTindakan;
|
||||
}
|
||||
|
||||
public Integer getDiagnosaTindakanId() {
|
||||
return diagnosaTindakanId;
|
||||
}
|
||||
|
||||
public void setDiagnosaTindakanId(Integer diagnosaTindakanId) {
|
||||
this.diagnosaTindakanId = diagnosaTindakanId;
|
||||
}
|
||||
|
||||
public Boolean getDiagnosisFungsi() {
|
||||
return diagnosisFungsi;
|
||||
}
|
||||
|
||||
public void TataLaksanaKFR(Boolean diagnosisFungsi) {
|
||||
this.diagnosisFungsi = diagnosisFungsi;
|
||||
}
|
||||
|
||||
public Boolean getTataLaksanaKFR() {
|
||||
return tataLaksanaKFR;
|
||||
}
|
||||
|
||||
public void setTataLaksanaKFR(Boolean tataLaksanaKFR) {
|
||||
this.tataLaksanaKFR = tataLaksanaKFR;
|
||||
}
|
||||
|
||||
public Boolean getDiagnosisMedis() {
|
||||
return diagnosisMedis;
|
||||
}
|
||||
|
||||
public void setDiagnosisMedis(Boolean diagnosisMedis) {
|
||||
this.diagnosisMedis = diagnosisMedis;
|
||||
}
|
||||
|
||||
public RehabilitasiFormulirKlaim getRehabilitasiFormulirKlaim() {
|
||||
return rehabilitasiFormulirKlaim;
|
||||
}
|
||||
|
||||
public void setRehabilitasiFormulirKlaim(RehabilitasiFormulirKlaim rehabilitasiFormulirKlaim) {
|
||||
this.rehabilitasiFormulirKlaim = rehabilitasiFormulirKlaim;
|
||||
}
|
||||
|
||||
public String getRehabilitasiFormulirKlaimId() {
|
||||
return rehabilitasiFormulirKlaimId;
|
||||
}
|
||||
|
||||
public void setRehabilitasiFormulirKlaimId(String rehabilitasiFormulirKlaimId) {
|
||||
this.rehabilitasiFormulirKlaimId = rehabilitasiFormulirKlaimId;
|
||||
}
|
||||
|
||||
public void setDiagnosisFungsi(Boolean diagnosisFungsi) {
|
||||
this.diagnosisFungsi = diagnosisFungsi;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,51 +1,37 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
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 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 DiagnosisKeperawatan
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_DiagnosisKeperawatan_M")
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class DiagnosisKeperawatan 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.diagnosiskeperawatan_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.diagnosiskeperawatan_m_id_seq", sequenceName = "public.diagnosiskeperawatan_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.diagnosiskeperawatan_m_id_seq")
|
||||
@SequenceGenerator(name = "public.diagnosiskeperawatan_m_id_seq", sequenceName = "public.diagnosiskeperawatan_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 DiagnosisPraBedah
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_DiagnosisPraBedah_M")
|
||||
public class DiagnosisPraBedah 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.diagnosisprabedah_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.diagnosisprabedah_m_id_seq", sequenceName = "public.diagnosisprabedah_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.diagnosisprabedah_m_id_seq")
|
||||
@SequenceGenerator(name = "public.diagnosisprabedah_m_id_seq", sequenceName = "public.diagnosisprabedah_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,26 @@
|
||||
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 com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.Date;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class DiklatJurusan
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DiklatJurusan_M")
|
||||
public class DiklatJurusan extends BaseMaster {
|
||||
|
||||
@Column(name = "kdDiklatJurusan", nullable = false)
|
||||
@Caption(value = "kdDiklatJurusan")
|
||||
private Integer kdDiklatJurusan;
|
||||
@ -42,118 +41,30 @@ public class DiklatJurusan extends BaseMaster {
|
||||
@Caption(value = "qtySksMin")
|
||||
private Integer qtySksMin;
|
||||
|
||||
@Column(name = "noSkBerdiri", nullable = true)
|
||||
@Column(name = "noSkBerdiri")
|
||||
@Caption(value = "noSkBerdiri")
|
||||
private String noSkBerdiri;
|
||||
|
||||
@Column(name = "tglBerdiri", nullable = true)
|
||||
@Column(name = "tglBerdiri")
|
||||
@Caption(value = "tglBerdiri")
|
||||
private Date tglBerdiri;
|
||||
|
||||
@Column(name = "kdStatusAkredistasiLast", nullable = true)
|
||||
@Column(name = "kdStatusAkredistasiLast")
|
||||
@Caption(value = "kdStatusAkredistasiLast")
|
||||
private String kdStatusAkredistasiLast;
|
||||
|
||||
@Column(name = "tglAkreditasiLast", nullable = true)
|
||||
@Column(name = "tglAkreditasiLast")
|
||||
@Caption(value = "tglAkreditasiLast")
|
||||
private Date tglAkreditasiLast;
|
||||
|
||||
@Column(name = "qdiklatJurusan", nullable = true)
|
||||
@Column(name = "qdiklatJurusan")
|
||||
@Caption(value = "qdiklatJurusan")
|
||||
private Integer qdiklatJurusan;
|
||||
|
||||
public Integer getKdDiklatJurusan() {
|
||||
return kdDiklatJurusan;
|
||||
}
|
||||
|
||||
public void setKdDiklatJurusan(Integer kdDiklatJurusan) {
|
||||
this.kdDiklatJurusan = kdDiklatJurusan;
|
||||
}
|
||||
|
||||
public String getDiklatJurusan() {
|
||||
return diklatJurusan;
|
||||
}
|
||||
|
||||
public void setDiklatJurusan(String diklatJurusan) {
|
||||
this.diklatJurusan = diklatJurusan;
|
||||
}
|
||||
|
||||
public DiklatJurusan getDiklatJurusanHead() {
|
||||
return diklatJurusanHead;
|
||||
}
|
||||
|
||||
public void setDiklatJurusanHead(DiklatJurusan diklatJurusanHead) {
|
||||
this.diklatJurusanHead = diklatJurusanHead;
|
||||
}
|
||||
|
||||
public Integer getDiklatJurusanHeadId() {
|
||||
return diklatJurusanHeadId;
|
||||
}
|
||||
|
||||
public void setDiklatJurusanHeadId(Integer diklatJurusanHeadId) {
|
||||
this.diklatJurusanHeadId = diklatJurusanHeadId;
|
||||
}
|
||||
|
||||
public Integer getQtySksMin() {
|
||||
return qtySksMin;
|
||||
}
|
||||
|
||||
public void setQtySksMin(Integer qtySksMin) {
|
||||
this.qtySksMin = qtySksMin;
|
||||
}
|
||||
|
||||
public String getNoSkBerdiri() {
|
||||
return noSkBerdiri;
|
||||
}
|
||||
|
||||
public void setNoSkBerdiri(String noSkBerdiri) {
|
||||
this.noSkBerdiri = noSkBerdiri;
|
||||
}
|
||||
|
||||
public Date getTglBerdiri() {
|
||||
return tglBerdiri;
|
||||
}
|
||||
|
||||
public void setTglBerdiri(Date tglBerdiri) {
|
||||
this.tglBerdiri = tglBerdiri;
|
||||
}
|
||||
|
||||
public String getKdStatusAkredistasiLast() {
|
||||
return kdStatusAkredistasiLast;
|
||||
}
|
||||
|
||||
public void setKdStatusAkredistasiLast(String kdStatusAkredistasiLast) {
|
||||
this.kdStatusAkredistasiLast = kdStatusAkredistasiLast;
|
||||
}
|
||||
|
||||
public Date getTglAkreditasiLast() {
|
||||
return tglAkreditasiLast;
|
||||
}
|
||||
|
||||
public void setTglAkreditasiLast(Date tglAkreditasiLast) {
|
||||
this.tglAkreditasiLast = tglAkreditasiLast;
|
||||
}
|
||||
|
||||
public Integer getQdiklatJurusan() {
|
||||
return qdiklatJurusan;
|
||||
}
|
||||
|
||||
public void setQdiklatJurusan(Integer qdiklatJurusan) {
|
||||
this.qdiklatJurusan = qdiklatJurusan;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.diklatjurusan_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.diklatjurusan_m_id_seq", sequenceName = "public.diklatjurusan_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.diklatjurusan_m_id_seq")
|
||||
@SequenceGenerator(name = "public.diklatjurusan_m_id_seq", sequenceName = "public.diklatjurusan_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,26 @@
|
||||
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 com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.Date;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class DiklatJurusan
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DiklatKategori_M")
|
||||
public class DiklatKategori extends BaseMaster {
|
||||
|
||||
@Column(name = "kdDiklatKategori", nullable = false)
|
||||
@Caption(value = "kdDiklatKategori")
|
||||
private Integer kdDiklatKategori;
|
||||
@ -38,85 +37,22 @@ public class DiklatKategori extends BaseMaster {
|
||||
@Column(name = "diklatKategoriHeadFk", insertable = false, updatable = false)
|
||||
private Integer diklatKategoriHeadId;
|
||||
|
||||
@Column(name = "noSkBerdiri", nullable = true)
|
||||
@Column(name = "noSkBerdiri")
|
||||
@Caption(value = "noSkBerdiri")
|
||||
private String noSkBerdiri;
|
||||
|
||||
@Column(name = "tglBerdiri", nullable = true)
|
||||
@Column(name = "tglBerdiri")
|
||||
@Caption(value = "tglBerdiri")
|
||||
private Date tglBerdiri;
|
||||
|
||||
@Column(name = "qdiklatKategori", nullable = true)
|
||||
@Column(name = "qdiklatKategori")
|
||||
@Caption(value = "qdiklatKategori")
|
||||
private Integer qdiklatKategori;
|
||||
|
||||
public Integer getKdDiklatKategori() {
|
||||
return kdDiklatKategori;
|
||||
}
|
||||
|
||||
public void setKdDiklatKategori(Integer kdDiklatKategori) {
|
||||
this.kdDiklatKategori = kdDiklatKategori;
|
||||
}
|
||||
|
||||
public String getDiklatKategori() {
|
||||
return diklatKategori;
|
||||
}
|
||||
|
||||
public void setDiklatKategori(String diklatKategori) {
|
||||
this.diklatKategori = diklatKategori;
|
||||
}
|
||||
|
||||
public DiklatKategori getDiklatKategoriHead() {
|
||||
return diklatKategoriHead;
|
||||
}
|
||||
|
||||
public void setDiklatKategoriHead(DiklatKategori diklatKategoriHead) {
|
||||
this.diklatKategoriHead = diklatKategoriHead;
|
||||
}
|
||||
|
||||
public Integer getDiklatKategoriHeadId() {
|
||||
return diklatKategoriHeadId;
|
||||
}
|
||||
|
||||
public void setDiklatKategoriHeadId(Integer diklatKategoriHeadId) {
|
||||
this.diklatKategoriHeadId = diklatKategoriHeadId;
|
||||
}
|
||||
|
||||
public String getNoSkBerdiri() {
|
||||
return noSkBerdiri;
|
||||
}
|
||||
|
||||
public void setNoSkBerdiri(String noSkBerdiri) {
|
||||
this.noSkBerdiri = noSkBerdiri;
|
||||
}
|
||||
|
||||
public Date getTglBerdiri() {
|
||||
return tglBerdiri;
|
||||
}
|
||||
|
||||
public void setTglBerdiri(Date tglBerdiri) {
|
||||
this.tglBerdiri = tglBerdiri;
|
||||
}
|
||||
|
||||
public Integer getQdiklatKategori() {
|
||||
return qdiklatKategori;
|
||||
}
|
||||
|
||||
public void setQdiklatKategori(Integer qdiklatKategori) {
|
||||
this.qdiklatKategori = qdiklatKategori;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.diklatkategori_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.diklatkategori_m_id_seq", sequenceName = "public.diklatkategori_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.diklatkategori_m_id_seq")
|
||||
@SequenceGenerator(name = "public.diklatkategori_m_id_seq", sequenceName = "public.diklatkategori_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,26 @@
|
||||
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 com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.Date;
|
||||
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class DiklatJurusan
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DiklatProgram_M")
|
||||
public class DiklatProgram extends BaseMaster {
|
||||
|
||||
@Column(name = "kdDiklatProgram", nullable = false)
|
||||
@Caption(value = "kdDiklatProgram")
|
||||
private Integer kdDiklatProgram;
|
||||
@ -38,85 +37,22 @@ public class DiklatProgram extends BaseMaster {
|
||||
@Column(name = "diklatKategoriFk", insertable = false, updatable = false)
|
||||
private Integer diklatKategoriId;
|
||||
|
||||
@Column(name = "noSkBerdiri", nullable = true)
|
||||
@Column(name = "noSkBerdiri")
|
||||
@Caption(value = "noSkBerdiri")
|
||||
private String noSkBerdiri;
|
||||
|
||||
@Column(name = "tglBerdiri", nullable = true)
|
||||
@Column(name = "tglBerdiri")
|
||||
@Caption(value = "tglBerdiri")
|
||||
private Date tglBerdiri;
|
||||
|
||||
@Column(name = "qdiklatProgram", nullable = true)
|
||||
@Column(name = "qdiklatProgram")
|
||||
@Caption(value = "qdiklatProgram")
|
||||
private Integer qdiklatProgram;
|
||||
|
||||
public Integer getKdDiklatProgram() {
|
||||
return kdDiklatProgram;
|
||||
}
|
||||
|
||||
public void setKdDiklatProgram(Integer kdDiklatProgram) {
|
||||
this.kdDiklatProgram = kdDiklatProgram;
|
||||
}
|
||||
|
||||
public String getDiklatProgram() {
|
||||
return diklatProgram;
|
||||
}
|
||||
|
||||
public void setDiklatProgram(String diklatProgram) {
|
||||
this.diklatProgram = diklatProgram;
|
||||
}
|
||||
|
||||
public DiklatKategori getDiklatKategori() {
|
||||
return diklatKategori;
|
||||
}
|
||||
|
||||
public void setDiklatKategori(DiklatKategori diklatKategori) {
|
||||
this.diklatKategori = diklatKategori;
|
||||
}
|
||||
|
||||
public Integer getDiklatKategoriId() {
|
||||
return diklatKategoriId;
|
||||
}
|
||||
|
||||
public void setDiklatKategoriId(Integer diklatKategoriId) {
|
||||
this.diklatKategoriId = diklatKategoriId;
|
||||
}
|
||||
|
||||
public String getNoSkBerdiri() {
|
||||
return noSkBerdiri;
|
||||
}
|
||||
|
||||
public void setNoSkBerdiri(String noSkBerdiri) {
|
||||
this.noSkBerdiri = noSkBerdiri;
|
||||
}
|
||||
|
||||
public Date getTglBerdiri() {
|
||||
return tglBerdiri;
|
||||
}
|
||||
|
||||
public void setTglBerdiri(Date tglBerdiri) {
|
||||
this.tglBerdiri = tglBerdiri;
|
||||
}
|
||||
|
||||
public Integer getQdiklatProgram() {
|
||||
return qdiklatProgram;
|
||||
}
|
||||
|
||||
public void setQdiklatProgram(Integer qdiklatProgram) {
|
||||
this.qdiklatProgram = qdiklatProgram;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.diklatprogram_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.diklatprogram_m_id_seq", sequenceName = "public.diklatprogram_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.diklatprogram_m_id_seq")
|
||||
@SequenceGenerator(name = "public.diklatprogram_m_id_seq", sequenceName = "public.diklatprogram_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,23 +1,23 @@
|
||||
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 Agama
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "Diputuskan_M")
|
||||
public class Diputuskan extends BaseMaster {
|
||||
|
||||
@ -26,26 +26,10 @@ public class Diputuskan extends BaseMaster {
|
||||
@Caption(value = "value")
|
||||
private String value;
|
||||
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.diputuskan_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.diputuskan_m_id_seq", sequenceName = "public.diputuskan_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.diputuskan_m_id_seq")
|
||||
@SequenceGenerator(name = "public.diputuskan_m_id_seq", sequenceName = "public.diputuskan_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,70 +1,37 @@
|
||||
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.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 = "DiputuskanDetail_T")
|
||||
public class DiputuskanDetail extends BaseTransaction {
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "Diputuskan")
|
||||
@Caption(value="Pasien Daftar")
|
||||
@Caption(value = "Pasien Daftar")
|
||||
@JsonBackReference
|
||||
private Diputuskan Diputuskan;
|
||||
|
||||
@Column(name = "Diputuskan", insertable=false,updatable=false)
|
||||
@Column(name = "Diputuskan", insertable = false, updatable = false)
|
||||
private Integer DiputuskanId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "pasienDaftarFk")
|
||||
@Caption(value="Pasien Daftar")
|
||||
@Caption(value = "Pasien Daftar")
|
||||
@JsonBackReference
|
||||
private PasienDaftar pasienDaftar;
|
||||
|
||||
@Column(name = "pasienDaftarFk", insertable=false,updatable=false)
|
||||
@Column(name = "pasienDaftarFk", insertable = false, updatable = false)
|
||||
private String pasienDaftarId;
|
||||
|
||||
public Diputuskan getDiputuskan() {
|
||||
return Diputuskan;
|
||||
}
|
||||
|
||||
public void setDiputuskan(Diputuskan diputuskan) {
|
||||
Diputuskan = diputuskan;
|
||||
}
|
||||
|
||||
public Integer getDiputuskanId() {
|
||||
return DiputuskanId;
|
||||
}
|
||||
|
||||
public void setDiputuskanId(Integer diputuskanId) {
|
||||
DiputuskanId = diputuskanId;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,245 +1,96 @@
|
||||
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 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.FetchType.LAZY;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "Disposisi_T")
|
||||
public class Disposisi extends BaseTransaction{
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
public class Disposisi extends BaseTransaction {
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectDokumenFk")
|
||||
@NotNull(message="Object Dokumen Harus Diisi")
|
||||
@Caption(value="Object Dokumen")
|
||||
@NotNull(message = "Object Dokumen Harus Diisi")
|
||||
@Caption(value = "Object Dokumen")
|
||||
private Dokumen dokumen;
|
||||
|
||||
@Column(name = "ObjectDokumenFk", insertable=false,updatable=false)
|
||||
|
||||
@Column(name = "ObjectDokumenFk", insertable = false, updatable = false)
|
||||
private Integer ObjectDokumenId;
|
||||
|
||||
@Column(name = "NoSurat", nullable = true )
|
||||
@Caption(value="noSurat")
|
||||
|
||||
@Column(name = "NoSurat")
|
||||
@Caption(value = "noSurat")
|
||||
private String noSurat;
|
||||
|
||||
@Column(name = "hal", nullable = true )
|
||||
@Caption(value="hal")
|
||||
|
||||
@Column(name = "hal")
|
||||
@Caption(value = "hal")
|
||||
private String hal;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectJabatanDisampaikanFk")
|
||||
@Caption(value="Disampaikan")
|
||||
@Caption(value = "Disampaikan")
|
||||
private Jabatan jabatanDisampaikan;
|
||||
|
||||
@Column(name = "ObjectJabatanDisampaikanFk", insertable=false,updatable=false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectJabatanDisampaikanFk", insertable = false, updatable = false)
|
||||
private Integer jabatanDisampaikanId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPegawaiDisampaikanFk")
|
||||
@Caption(value="Disampaikan")
|
||||
@Caption(value = "Disampaikan")
|
||||
private Pegawai pegawaiDisampaikan;
|
||||
|
||||
@Column(name = "ObjectJabatanDisampaikanFk", insertable=false,updatable=false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectJabatanDisampaikanFk", insertable = false, updatable = false)
|
||||
private Integer pegawaiDisampaikanId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectJabatanAsalSuratFk")
|
||||
@Caption(value="Asal Surat")
|
||||
@Caption(value = "Asal Surat")
|
||||
private Jabatan jabatanAsalSurat;
|
||||
|
||||
@Column(name = "ObjectJabatanDisampaikanFk", insertable=false,updatable=false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectJabatanDisampaikanFk", insertable = false, updatable = false)
|
||||
private Integer jabatanAsalSuratId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPegawaiAsalSuratFk")
|
||||
@Caption(value="Pegawai Disampaikan")
|
||||
@Caption(value = "Pegawai Disampaikan")
|
||||
private Pegawai pegawaiAsalSurat;
|
||||
|
||||
@Column(name = "ObjectPegawaiAsalSuratFk", insertable=false,updatable=false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectPegawaiAsalSuratFk", insertable = false, updatable = false)
|
||||
private Integer pegawaiAsalSuratId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectSifatSuratFk")
|
||||
@Caption(value="Pegawai Disampaikan")
|
||||
@Caption(value = "Pegawai Disampaikan")
|
||||
private SifatSurat sifatSurat;
|
||||
|
||||
@Column(name = "ObjectSifatSuratFk", insertable=false,updatable=false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectSifatSuratFk", insertable = false, updatable = false)
|
||||
private Integer sifatSuratId;
|
||||
|
||||
@Column(name = "IsiSurat", nullable = true)
|
||||
@Caption(value="isiSurat")
|
||||
|
||||
@Column(name = "IsiSurat")
|
||||
@Caption(value = "isiSurat")
|
||||
private String isiSurat;
|
||||
|
||||
|
||||
@JsonManagedReference
|
||||
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "disposisi")
|
||||
private Set<DisposisiJabatan> disposisiJabatan=new HashSet<DisposisiJabatan>();
|
||||
|
||||
@OneToMany(cascade = CascadeType.ALL, fetch = LAZY, mappedBy = "disposisi")
|
||||
private Set<DisposisiJabatan> disposisiJabatan = new HashSet<>();
|
||||
|
||||
@JsonManagedReference
|
||||
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "disposisi")
|
||||
private Set<DisposisiTanggapan> disposisiTanggapan=new HashSet<DisposisiTanggapan>();
|
||||
|
||||
@Column(name = "tanggal", nullable = true )
|
||||
@Caption(value="Tanggal")
|
||||
@OneToMany(cascade = CascadeType.ALL, fetch = LAZY, mappedBy = "disposisi")
|
||||
private Set<DisposisiTanggapan> disposisiTanggapan = new HashSet<>();
|
||||
|
||||
@Column(name = "tanggal")
|
||||
@Caption(value = "Tanggal")
|
||||
private Date tanggal;
|
||||
|
||||
public Dokumen getDokumen() {
|
||||
return dokumen;
|
||||
}
|
||||
|
||||
public void setDokumen(Dokumen dokumen) {
|
||||
this.dokumen = dokumen;
|
||||
}
|
||||
|
||||
public Integer getObjectDokumenId() {
|
||||
return ObjectDokumenId;
|
||||
}
|
||||
|
||||
public void setObjectDokumenId(Integer objectDokumenId) {
|
||||
ObjectDokumenId = objectDokumenId;
|
||||
}
|
||||
|
||||
public String getNoSurat() {
|
||||
return noSurat;
|
||||
}
|
||||
|
||||
public void setNoSurat(String noSurat) {
|
||||
this.noSurat = noSurat;
|
||||
}
|
||||
|
||||
public String getHal() {
|
||||
return hal;
|
||||
}
|
||||
|
||||
public void setHal(String hal) {
|
||||
this.hal = hal;
|
||||
}
|
||||
|
||||
|
||||
public Date getTanggal() {
|
||||
return tanggal;
|
||||
}
|
||||
|
||||
public void setTanggal(Date tanggal) {
|
||||
this.tanggal = tanggal;
|
||||
}
|
||||
|
||||
public Jabatan getJabatanDisampaikan() {
|
||||
return jabatanDisampaikan;
|
||||
}
|
||||
|
||||
public void setJabatanDisampaikan(Jabatan jabatanDisampaikan) {
|
||||
this.jabatanDisampaikan = jabatanDisampaikan;
|
||||
}
|
||||
|
||||
public Integer getJabatanDisampaikanId() {
|
||||
return jabatanDisampaikanId;
|
||||
}
|
||||
|
||||
public void setJabatanDisampaikanId(Integer jabatanDisampaikanId) {
|
||||
this.jabatanDisampaikanId = jabatanDisampaikanId;
|
||||
}
|
||||
|
||||
public Pegawai getPegawaiDisampaikan() {
|
||||
return pegawaiDisampaikan;
|
||||
}
|
||||
|
||||
public void setPegawaiDisampaikan(Pegawai pegawaiDisampaikan) {
|
||||
this.pegawaiDisampaikan = pegawaiDisampaikan;
|
||||
}
|
||||
|
||||
public Integer getPegawaiDisampaikanId() {
|
||||
return pegawaiDisampaikanId;
|
||||
}
|
||||
|
||||
public void setPegawaiDisampaikanId(Integer pegawaiDisampaikanId) {
|
||||
this.pegawaiDisampaikanId = pegawaiDisampaikanId;
|
||||
}
|
||||
|
||||
public Jabatan getJabatanAsalSurat() {
|
||||
return jabatanAsalSurat;
|
||||
}
|
||||
|
||||
public void setJabatanAsalSurat(Jabatan jabatanAsalSurat) {
|
||||
this.jabatanAsalSurat = jabatanAsalSurat;
|
||||
}
|
||||
|
||||
public Integer getJabatanAsalSuratId() {
|
||||
return jabatanAsalSuratId;
|
||||
}
|
||||
|
||||
public void setJabatanAsalSuratId(Integer jabatanAsalSuratId) {
|
||||
this.jabatanAsalSuratId = jabatanAsalSuratId;
|
||||
}
|
||||
|
||||
public Pegawai getPegawaiAsalSurat() {
|
||||
return pegawaiAsalSurat;
|
||||
}
|
||||
|
||||
public void setPegawaiAsalSurat(Pegawai pegawaiAsalSurat) {
|
||||
this.pegawaiAsalSurat = pegawaiAsalSurat;
|
||||
}
|
||||
|
||||
public Integer getPegawaiAsalSuratId() {
|
||||
return pegawaiAsalSuratId;
|
||||
}
|
||||
|
||||
public void setPegawaiAsalSuratId(Integer pegawaiAsalSuratId) {
|
||||
this.pegawaiAsalSuratId = pegawaiAsalSuratId;
|
||||
}
|
||||
|
||||
public SifatSurat getSifatSurat() {
|
||||
return sifatSurat;
|
||||
}
|
||||
|
||||
public void setSifatSurat(SifatSurat sifatSurat) {
|
||||
this.sifatSurat = sifatSurat;
|
||||
}
|
||||
|
||||
public Integer getSifatSuratId() {
|
||||
return sifatSuratId;
|
||||
}
|
||||
|
||||
public void setSifatSuratId(Integer sifatSuratId) {
|
||||
this.sifatSuratId = sifatSuratId;
|
||||
}
|
||||
|
||||
public String getIsiSurat() {
|
||||
return isiSurat;
|
||||
}
|
||||
|
||||
public void setIsiSurat(String isiSurat) {
|
||||
this.isiSurat = isiSurat;
|
||||
}
|
||||
|
||||
public Set<DisposisiJabatan> getDisposisiJabatan() {
|
||||
return disposisiJabatan;
|
||||
}
|
||||
|
||||
public void setDisposisiJabatan(Set<DisposisiJabatan> disposisiJabatan) {
|
||||
this.disposisiJabatan = disposisiJabatan;
|
||||
}
|
||||
|
||||
public Set<DisposisiTanggapan> getDisposisiTanggapan() {
|
||||
return disposisiTanggapan;
|
||||
}
|
||||
|
||||
public void setDisposisiTanggapan(Set<DisposisiTanggapan> disposisiTanggapan) {
|
||||
this.disposisiTanggapan = disposisiTanggapan;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -1,94 +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 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 static javax.persistence.FetchType.LAZY;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DisposisiJabatan_T")
|
||||
public class DisposisiJabatan extends BaseTransaction {
|
||||
|
||||
|
||||
@JsonBackReference
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectDisposisiFk")
|
||||
@Caption(value="disposisi")
|
||||
@Caption(value = "disposisi")
|
||||
private Disposisi disposisi;
|
||||
|
||||
@Column(name = "ObjectDisposisiFk", insertable=false,updatable=false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectDisposisiFk", insertable = false, updatable = false)
|
||||
private String disposisiId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectJabatanFk")
|
||||
@Caption(value="jabatan")
|
||||
@Caption(value = "jabatan")
|
||||
private Jabatan jabatan;
|
||||
|
||||
@Column(name = "ObjectJabatanFk", insertable=false,updatable=false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectJabatanFk", insertable = false, updatable = false)
|
||||
private Integer jabatanId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@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;
|
||||
|
||||
|
||||
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 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 Disposisi getDisposisi() {
|
||||
return disposisi;
|
||||
}
|
||||
|
||||
public void setDisposisi(Disposisi disposisi) {
|
||||
this.disposisi = disposisi;
|
||||
}
|
||||
|
||||
public String getDisposisiId() {
|
||||
return disposisiId;
|
||||
}
|
||||
|
||||
public void setDisposisiId(String disposisiId) {
|
||||
this.disposisiId = disposisiId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -1,68 +1,36 @@
|
||||
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.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 = "DisposisiTanggapan_T")
|
||||
public class DisposisiTanggapan extends BaseTransaction {
|
||||
|
||||
|
||||
@JsonBackReference
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectDisposisiFk")
|
||||
@Caption(value="disposisi")
|
||||
@Caption(value = "disposisi")
|
||||
private Disposisi disposisi;
|
||||
|
||||
@Column(name = "ObjectDisposisiFk", insertable=false,updatable=false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectDisposisiFk", insertable = false, updatable = false)
|
||||
private String disposisiId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectTanggapanFk")
|
||||
@Caption(value="tanggapan")
|
||||
@Caption(value = "tanggapan")
|
||||
private Tanggapan tanggapan;
|
||||
|
||||
@Column(name = "ObjectTanggapanFk", insertable=false,updatable=false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectTanggapanFk", insertable = false, updatable = false)
|
||||
private Integer tanggapanId;
|
||||
|
||||
public Disposisi getDisposisi() {
|
||||
return disposisi;
|
||||
}
|
||||
|
||||
public void setDisposisi(Disposisi disposisi) {
|
||||
this.disposisi = disposisi;
|
||||
}
|
||||
|
||||
public String getDisposisiId() {
|
||||
return disposisiId;
|
||||
}
|
||||
|
||||
public void setDisposisiId(String disposisiId) {
|
||||
this.disposisiId = disposisiId;
|
||||
}
|
||||
|
||||
public Tanggapan getTanggapan() {
|
||||
return tanggapan;
|
||||
}
|
||||
|
||||
public void setTanggapan(Tanggapan tanggapan) {
|
||||
this.tanggapan = tanggapan;
|
||||
}
|
||||
|
||||
public Integer getTanggapanId() {
|
||||
return tanggapanId;
|
||||
}
|
||||
|
||||
public void setTanggapanId(Integer tanggapanId) {
|
||||
this.tanggapanId = tanggapanId;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -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 DokterPelaksana
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "RM_DokterPelaksana_M")
|
||||
public class DokterPelaksana 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.dokterpelaksana_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.dokterpelaksana_m_id_seq", sequenceName = "public.dokterpelaksana_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.dokterpelaksana_m_id_seq")
|
||||
@SequenceGenerator(name = "public.dokterpelaksana_m_id_seq", sequenceName = "public.dokterpelaksana_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public Integer getId() {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@ -21,6 +21,7 @@ import static javax.persistence.FetchType.LAZY;
|
||||
@Entity
|
||||
@Table(name = "dokterrawatbersama_t")
|
||||
public class DokterRawatBersama implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 6332383431538705253L;
|
||||
|
||||
@EmbeddedId
|
||||
@ -40,4 +41,5 @@ public class DokterRawatBersama implements Serializable {
|
||||
|
||||
@Column(name = "noregistrasifk", columnDefinition = "CHAR(32)", nullable = false, insertable = false, updatable = false)
|
||||
private String detailRegistrasiId;
|
||||
|
||||
}
|
||||
|
||||
@ -23,15 +23,17 @@ import static javax.persistence.FetchType.LAZY;
|
||||
@NoArgsConstructor
|
||||
@Embeddable
|
||||
public class DokterRawatBersamaId implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 6205499315933943133L;
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "dpjppasienfk")
|
||||
@ToString.Exclude
|
||||
private DpjpPasien dpjpPasien;
|
||||
@JoinColumn(name = "dpjppasienfk")
|
||||
@ToString.Exclude
|
||||
private DpjpPasien dpjpPasien;
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "dokterfk")
|
||||
@ToString.Exclude
|
||||
private Pegawai dokter;
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "dokterfk")
|
||||
@ToString.Exclude
|
||||
private Pegawai dokter;
|
||||
}
|
||||
|
||||
@ -1,59 +1,61 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import 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.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class Dokumen
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@Entity
|
||||
@Table(name = "Dokumen_M")
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class Dokumen extends BaseMaster {
|
||||
|
||||
public Dokumen (Integer id, Pegawai pegawaiPembuat,String namaJudulDokumen,Integer qDokumen){
|
||||
public Dokumen(Integer id, Pegawai pegawaiPembuat, String namaJudulDokumen, Integer qDokumen) {
|
||||
super();
|
||||
this.id= id;
|
||||
this.id = id;
|
||||
this.pegawaiPembuat = pegawaiPembuat;
|
||||
this.namaJudulDokumen = namaJudulDokumen;
|
||||
this.qDokumen= qDokumen;
|
||||
this.qDokumen = qDokumen;
|
||||
}
|
||||
public Dokumen (Integer id, Pegawai pegawaiPembuat,String namaJudulDokumen,Integer qDokumen,String noDokumen){
|
||||
|
||||
public Dokumen(Integer id, Pegawai pegawaiPembuat, String namaJudulDokumen, Integer qDokumen, String noDokumen) {
|
||||
super();
|
||||
this.id= id;
|
||||
this.id = id;
|
||||
this.noDokumen = noDokumen;
|
||||
this.pegawaiPembuat = pegawaiPembuat;
|
||||
this.namaJudulDokumen = namaJudulDokumen;
|
||||
this.qDokumen= qDokumen;
|
||||
this.qDokumen = qDokumen;
|
||||
}
|
||||
public Dokumen(){}
|
||||
|
||||
@Column(name = "DeskripsiDokumen", nullable = true, length = 500)
|
||||
|
||||
@Column(name = "DeskripsiDokumen", length = 500)
|
||||
@Caption(value = "Deskripsi Dokumen")
|
||||
private String deskripsiDokumen;
|
||||
|
||||
//Masuk 0, keluar 1, Buat Penomoran = 2, Surat Masuk ke Eksternal =3
|
||||
@Column(name = "isDokumenInOutInt", nullable = true)
|
||||
/**
|
||||
* Masuk 0, keluar 1, Buat Penomoran = 2, Surat Masuk ke Eksternal =3
|
||||
*/
|
||||
@Column(name = "isDokumenInOutInt")
|
||||
@Caption(value = "Is Dokumen In Out Int")
|
||||
private Byte isDokumenInOutInt;
|
||||
|
||||
@Column(name = "KdDokumen", nullable = true)
|
||||
@Column(name = "KdDokumen")
|
||||
@Caption(value = "Kode Dokumen")
|
||||
private Integer kdDokumen;
|
||||
|
||||
@ -65,23 +67,23 @@ public class Dokumen extends BaseMaster {
|
||||
@Column(name = "ObjectDokumenHeadFk", insertable = false, updatable = false)
|
||||
private Integer dokumenHeadId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectJenisDokumenFk")
|
||||
@Caption(value = "Object Jenis Dokumen")
|
||||
private JenisDokumen jenisDokumen;
|
||||
|
||||
@Column(name = "ObjectJenisDokumenFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectJenisDokumenFk", insertable = false, updatable = false)
|
||||
private Integer jenisDokumenId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectKategoryDokumenFk")
|
||||
@Caption(value = "Object Kategory Dokumen")
|
||||
private KategoryDokumen kategoryDokumen;
|
||||
|
||||
@Column(name = "ObjectKategoryDokumenFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectKategoryDokumenFk", insertable = false, updatable = false)
|
||||
private Integer kategoryDokumenId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectLokasiFk")
|
||||
@Caption(value = "Object Lokasi")
|
||||
private Lokasi lokasi;
|
||||
@ -89,7 +91,7 @@ public class Dokumen extends BaseMaster {
|
||||
@Column(name = "ObjectLokasiFk", insertable = false, updatable = false, nullable = false)
|
||||
private Integer lokasiId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectPegawaiPembuatFk")
|
||||
@Caption(value = "Object Pegawai Pembuat")
|
||||
private Pegawai pegawaiPembuat;
|
||||
@ -97,7 +99,7 @@ public class Dokumen extends BaseMaster {
|
||||
@Column(name = "ObjectPegawaiPembuatFk", insertable = false, updatable = false)
|
||||
private Integer pegawaiPembuatId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectRuanganFk")
|
||||
@Caption(value = "Object Ruangan")
|
||||
private Ruangan ruangan;
|
||||
@ -110,16 +112,16 @@ public class Dokumen extends BaseMaster {
|
||||
@Caption(value = "Nama Judul Dokumen")
|
||||
private String namaJudulDokumen;
|
||||
|
||||
@Column(name = "NoDokumen", nullable = true, length = 30)
|
||||
@Column(name = "NoDokumen", length = 30)
|
||||
@Caption(value = "No Dokumen")
|
||||
private String noDokumen;
|
||||
|
||||
@Column(name = "PathFile", nullable = true, length = 300)
|
||||
@Column(name = "PathFile", length = 300)
|
||||
@Caption(value = "Path File")
|
||||
private String pathFile;
|
||||
|
||||
@Caption(value = "Pegawai Pembuat")
|
||||
@Column(name = "PegawaiPembuat", nullable = true, length = 160)
|
||||
@Column(name = "PegawaiPembuat", length = 160)
|
||||
private String namaPegawaiPembuat;
|
||||
|
||||
@NotNull(message = "QDokumen tidak boleh kosong")
|
||||
@ -127,327 +129,85 @@ public class Dokumen extends BaseMaster {
|
||||
@Caption(value = "QDokumen")
|
||||
private Integer qDokumen;
|
||||
|
||||
@Column(name = "QtyLampiran", nullable = true)
|
||||
@Column(name = "QtyLampiran")
|
||||
@Caption(value = "Qty Lampiran")
|
||||
private short qtyLampiran;
|
||||
|
||||
@Column(name = "TglDokumen", nullable = true)
|
||||
@Column(name = "TglDokumen")
|
||||
@Caption(value = "Tanggal Dokumen")
|
||||
private Date tglDokumen;
|
||||
|
||||
@Column(name = "TglBerakhir", nullable = true)
|
||||
@Column(name = "TglBerakhir")
|
||||
@Caption(value = "Tanggal Berakhir")
|
||||
private Date tglBerakhir;
|
||||
|
||||
@Column(name = "TglTerbit", nullable = true)
|
||||
@Column(name = "TglTerbit")
|
||||
@Caption(value = "Tanggal Terbit")
|
||||
private Date tglTerbit;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "SuratFk")
|
||||
@Caption(value = "Object Dokumen")
|
||||
private Surat surat;
|
||||
|
||||
@Column(name = "SuratFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "SuratFk", insertable = false, updatable = false)
|
||||
private Integer suratId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "SatuanWaktuFk")
|
||||
@Caption(value = "Satuan Waktu")
|
||||
private SatuanWaktu satuanWaktu;
|
||||
|
||||
@Column(name = "SatuanWaktuFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "SatuanWaktuFk", insertable = false, updatable = false)
|
||||
private Integer satuanWaktuId;
|
||||
|
||||
@Column(name = "JangkaWaktu", nullable = true)
|
||||
@Column(name = "JangkaWaktu")
|
||||
@Caption(value = "Jangka Waktu")
|
||||
private Integer jangkaWaktu;
|
||||
|
||||
@Column(name = "Status", nullable = true)
|
||||
@Column(name = "Status")
|
||||
@Caption(value = "Status")
|
||||
private String status;
|
||||
|
||||
@Column(name = "IsVerifikasi", nullable = true)
|
||||
|
||||
@Column(name = "IsVerifikasi")
|
||||
public String isVerifikasi;
|
||||
|
||||
|
||||
@Caption(value = "Bulan")
|
||||
@Column(name="Bulan", nullable=true)
|
||||
@Column(name = "Bulan")
|
||||
private Integer bulan;
|
||||
|
||||
|
||||
@Caption(value = "Tahun")
|
||||
@Column(name="Tahun", nullable=true)
|
||||
@Column(name = "Tahun")
|
||||
private Integer tahun;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "klasifikasiArsipFk")
|
||||
@Caption(value = "klasifikasi Arsip")
|
||||
private KlasifikasiArsip klasifikasiArsip;
|
||||
|
||||
@Column(name = "klasifikasiArsipFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "klasifikasiArsipFk", insertable = false, updatable = false)
|
||||
private Integer klasifikasiArsipFk;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "subKlasifikasiArsipFk")
|
||||
@Caption(value = "subKlasifikasiArsip")
|
||||
private SubKlasifikasiArsip subKlasifikasiArsip;
|
||||
|
||||
@Column(name = "subKlasifikasiArsipFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "subKlasifikasiArsipFk", insertable = false, updatable = false)
|
||||
private Integer subKlasifikasiArsipFk;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "unitPengelolaPrakarsaSuratFk")
|
||||
@Caption(value = "unitPengelolaPrakarsaSurat")
|
||||
private UnitPengelolaPrakarsaSurat unitPengelolaPrakarsaSurat;
|
||||
|
||||
@Column(name = "unitPengelolaPrakarsaSuratFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "unitPengelolaPrakarsaSuratFk", insertable = false, updatable = false)
|
||||
private Integer unitPengelolaPrakarsaSuratFk;
|
||||
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.dokumen_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.dokumen_m_id_seq", sequenceName = "public.dokumen_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.dokumen_m_id_seq")
|
||||
@SequenceGenerator(name = "public.dokumen_m_id_seq", sequenceName = "public.dokumen_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public String getDeskripsiDokumen() {
|
||||
return deskripsiDokumen;
|
||||
}
|
||||
public void setDeskripsiDokumen(String deskripsiDokumen) {
|
||||
this.deskripsiDokumen = deskripsiDokumen;
|
||||
}
|
||||
public Byte getIsDokumenInOutInt() {
|
||||
return isDokumenInOutInt;
|
||||
}
|
||||
public void setIsDokumenInOutInt(Byte isDokumenInOutInt) {
|
||||
this.isDokumenInOutInt = isDokumenInOutInt;
|
||||
}
|
||||
public Integer getKdDokumen() {
|
||||
return kdDokumen;
|
||||
}
|
||||
public void setKdDokumen(Integer kdDokumen) {
|
||||
this.kdDokumen = kdDokumen;
|
||||
}
|
||||
public Dokumen getDokumenHead() {
|
||||
return dokumenHead;
|
||||
}
|
||||
public void setDokumenHead(Dokumen dokumenHead) {
|
||||
this.dokumenHead = dokumenHead;
|
||||
}
|
||||
public Integer getDokumenHeadId() {
|
||||
return dokumenHeadId;
|
||||
}
|
||||
public void setDokumenHeadId(Integer dokumenHeadId) {
|
||||
this.dokumenHeadId = dokumenHeadId;
|
||||
}
|
||||
public JenisDokumen getJenisDokumen() {
|
||||
return jenisDokumen;
|
||||
}
|
||||
public void setJenisDokumen(JenisDokumen jenisDokumen) {
|
||||
this.jenisDokumen = jenisDokumen;
|
||||
}
|
||||
public Integer getJenisDokumenId() {
|
||||
return jenisDokumenId;
|
||||
}
|
||||
public void setJenisDokumenId(Integer jenisDokumenId) {
|
||||
this.jenisDokumenId = jenisDokumenId;
|
||||
}
|
||||
public KategoryDokumen getKategoryDokumen() {
|
||||
return kategoryDokumen;
|
||||
}
|
||||
public void setKategoryDokumen(KategoryDokumen kategoryDokumen) {
|
||||
this.kategoryDokumen = kategoryDokumen;
|
||||
}
|
||||
public Integer getKategoryDokumenId() {
|
||||
return kategoryDokumenId;
|
||||
}
|
||||
public void setKategoryDokumenId(Integer kategoryDokumenId) {
|
||||
this.kategoryDokumenId = kategoryDokumenId;
|
||||
}
|
||||
public Lokasi getLokasi() {
|
||||
return lokasi;
|
||||
}
|
||||
public void setLokasi(Lokasi lokasi) {
|
||||
this.lokasi = lokasi;
|
||||
}
|
||||
public Integer getLokasiId() {
|
||||
return lokasiId;
|
||||
}
|
||||
public void setLokasiId(Integer lokasiId) {
|
||||
this.lokasiId = lokasiId;
|
||||
}
|
||||
public Pegawai getPegawaiPembuat() {
|
||||
return pegawaiPembuat;
|
||||
}
|
||||
public void setPegawaiPembuat(Pegawai pegawaiPembuat) {
|
||||
this.pegawaiPembuat = pegawaiPembuat;
|
||||
}
|
||||
public Integer getPegawaiPembuatId() {
|
||||
return pegawaiPembuatId;
|
||||
}
|
||||
public void setPegawaiPembuatId(Integer pegawaiPembuatId) {
|
||||
this.pegawaiPembuatId = pegawaiPembuatId;
|
||||
}
|
||||
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 String getNamaJudulDokumen() {
|
||||
return namaJudulDokumen;
|
||||
}
|
||||
public void setNamaJudulDokumen(String namaJudulDokumen) {
|
||||
this.namaJudulDokumen = namaJudulDokumen;
|
||||
}
|
||||
public String getNoDokumen() {
|
||||
return noDokumen;
|
||||
}
|
||||
public void setNoDokumen(String noDokumen) {
|
||||
this.noDokumen = noDokumen;
|
||||
}
|
||||
public String getPathFile() {
|
||||
return pathFile;
|
||||
}
|
||||
public void setPathFile(String pathFile) {
|
||||
this.pathFile = pathFile;
|
||||
}
|
||||
public String getNamaPegawaiPembuat() {
|
||||
return namaPegawaiPembuat;
|
||||
}
|
||||
public void setNamaPegawaiPembuat(String namaPegawaiPembuat) {
|
||||
this.namaPegawaiPembuat = namaPegawaiPembuat;
|
||||
}
|
||||
public Integer getqDokumen() {
|
||||
return qDokumen;
|
||||
}
|
||||
public void setqDokumen(Integer qDokumen) {
|
||||
this.qDokumen = qDokumen;
|
||||
}
|
||||
public short getQtyLampiran() {
|
||||
return qtyLampiran;
|
||||
}
|
||||
public void setQtyLampiran(short qtyLampiran) {
|
||||
this.qtyLampiran = qtyLampiran;
|
||||
}
|
||||
public Date getTglDokumen() {
|
||||
return tglDokumen;
|
||||
}
|
||||
public void setTglDokumen(Date tglDokumen) {
|
||||
this.tglDokumen = tglDokumen;
|
||||
}
|
||||
public Date getTglBerakhir() {
|
||||
return tglBerakhir;
|
||||
}
|
||||
public void setTglBerakhir(Date tglBerakhir) {
|
||||
this.tglBerakhir = tglBerakhir;
|
||||
}
|
||||
public Date getTglTerbit() {
|
||||
return tglTerbit;
|
||||
}
|
||||
public void setTglTerbit(Date tglTerbit) {
|
||||
this.tglTerbit = tglTerbit;
|
||||
}
|
||||
public Surat getSurat() {
|
||||
return surat;
|
||||
}
|
||||
public void setSurat(Surat surat) {
|
||||
this.surat = surat;
|
||||
}
|
||||
public Integer getSuratId() {
|
||||
return suratId;
|
||||
}
|
||||
public void setSuratId(Integer suratId) {
|
||||
this.suratId = suratId;
|
||||
}
|
||||
public SatuanWaktu getSatuanWaktu() {
|
||||
return satuanWaktu;
|
||||
}
|
||||
public void setSatuanWaktu(SatuanWaktu satuanWaktu) {
|
||||
this.satuanWaktu = satuanWaktu;
|
||||
}
|
||||
public Integer getSatuanWaktuId() {
|
||||
return satuanWaktuId;
|
||||
}
|
||||
public void setSatuanWaktuId(Integer satuanWaktuId) {
|
||||
this.satuanWaktuId = satuanWaktuId;
|
||||
}
|
||||
public Integer getJangkaWaktu() {
|
||||
return jangkaWaktu;
|
||||
}
|
||||
public void setJangkaWaktu(Integer jangkaWaktu) {
|
||||
this.jangkaWaktu = jangkaWaktu;
|
||||
}
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
public String getIsVerifikasi() {
|
||||
return isVerifikasi;
|
||||
}
|
||||
public void setIsVerifikasi(String isVerifikasi) {
|
||||
this.isVerifikasi = isVerifikasi;
|
||||
}
|
||||
public Integer getBulan() {
|
||||
return bulan;
|
||||
}
|
||||
public void setBulan(Integer bulan) {
|
||||
this.bulan = bulan;
|
||||
}
|
||||
public Integer getTahun() {
|
||||
return tahun;
|
||||
}
|
||||
public void setTahun(Integer tahun) {
|
||||
this.tahun = tahun;
|
||||
}
|
||||
public KlasifikasiArsip getKlasifikasiArsip() {
|
||||
return klasifikasiArsip;
|
||||
}
|
||||
public void setKlasifikasiArsip(KlasifikasiArsip klasifikasiArsip) {
|
||||
this.klasifikasiArsip = klasifikasiArsip;
|
||||
}
|
||||
public Integer getKlasifikasiArsipFk() {
|
||||
return klasifikasiArsipFk;
|
||||
}
|
||||
public void setKlasifikasiArsipFk(Integer klasifikasiArsipFk) {
|
||||
this.klasifikasiArsipFk = klasifikasiArsipFk;
|
||||
}
|
||||
public SubKlasifikasiArsip getSubKlasifikasiArsip() {
|
||||
return subKlasifikasiArsip;
|
||||
}
|
||||
public void setSubKlasifikasiArsip(SubKlasifikasiArsip subKlasifikasiArsip) {
|
||||
this.subKlasifikasiArsip = subKlasifikasiArsip;
|
||||
}
|
||||
public Integer getSubKlasifikasiArsipFk() {
|
||||
return subKlasifikasiArsipFk;
|
||||
}
|
||||
public void setSubKlasifikasiArsipFk(Integer subKlasifikasiArsipFk) {
|
||||
this.subKlasifikasiArsipFk = subKlasifikasiArsipFk;
|
||||
}
|
||||
public UnitPengelolaPrakarsaSurat getUnitPengelolaPrakarsaSurat() {
|
||||
return unitPengelolaPrakarsaSurat;
|
||||
}
|
||||
public void setUnitPengelolaPrakarsaSurat(UnitPengelolaPrakarsaSurat unitPengelolaPrakarsaSurat) {
|
||||
this.unitPengelolaPrakarsaSurat = unitPengelolaPrakarsaSurat;
|
||||
}
|
||||
public Integer getUnitPengelolaPrakarsaSuratFk() {
|
||||
return unitPengelolaPrakarsaSuratFk;
|
||||
}
|
||||
public void setUnitPengelolaPrakarsaSuratFk(Integer unitPengelolaPrakarsaSuratFk) {
|
||||
this.unitPengelolaPrakarsaSuratFk = unitPengelolaPrakarsaSuratFk;
|
||||
}
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,140 +1,60 @@
|
||||
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.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
/**
|
||||
* class DokumenHistoriEvaluasi
|
||||
*
|
||||
* @author Lukman Hakim
|
||||
*/
|
||||
@Entity
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DokumenHistoriEvaluasiK_T")
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class DokumenHistoriEvaluasi extends BaseTransaction {
|
||||
|
||||
@Column(name = "NoHistori", nullable = true, length = 30)
|
||||
|
||||
@Column(name = "NoHistori", length = 30)
|
||||
@Caption(value = "No Histori")
|
||||
private String NoHistori;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectDokumenFk")
|
||||
@Caption(value = "Dokumen")
|
||||
private Dokumen dokumen;
|
||||
|
||||
@Column(name = "ObjectDokumenFk", insertable = false, updatable = false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectDokumenFk", insertable = false, updatable = false)
|
||||
private Integer dokumenId;
|
||||
|
||||
@Column(name="HasilEvaluasi")
|
||||
|
||||
@Column(name = "HasilEvaluasi")
|
||||
private String hasilEvaluasi;
|
||||
|
||||
@Column(name="NilaiHasilEvaluasi")
|
||||
|
||||
@Column(name = "NilaiHasilEvaluasi")
|
||||
private Double nilaiHasilEvaluasi;
|
||||
|
||||
@Column(name="MemoRekomendaasi")
|
||||
|
||||
@Column(name = "MemoRekomendaasi")
|
||||
private String memoRekomendasi;
|
||||
|
||||
@Column(name="KeteranganLainnya")
|
||||
|
||||
@Column(name = "KeteranganLainnya")
|
||||
private String keteranganLainnya;
|
||||
|
||||
@Column(name="NoVerifikasi")
|
||||
|
||||
@Column(name = "NoVerifikasi")
|
||||
private String noVerifikasi;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectDokumenHasilFk")
|
||||
@Caption(value = "Dokumen")
|
||||
private Dokumen dokumenHasil;
|
||||
|
||||
@Column(name = "ObjectDokumenHasilFk", insertable = false, updatable = false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectDokumenHasilFk", insertable = false, updatable = false)
|
||||
private Integer dokumenHasilId;
|
||||
|
||||
public String getNoHistori() {
|
||||
return NoHistori;
|
||||
}
|
||||
|
||||
public void setNoHistori(String noHistori) {
|
||||
NoHistori = noHistori;
|
||||
}
|
||||
|
||||
public Dokumen getDokumen() {
|
||||
return dokumen;
|
||||
}
|
||||
|
||||
public void setDokumen(Dokumen dokumen) {
|
||||
this.dokumen = dokumen;
|
||||
}
|
||||
|
||||
public Integer getDokumenId() {
|
||||
return dokumenId;
|
||||
}
|
||||
|
||||
public void setDokumenId(Integer dokumenId) {
|
||||
this.dokumenId = dokumenId;
|
||||
}
|
||||
|
||||
public String getHasilEvaluasi() {
|
||||
return hasilEvaluasi;
|
||||
}
|
||||
|
||||
public void setHasilEvaluasi(String hasilEvaluasi) {
|
||||
this.hasilEvaluasi = hasilEvaluasi;
|
||||
}
|
||||
|
||||
public Double getNilaiHasilEvaluasi() {
|
||||
return nilaiHasilEvaluasi;
|
||||
}
|
||||
|
||||
public void setNilaiHasilEvaluasi(Double nilaiHasilEvaluasi) {
|
||||
this.nilaiHasilEvaluasi = nilaiHasilEvaluasi;
|
||||
}
|
||||
|
||||
public String getMemoRekomendasi() {
|
||||
return memoRekomendasi;
|
||||
}
|
||||
|
||||
public void setMemoRekomendasi(String memoRekomendasi) {
|
||||
this.memoRekomendasi = memoRekomendasi;
|
||||
}
|
||||
|
||||
public String getKeteranganLainnya() {
|
||||
return keteranganLainnya;
|
||||
}
|
||||
|
||||
public void setKeteranganLainnya(String keteranganLainnya) {
|
||||
this.keteranganLainnya = keteranganLainnya;
|
||||
}
|
||||
|
||||
public String getNoVerifikasi() {
|
||||
return noVerifikasi;
|
||||
}
|
||||
|
||||
public void setNoVerifikasi(String noVerifikasi) {
|
||||
this.noVerifikasi = noVerifikasi;
|
||||
}
|
||||
|
||||
public Dokumen getDokumenHasil() {
|
||||
return dokumenHasil;
|
||||
}
|
||||
|
||||
public void setDokumenHasil(Dokumen dokumenHasil) {
|
||||
this.dokumenHasil = dokumenHasil;
|
||||
}
|
||||
|
||||
public Integer getDokumenHasilId() {
|
||||
return dokumenHasilId;
|
||||
}
|
||||
|
||||
public void setDokumenHasilId(Integer dokumenHasilId) {
|
||||
this.dokumenHasilId = dokumenHasilId;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,25 +1,30 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
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;
|
||||
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
/**
|
||||
* class DokumenInternal
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
@Table(name = "DokumenInternal_T")
|
||||
public class DokumenInternal extends BaseTransaction {
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch=LAZY)
|
||||
@JoinColumn(name = "ObjectDokumenFk")
|
||||
@NotNull(message="Object Dokumen Harus Diisi")
|
||||
@Caption(value="Object Dokumen")
|
||||
@ -28,7 +33,7 @@ public class DokumenInternal extends BaseTransaction {
|
||||
@Column(name = "ObjectDokumenFk", insertable=false,updatable=false)
|
||||
private Integer ObjectDokumenId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch= LAZY)
|
||||
@JoinColumn(name = "ObjectPegawaiTujuanFk")
|
||||
@Caption(value="Object Pegawai Tujuan")
|
||||
private Pegawai kdpegawaitujuan;
|
||||
@ -36,23 +41,23 @@ public class DokumenInternal extends BaseTransaction {
|
||||
@Column(name = "ObjectPegawaiTujuanFk", insertable=false,updatable=false)
|
||||
private Integer ObjectPegawaiTujuanId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch= LAZY)
|
||||
@JoinColumn(name = "ObjectRuanganTujuanFk")
|
||||
@Caption(value="Object Ruangan Tujuan")
|
||||
private Ruangan kdruangantujuan;
|
||||
|
||||
@Column(name = "ObjectRuanganTujuanFk", insertable=false,updatable=false,nullable=true)
|
||||
@Column(name = "ObjectRuanganTujuanFk", insertable=false,updatable=false)
|
||||
private Integer ObjectRuanganTujuanId;
|
||||
|
||||
@Caption(value="Keterangan Lainnya")
|
||||
@Column(name = "KeteranganLainnya", nullable = true , length = 150)
|
||||
@Column(name = "KeteranganLainnya", length = 150)
|
||||
private String keteranganlainnya;
|
||||
|
||||
@Caption(value="No Dokumen_ Intern")
|
||||
@Column(name = "NoDokumen_Intern", nullable = true , length = 30)
|
||||
@Column(name = "NoDokumen_Intern", length = 30)
|
||||
private String nodokumen_intern;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch= LAZY)
|
||||
@JoinColumn(name = "NoKirimFk")
|
||||
@Caption(value="No Kirim")
|
||||
private StrukKirim nokirim;
|
||||
@ -60,342 +65,137 @@ public class DokumenInternal extends BaseTransaction {
|
||||
@Column(name = "NoKirimFk", insertable=false,updatable=false)
|
||||
private String NoKirimId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch= LAZY)
|
||||
@JoinColumn(name = "NoStruk_TFk")
|
||||
@Caption(value="No Struk_ T")
|
||||
private StrukPelayanan nostruk_t;
|
||||
|
||||
@Column(name = "NoStruk_TFk", insertable=false,updatable=false)
|
||||
private String NoStruk_TId;
|
||||
|
||||
// === add by yudi === //
|
||||
// === Sarana Prasarana - Modul Humas - Form Surat Masuk Internal === //
|
||||
|
||||
@Column(name = "NoTerima", nullable = true)
|
||||
|
||||
@Column(name = "NoTerima")
|
||||
@Caption(value="Nomor Terima")
|
||||
private String noTerima;
|
||||
|
||||
@Column(name = "TglTerima", nullable = true)
|
||||
@Column(name = "TglTerima")
|
||||
@Caption(value="Tgl Terima")
|
||||
private Date tglTerima;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch= LAZY)
|
||||
@JoinColumn(name = "ObjectPegawaiPenerimaSuratFk")
|
||||
@Caption(value="User Penerima Surat")
|
||||
private Pegawai PegawaiPenerimaSurat;
|
||||
|
||||
@Column(name = "ObjectPegawaiPenerimaSuratFk", insertable=false,updatable=false, nullable = true)
|
||||
@Column(name = "ObjectPegawaiPenerimaSuratFk", insertable=false,updatable=false)
|
||||
private Integer PegawaiPenerimaSuratId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch= LAZY)
|
||||
@JoinColumn(name = "ObjectRuanganPenerimaFk")
|
||||
@Caption(value="Ruangan Penerima")
|
||||
private Ruangan ruanganPenerima;
|
||||
|
||||
@Column(name = "ObjectRuanganPenerimaFk", insertable=false,updatable=false, nullable = true)
|
||||
@Column(name = "ObjectRuanganPenerimaFk", insertable=false,updatable=false)
|
||||
private Integer ruanganPenerimaId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch= LAZY)
|
||||
@JoinColumn(name = "ObjectRuanganPengirimFk")
|
||||
@Caption(value="Ruangan Penerima")
|
||||
private Ruangan ruanganPengirim;
|
||||
|
||||
@Column(name = "ObjectRuanganPengirimFk", insertable=false,updatable=false, nullable = true)
|
||||
@Column(name = "ObjectRuanganPengirimFk", insertable=false,updatable=false)
|
||||
private Integer ruanganPengirimId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch= LAZY)
|
||||
@JoinColumn(name = "ObjectTipePengirimSuratFk")
|
||||
@Caption(value="Tipe Pengirim Surat")
|
||||
private TipePengirimSurat tipePengirimSurat;
|
||||
|
||||
@Column(name = "ObjectTipePengirimSuratFk", insertable=false,updatable=false, nullable = true)
|
||||
@Column(name = "ObjectTipePengirimSuratFk", insertable=false,updatable=false)
|
||||
private Integer tipePengirimSuratId;
|
||||
|
||||
@Column(name = "tglSurat", nullable = true)
|
||||
@Column(name = "tglSurat")
|
||||
@Caption(value="Tgl Surat")
|
||||
private Date tglSurat;
|
||||
|
||||
@Column(name = "Perihal", nullable = true)
|
||||
@Column(name = "Perihal")
|
||||
@Caption(value="Perihal")
|
||||
private String perihal;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch= LAZY)
|
||||
@JoinColumn(name = "ObjectUserPengirimSuratFk")
|
||||
@Caption(value="Pegawai Pengirim Surat")
|
||||
private Pegawai userPengirimSurat;
|
||||
|
||||
@Column(name = "ObjectUserPengirimSuratFk", insertable=false,updatable=false, nullable = true)
|
||||
@Column(name = "ObjectUserPengirimSuratFk", insertable=false,updatable=false)
|
||||
private Integer userPengirimSuratId;
|
||||
|
||||
@Column(name = "AlamatPengirim", nullable = true)
|
||||
@Column(name = "AlamatPengirim")
|
||||
@Caption(value="Alamat Pengirim")
|
||||
private String alamatPengirim;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch= LAZY)
|
||||
@JoinColumn(name = "ObjectSifatSuratFk")
|
||||
@Caption(value="Sifat Surat")
|
||||
private SifatSurat sifatSurat;
|
||||
|
||||
@Column(name = "ObjectSifatSuratFk", insertable=false,updatable=false, nullable = true)
|
||||
@Column(name = "ObjectSifatSuratFk", insertable=false,updatable=false)
|
||||
private Integer sifatSuratId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch= LAZY)
|
||||
@JoinColumn(name = "ObjectStatusBerkasFk")
|
||||
@Caption(value="Status Berkas")
|
||||
private StatusBerkas statusBerkas;
|
||||
|
||||
@Column(name = "ObjectSifatSuratFk", insertable=false,updatable=false, nullable = true)
|
||||
@Column(name = "ObjectSifatSuratFk", insertable=false,updatable=false)
|
||||
private Integer statusBerkasId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch= LAZY)
|
||||
@JoinColumn(name = "ObjectJenisArsipFk")
|
||||
@Caption(value="statusKeaktifanJenisArsip")
|
||||
private JenisArsip jenisArsip;
|
||||
|
||||
@Column(name = "ObjectJenisArsipFk", insertable=false,updatable=false, nullable = true)
|
||||
@Column(name = "ObjectJenisArsipFk", insertable=false,updatable=false)
|
||||
private Integer jenisArsipId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch= LAZY)
|
||||
@JoinColumn(name = "ObjectKlasifikasiArsipFk")
|
||||
@Caption(value="KlasifikasiArsip")
|
||||
private KlasifikasiArsip klasifikasiArsip;
|
||||
|
||||
@Column(name = "ObjectKlasifikasiArsipFk", insertable=false,updatable=false, nullable = true)
|
||||
@Column(name = "ObjectKlasifikasiArsipFk", insertable=false,updatable=false)
|
||||
private Integer klasifikasiArsipId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch= LAZY)
|
||||
@JoinColumn(name = "ObjectSubKlasifikasiArsipFk")
|
||||
@Caption(value="SubKlasifikasiArsip")
|
||||
private SubKlasifikasiArsip subKlasifikasiArsip;
|
||||
|
||||
@Column(name = "ObjectSubKlasifikasiArsipFk", insertable=false,updatable=false, nullable = true)
|
||||
@Column(name = "ObjectSubKlasifikasiArsipFk", insertable=false,updatable=false)
|
||||
private Integer subKlasifikasiArsipId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch= LAZY)
|
||||
@JoinColumn(name = "ObjectStatusVerifikasiFk")
|
||||
@Caption(value="statusKeaktifanJenisArsip")
|
||||
private StatusYaTidak statusVerifikasi;
|
||||
|
||||
@Column(name = "ObjectStatusVerifikasiFk", insertable=false,updatable=false, nullable = true)
|
||||
@Column(name = "ObjectStatusVerifikasiFk", insertable=false,updatable=false)
|
||||
private Integer statusVerifikasiId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch= LAZY)
|
||||
@JoinColumn(name = "ObjectStatusYaTidakKeaktifanFk")
|
||||
@Caption(value="statusKeaktifanJenisArsip")
|
||||
private StatusYaTidak statusKeaktifan;
|
||||
|
||||
@Column(name = "ObjectStatusYaTidakKeaktifanFk", insertable=false,updatable=false, nullable = true)
|
||||
@Column(name = "ObjectStatusYaTidakKeaktifanFk", insertable=false,updatable=false)
|
||||
private Integer statusKeaktifanId;
|
||||
|
||||
@ManyToOne(fetch=FetchType.LAZY)
|
||||
@ManyToOne(fetch= LAZY)
|
||||
@JoinColumn(name = "ObjectJenisSuratFk")
|
||||
@Caption(value="Jenis Surat")
|
||||
private JenisSurat jenisSurat;
|
||||
|
||||
@Column(name = "ObjectJenisSuratFk", insertable=false,updatable=false, nullable = true)
|
||||
@Column(name = "ObjectJenisSuratFk", insertable=false,updatable=false)
|
||||
private Integer jenisSuratId;
|
||||
|
||||
public Dokumen getKddokumen() {
|
||||
return kddokumen;
|
||||
}
|
||||
|
||||
public void setKddokumen(Dokumen kddokumen) {
|
||||
this.kddokumen = kddokumen;
|
||||
}
|
||||
|
||||
public Pegawai getKdpegawaitujuan() {
|
||||
return kdpegawaitujuan;
|
||||
}
|
||||
|
||||
public void setKdpegawaitujuan(Pegawai kdpegawaitujuan) {
|
||||
this.kdpegawaitujuan = kdpegawaitujuan;
|
||||
}
|
||||
|
||||
public Ruangan getKdruangantujuan() {
|
||||
return kdruangantujuan;
|
||||
}
|
||||
|
||||
public void setKdruangantujuan(Ruangan kdruangantujuan) {
|
||||
this.kdruangantujuan = kdruangantujuan;
|
||||
}
|
||||
|
||||
public String getKeteranganlainnya() {
|
||||
return keteranganlainnya;
|
||||
}
|
||||
|
||||
public void setKeteranganlainnya(String keteranganlainnya) {
|
||||
this.keteranganlainnya = keteranganlainnya;
|
||||
}
|
||||
|
||||
public String getNodokumen_intern() {
|
||||
return nodokumen_intern;
|
||||
}
|
||||
|
||||
public void setNodokumen_intern(String nodokumen_intern) {
|
||||
this.nodokumen_intern = nodokumen_intern;
|
||||
}
|
||||
|
||||
public Date getTglTerima() {
|
||||
return tglTerima;
|
||||
}
|
||||
|
||||
public void setTglTerima(Date tglTerima) {
|
||||
this.tglTerima = tglTerima;
|
||||
}
|
||||
|
||||
public Pegawai getPegawaiPenerimaSurat() {
|
||||
return PegawaiPenerimaSurat;
|
||||
}
|
||||
|
||||
public void setPegawaiPenerimaSurat(Pegawai penerimaSurat) {
|
||||
this.PegawaiPenerimaSurat = penerimaSurat;
|
||||
}
|
||||
|
||||
public Ruangan getRuanganPenerima() {
|
||||
return ruanganPenerima;
|
||||
}
|
||||
|
||||
public void setRuanganPenerima(Ruangan ruanganPenerima) {
|
||||
this.ruanganPenerima = ruanganPenerima;
|
||||
}
|
||||
|
||||
public TipePengirimSurat getTipePengirimSurat() {
|
||||
return tipePengirimSurat;
|
||||
}
|
||||
|
||||
public void setTipePengirimSurat(TipePengirimSurat tipePengirimSurat) {
|
||||
this.tipePengirimSurat = tipePengirimSurat;
|
||||
}
|
||||
|
||||
public Date getTglSurat() {
|
||||
return tglSurat;
|
||||
}
|
||||
|
||||
public void setTglSurat(Date tglSurat) {
|
||||
this.tglSurat = tglSurat;
|
||||
}
|
||||
|
||||
public String getPerihal() {
|
||||
return perihal;
|
||||
}
|
||||
|
||||
public void setPerihal(String perihal) {
|
||||
this.perihal = perihal;
|
||||
}
|
||||
|
||||
public String getAlamatPengirim() {
|
||||
return alamatPengirim;
|
||||
}
|
||||
|
||||
public void setAlamatPengirim(String alamatPengirim) {
|
||||
this.alamatPengirim = alamatPengirim;
|
||||
}
|
||||
|
||||
public SifatSurat getSifatSurat() {
|
||||
return sifatSurat;
|
||||
}
|
||||
|
||||
public void setSifatSurat(SifatSurat sifatSurat) {
|
||||
this.sifatSurat = sifatSurat;
|
||||
}
|
||||
|
||||
public StatusBerkas getStatusBerkas() {
|
||||
return statusBerkas;
|
||||
}
|
||||
|
||||
public void setStatusBerkas(StatusBerkas statusBerkas) {
|
||||
this.statusBerkas = statusBerkas;
|
||||
}
|
||||
|
||||
public KlasifikasiArsip getKlasifikasiArsip() {
|
||||
return klasifikasiArsip;
|
||||
}
|
||||
|
||||
public void setKlasifikasiArsip(KlasifikasiArsip klasifikasiArsip) {
|
||||
this.klasifikasiArsip = klasifikasiArsip;
|
||||
}
|
||||
|
||||
public SubKlasifikasiArsip getSubKlasifikasiArsip() {
|
||||
return subKlasifikasiArsip;
|
||||
}
|
||||
|
||||
public void setSubKlasifikasiArsip(SubKlasifikasiArsip subKlasifikasiArsip) {
|
||||
this.subKlasifikasiArsip = subKlasifikasiArsip;
|
||||
}
|
||||
|
||||
public String getNoTerima() {
|
||||
return noTerima;
|
||||
}
|
||||
|
||||
public void setNoTerima(String noTerima) {
|
||||
this.noTerima = noTerima;
|
||||
}
|
||||
|
||||
public Pegawai getUserPengirimSurat() {
|
||||
return userPengirimSurat;
|
||||
}
|
||||
|
||||
public void setUserPengirimSurat(Pegawai userPengirimSurat) {
|
||||
this.userPengirimSurat = userPengirimSurat;
|
||||
}
|
||||
|
||||
public StatusYaTidak getStatusVerifikasi() {
|
||||
return statusVerifikasi;
|
||||
}
|
||||
|
||||
public void setStatusVerifikasi(StatusYaTidak statusVerifikasi) {
|
||||
this.statusVerifikasi = statusVerifikasi;
|
||||
}
|
||||
|
||||
public Ruangan getRuanganPengirim() {
|
||||
return ruanganPengirim;
|
||||
}
|
||||
|
||||
public void setRuanganPengirim(Ruangan ruanganPengirim) {
|
||||
this.ruanganPengirim = ruanganPengirim;
|
||||
}
|
||||
|
||||
public JenisSurat getJenisSurat() {
|
||||
return jenisSurat;
|
||||
}
|
||||
|
||||
public void setJenisSurat(JenisSurat jenisSurat) {
|
||||
this.jenisSurat = jenisSurat;
|
||||
}
|
||||
|
||||
public StrukKirim getNokirim() {
|
||||
return nokirim;
|
||||
}
|
||||
|
||||
public void setNokirim(StrukKirim nokirim) {
|
||||
this.nokirim = nokirim;
|
||||
}
|
||||
|
||||
public StrukPelayanan getNostruk_t() {
|
||||
return nostruk_t;
|
||||
}
|
||||
|
||||
public void setNostruk_t(StrukPelayanan nostruk_t) {
|
||||
this.nostruk_t = nostruk_t;
|
||||
}
|
||||
|
||||
public JenisArsip getJenisArsip() {
|
||||
return jenisArsip;
|
||||
}
|
||||
|
||||
public void setJenisArsip(JenisArsip jenisArsip) {
|
||||
this.jenisArsip = jenisArsip;
|
||||
}
|
||||
|
||||
public StatusYaTidak getStatusKeaktifan() {
|
||||
return statusKeaktifan;
|
||||
}
|
||||
|
||||
public void setStatusKeaktifan(StatusYaTidak statusKeaktifan) {
|
||||
this.statusKeaktifan = statusKeaktifan;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,387 +1,190 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
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.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonManagedReference;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import static javax.persistence.CascadeType.ALL;
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
|
||||
/**
|
||||
* class DokumenKeluar
|
||||
* class DokumenKeluar
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DokumenKeluar_T")
|
||||
public class DokumenKeluar extends BaseTransaction {
|
||||
@Caption(value="Institusi Nama Tujuan")
|
||||
@Column(name = "InstitusiNamaTujuan", nullable = true , length = 75)
|
||||
|
||||
@Caption(value = "Institusi Nama Tujuan")
|
||||
@Column(name = "InstitusiNamaTujuan", length = 75)
|
||||
private String institusinamatujuan;
|
||||
|
||||
@Caption(value="Jabatan Penerima Tujuan")
|
||||
@Column(name = "JabatanPenerimaTujuan", nullable = true , length = 50)
|
||||
@Caption(value = "Jabatan Penerima Tujuan")
|
||||
@Column(name = "JabatanPenerimaTujuan", length = 50)
|
||||
private String jabatanpenerimatujuan;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectDokumenFk")
|
||||
@NotNull(message="Object Dokumen Harus Diisi")
|
||||
@Caption(value="Object Dokumen")
|
||||
@NotNull(message = "Object Dokumen Harus Diisi")
|
||||
@Caption(value = "Object Dokumen")
|
||||
private Dokumen kddokumen;
|
||||
|
||||
@Column(name = "ObjectDokumenFk", insertable=false,updatable=false)
|
||||
@Column(name = "ObjectDokumenFk", insertable = false, updatable = false)
|
||||
private Integer ObjectDokumenId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPegawaiTandaTanganFk")
|
||||
@Caption(value="Object Pegawai Tanda Tangan")
|
||||
@Caption(value = "Object Pegawai Tanda Tangan")
|
||||
private LoginUser kdpegawaitandatangan;
|
||||
|
||||
@Column(name = "ObjectPegawaiTandaTanganFk", insertable=false,updatable=false)
|
||||
|
||||
@Column(name = "ObjectPegawaiTandaTanganFk", insertable = false, updatable = false)
|
||||
private Integer ObjectPegawaiTandaTanganId;
|
||||
|
||||
@Caption(value="Keterangan Lainnya")
|
||||
@Column(name = "KeteranganLainnya", nullable = true , length = 15)
|
||||
@Caption(value = "Keterangan Lainnya")
|
||||
@Column(name = "KeteranganLainnya", length = 15)
|
||||
private String keteranganlainnya;
|
||||
|
||||
@Caption(value="Nama Penerima Tujuan")
|
||||
@Column(name = "NamaPenerimaTujuan", nullable = true , length = 40)
|
||||
@Caption(value = "Nama Penerima Tujuan")
|
||||
@Column(name = "NamaPenerimaTujuan", length = 40)
|
||||
private String namapenerimatujuan;
|
||||
|
||||
@Caption(value="No Dokumen_ Intern")
|
||||
@Column(name = "NoDokumen_Intern", nullable = true , length = 30)
|
||||
@Caption(value = "No Dokumen_ Intern")
|
||||
@Column(name = "NoDokumen_Intern", length = 30)
|
||||
private String nodokumen_intern;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "NoKirimFk")
|
||||
@Caption(value="No Kirim")
|
||||
@Caption(value = "No Kirim")
|
||||
private StrukKirim nokirim;
|
||||
|
||||
@Column(name = "NoKirimFk", insertable=false,updatable=false, nullable=true)
|
||||
@Column(name = "NoKirimFk", insertable = false, updatable = false)
|
||||
private String NoKirimId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "NoStrukFk")
|
||||
@Caption(value="No Struk")
|
||||
@Caption(value = "No Struk")
|
||||
private StrukPelayanan nostruk;
|
||||
|
||||
@Column(name = "NoStrukFk", insertable=false,updatable=false)
|
||||
@Column(name = "NoStrukFk", insertable = false, updatable = false)
|
||||
private String NoStrukId;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "NoStruk_T_ReplyFk")
|
||||
@Caption(value="No Struk_ T_ Reply")
|
||||
@Caption(value = "No Struk_ T_ Reply")
|
||||
private StrukPelayanan nostruk_t_reply;
|
||||
|
||||
@Column(name = "NoStruk_T_ReplyFk", insertable=false,updatable=false)
|
||||
@Column(name = "NoStruk_T_ReplyFk", insertable = false, updatable = false)
|
||||
private String NoStruk_T_ReplyId;
|
||||
|
||||
@Caption(value="Unit Bagian Tujuan")
|
||||
@Column(name = "UnitBagianTujuan", nullable = true , length = 75)
|
||||
@Caption(value = "Unit Bagian Tujuan")
|
||||
@Column(name = "UnitBagianTujuan", length = 75)
|
||||
private String unitbagiantujuan;
|
||||
|
||||
@Caption(value="No Surat")
|
||||
@Column(name = "NoSurat", nullable = true)
|
||||
|
||||
@Caption(value = "No Surat")
|
||||
@Column(name = "NoSurat")
|
||||
private String noSurat;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectSifatSuratFk")
|
||||
@Caption(value="Sifat Surat")
|
||||
@Caption(value = "Sifat Surat")
|
||||
private SifatSurat sifatSurat;
|
||||
|
||||
@Column(name = "ObjectSifatSuratFk", insertable=false,updatable=false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectSifatSuratFk", insertable = false, updatable = false)
|
||||
private Integer sifatSuratId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectStatusBerkasFk")
|
||||
@Caption(value="Status Berkas")
|
||||
@Caption(value = "Status Berkas")
|
||||
private StatusBerkas statusBerkas;
|
||||
|
||||
@Column(name = "ObjectStatusBerkasFk", insertable=false,updatable=false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectStatusBerkasFk", insertable = false, updatable = false)
|
||||
private Integer statusBerkasId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectJenisSuratFk")
|
||||
@Caption(value="Jenis Surat")
|
||||
@Caption(value = "Jenis Surat")
|
||||
private JenisSurat jenisSurat;
|
||||
|
||||
@Column(name = "ObjectJenisSuratFk", insertable=false,updatable=false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectJenisSuratFk", insertable = false, updatable = false)
|
||||
private Integer jenisSuratId;
|
||||
|
||||
@Caption(value="lampiran")
|
||||
@Column(name = "lampiran", nullable = true)
|
||||
|
||||
@Caption(value = "lampiran")
|
||||
@Column(name = "lampiran")
|
||||
private Short lampiran;
|
||||
|
||||
@Caption(value="perihal")
|
||||
@Column(name = "perihal", nullable = true)
|
||||
|
||||
@Caption(value = "perihal")
|
||||
@Column(name = "perihal")
|
||||
private String perihal;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectKlasifikasiArsipFk")
|
||||
@Caption(value="Klasifikasi Arsip")
|
||||
@Caption(value = "Klasifikasi Arsip")
|
||||
private KlasifikasiArsip klasifikasiArsip;
|
||||
|
||||
@Column(name = "ObjectKlasifikasiArsipFk", insertable=false,updatable=false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectKlasifikasiArsipFk", insertable = false, updatable = false)
|
||||
private Integer klasifikasiArsipId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectSubKlasifikasiArsipFk")
|
||||
@Caption(value="Sub Klasifikasi Arsip")
|
||||
@Caption(value = "Sub Klasifikasi Arsip")
|
||||
private SubKlasifikasiArsip subKlasifikasiArsip;
|
||||
|
||||
@Column(name = "ObjectSubKlasifikasiArsipFk", insertable=false,updatable=false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectSubKlasifikasiArsipFk", insertable = false, updatable = false)
|
||||
private Integer subKlasifikasiArsipId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPegawaiAtasNamaFk")
|
||||
@Caption(value="pegawaiAtasNama")
|
||||
@Caption(value = "pegawaiAtasNama")
|
||||
private Pegawai pegawaiAtasNama;
|
||||
|
||||
@Column(name = "ObjectPegawaiAtasNamaFk", insertable=false,updatable=false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectPegawaiAtasNamaFk", insertable = false, updatable = false)
|
||||
private Integer pegawaiAtasNamaId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPegawaiPenandaTanganFk")
|
||||
@Caption(value="pegawaiPenandaTangan")
|
||||
@Caption(value = "pegawaiPenandaTangan")
|
||||
private Pegawai pegawaiPenandaTangan;
|
||||
|
||||
@Column(name = "ObjectPegawaiPenandaTanganFk", insertable=false,updatable=false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectPegawaiPenandaTanganFk", insertable = false, updatable = false)
|
||||
private Integer pegawaiPenandaTanganId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectMetodeKirimFk")
|
||||
@Caption(value="Metode Kirim")
|
||||
@Caption(value = "Metode Kirim")
|
||||
private MetodeKirim metodeKirim;
|
||||
|
||||
@Column(name = "ObjectMetodeKirimFk", insertable=false,updatable=false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectMetodeKirimFk", insertable = false, updatable = false)
|
||||
private Integer metodeKirimId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectPegawaiPengirimFk")
|
||||
@Caption(value="pegawaiPengirim")
|
||||
@Caption(value = "pegawaiPengirim")
|
||||
private Pegawai pegawaiPengirim;
|
||||
|
||||
@Column(name = "ObjectMetodeKirimFk", insertable=false,updatable=false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectMetodeKirimFk", insertable = false, updatable = false)
|
||||
private Integer pegawaiPengirimId;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectJenisArsipFk")
|
||||
@Caption(value="JenisArsip")
|
||||
@Caption(value = "JenisArsip")
|
||||
private JenisArsip jenisArsip;
|
||||
|
||||
@Column(name = "ObjectJenisArsipFk", insertable=false,updatable=false, nullable = true)
|
||||
|
||||
@Column(name = "ObjectJenisArsipFk", insertable = false, updatable = false)
|
||||
private Integer jenisArsipId;
|
||||
|
||||
|
||||
@JsonManagedReference
|
||||
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "dokumenKeluar")
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "dokumenKeluar")
|
||||
@Caption(value = "dokumenKeluarSet")
|
||||
private Set<KonseptorPemeriksaSurat> konseptorPemeriksaSuratSet=new HashSet<KonseptorPemeriksaSurat>();
|
||||
|
||||
public String getNoSurat() {
|
||||
return noSurat;
|
||||
}
|
||||
private Set<KonseptorPemeriksaSurat> konseptorPemeriksaSuratSet = new HashSet<>();
|
||||
|
||||
public void setNoSurat(String noSurat) {
|
||||
this.noSurat = noSurat;
|
||||
}
|
||||
|
||||
public SifatSurat getSifatSurat() {
|
||||
return sifatSurat;
|
||||
}
|
||||
|
||||
public void setSifatSurat(SifatSurat sifatSurat) {
|
||||
this.sifatSurat = sifatSurat;
|
||||
}
|
||||
|
||||
public StatusBerkas getStatusBerkas() {
|
||||
return statusBerkas;
|
||||
}
|
||||
|
||||
public void setStatusBerkas(StatusBerkas statusBerkas) {
|
||||
this.statusBerkas = statusBerkas;
|
||||
}
|
||||
|
||||
public JenisSurat getJenisSurat() {
|
||||
return jenisSurat;
|
||||
}
|
||||
|
||||
public void setJenisSurat(JenisSurat jenisSurat) {
|
||||
this.jenisSurat = jenisSurat;
|
||||
}
|
||||
|
||||
public Short getLampiran() {
|
||||
return lampiran;
|
||||
}
|
||||
|
||||
public void setLampiran(Short lampiran) {
|
||||
this.lampiran = lampiran;
|
||||
}
|
||||
|
||||
public String getPerihal() {
|
||||
return perihal;
|
||||
}
|
||||
|
||||
public void setPerihal(String perihal) {
|
||||
this.perihal = perihal;
|
||||
}
|
||||
|
||||
public KlasifikasiArsip getKlasifikasiArsip() {
|
||||
return klasifikasiArsip;
|
||||
}
|
||||
|
||||
public void setKlasifikasiArsip(KlasifikasiArsip klasifikasiArsip) {
|
||||
this.klasifikasiArsip = klasifikasiArsip;
|
||||
}
|
||||
|
||||
public SubKlasifikasiArsip getSubKlasifikasiArsip() {
|
||||
return subKlasifikasiArsip;
|
||||
}
|
||||
|
||||
public void setSubKlasifikasiArsip(SubKlasifikasiArsip subKlasifikasiArsip) {
|
||||
this.subKlasifikasiArsip = subKlasifikasiArsip;
|
||||
}
|
||||
|
||||
public Pegawai getPegawaiAtasNama() {
|
||||
return pegawaiAtasNama;
|
||||
}
|
||||
|
||||
public void setPegawaiAtasNama(Pegawai pegawaiAtasNama) {
|
||||
this.pegawaiAtasNama = pegawaiAtasNama;
|
||||
}
|
||||
|
||||
public Pegawai getPegawaiPenandaTangan() {
|
||||
return pegawaiPenandaTangan;
|
||||
}
|
||||
|
||||
public void setPegawaiPenandaTangan(Pegawai pegawaiPenandaTangan) {
|
||||
this.pegawaiPenandaTangan = pegawaiPenandaTangan;
|
||||
}
|
||||
|
||||
public MetodeKirim getMetodeKirim() {
|
||||
return metodeKirim;
|
||||
}
|
||||
|
||||
public void setMetodeKirim(MetodeKirim metodeKirim) {
|
||||
this.metodeKirim = metodeKirim;
|
||||
}
|
||||
|
||||
public Pegawai getPegawaiPengirim() {
|
||||
return pegawaiPengirim;
|
||||
}
|
||||
|
||||
public void setPegawaiPengirim(Pegawai pegawaiPengirim) {
|
||||
this.pegawaiPengirim = pegawaiPengirim;
|
||||
}
|
||||
|
||||
public String getInstitusinamatujuan() {
|
||||
return institusinamatujuan;
|
||||
}
|
||||
|
||||
public void setInstitusinamatujuan(String institusinamatujuan) {
|
||||
this.institusinamatujuan = institusinamatujuan;
|
||||
}
|
||||
|
||||
public String getJabatanpenerimatujuan() {
|
||||
return jabatanpenerimatujuan;
|
||||
}
|
||||
|
||||
public void setJabatanpenerimatujuan(String jabatanpenerimatujuan) {
|
||||
this.jabatanpenerimatujuan = jabatanpenerimatujuan;
|
||||
}
|
||||
|
||||
public Dokumen getKddokumen() {
|
||||
return kddokumen;
|
||||
}
|
||||
|
||||
public void setKddokumen(Dokumen kddokumen) {
|
||||
this.kddokumen = kddokumen;
|
||||
}
|
||||
|
||||
public LoginUser getKdpegawaitandatangan() {
|
||||
return kdpegawaitandatangan;
|
||||
}
|
||||
|
||||
public void setKdpegawaitandatangan(LoginUser kdpegawaitandatangan) {
|
||||
this.kdpegawaitandatangan = kdpegawaitandatangan;
|
||||
}
|
||||
|
||||
public String getKeteranganlainnya() {
|
||||
return keteranganlainnya;
|
||||
}
|
||||
|
||||
public void setKeteranganlainnya(String keteranganlainnya) {
|
||||
this.keteranganlainnya = keteranganlainnya;
|
||||
}
|
||||
|
||||
public String getNamapenerimatujuan() {
|
||||
return namapenerimatujuan;
|
||||
}
|
||||
|
||||
public void setNamapenerimatujuan(String namapenerimatujuan) {
|
||||
this.namapenerimatujuan = namapenerimatujuan;
|
||||
}
|
||||
|
||||
public String getNodokumen_intern() {
|
||||
return nodokumen_intern;
|
||||
}
|
||||
|
||||
public void setNodokumen_intern(String nodokumen_intern) {
|
||||
this.nodokumen_intern = nodokumen_intern;
|
||||
}
|
||||
|
||||
public StrukKirim getNokirim() {
|
||||
return nokirim;
|
||||
}
|
||||
|
||||
public void setNokirim(StrukKirim nokirim) {
|
||||
this.nokirim = nokirim;
|
||||
}
|
||||
|
||||
public StrukPelayanan getNostruk() {
|
||||
return nostruk;
|
||||
}
|
||||
|
||||
public void setNostruk(StrukPelayanan nostruk) {
|
||||
this.nostruk = nostruk;
|
||||
}
|
||||
|
||||
public StrukPelayanan getNostruk_t_reply() {
|
||||
return nostruk_t_reply;
|
||||
}
|
||||
|
||||
public void setNostruk_t_reply(StrukPelayanan nostruk_t_reply) {
|
||||
this.nostruk_t_reply = nostruk_t_reply;
|
||||
}
|
||||
|
||||
public String getUnitbagiantujuan() {
|
||||
return unitbagiantujuan;
|
||||
}
|
||||
|
||||
public void setUnitbagiantujuan(String unitbagiantujuan) {
|
||||
this.unitbagiantujuan = unitbagiantujuan;
|
||||
}
|
||||
|
||||
public Set<KonseptorPemeriksaSurat> getKonseptorPemeriksaSuratSet() {
|
||||
return konseptorPemeriksaSuratSet;
|
||||
}
|
||||
|
||||
public void setKonseptorPemeriksaSuratSet(Set<KonseptorPemeriksaSurat> konseptorPemeriksaSuratSet) {
|
||||
this.konseptorPemeriksaSuratSet = konseptorPemeriksaSuratSet;
|
||||
}
|
||||
|
||||
public JenisArsip getJenisArsip() {
|
||||
return jenisArsip;
|
||||
}
|
||||
|
||||
public void setJenisArsip(JenisArsip jenisArsip) {
|
||||
this.jenisArsip = jenisArsip;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,46 +1,47 @@
|
||||
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.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.annotation.JsonManagedReference;
|
||||
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
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 DokumenMasuk
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@Entity
|
||||
@Table(name = "DokumenMasuk_T")
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class DokumenMasuk extends BaseTransaction {
|
||||
|
||||
public DokumenMasuk(){}
|
||||
public DokumenMasuk(String noRec, String lampiran, String isVerifikasi){
|
||||
|
||||
public DokumenMasuk(String noRec, String lampiran, String isVerifikasi) {
|
||||
super();
|
||||
this.noRec = noRec;
|
||||
this.lampiranPerihal = lampiranPerihal;
|
||||
this.lampiranPerihal = lampiran;
|
||||
this.isVerifikasi = isVerifikasi;
|
||||
}
|
||||
|
||||
@Caption(value = "Institusi Nama Pengirim")
|
||||
@Column(name = "InstitusiNamaPengirim", nullable = true, length = 75)
|
||||
@Column(name = "InstitusiNamaPengirim", length = 75)
|
||||
private String institusinamapengirim;
|
||||
|
||||
@Caption(value = "Jabatan Tanda Tangan")
|
||||
@Column(name = "JabatanTandaTangan", nullable = true, length = 50)
|
||||
@Column(name = "JabatanTandaTangan", length = 50)
|
||||
private String jabatantandatangan;
|
||||
|
||||
@ManyToOne
|
||||
@ -49,18 +50,10 @@ public class DokumenMasuk extends BaseTransaction {
|
||||
@Caption(value = "Object Dokumen")
|
||||
private Dokumen kddokumen;
|
||||
|
||||
public void setObjectDokumen(Dokumen kddokumen) {
|
||||
this.kddokumen = kddokumen;
|
||||
}
|
||||
|
||||
public Dokumen getObjectDokumen() {
|
||||
return this.kddokumen;
|
||||
}
|
||||
|
||||
@Column(name = "ObjectDokumenFk", insertable = false, updatable = false)
|
||||
private Integer ObjectDokumenId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectPegawaiTujuanLastFk")
|
||||
@Caption(value = "Object Pegawai Tujuan Last")
|
||||
private LoginUser kdpegawaitujuanlast;
|
||||
@ -68,7 +61,7 @@ public class DokumenMasuk extends BaseTransaction {
|
||||
@Column(name = "ObjectPegawaiTujuanLastFk", insertable = false, updatable = false)
|
||||
private Integer ObjectPegawaiTujuanLastId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectRuanganTujuanLastFk")
|
||||
@Caption(value = "Object Ruangan Tujuan Last")
|
||||
private Ruangan kdruangantujuanlast;
|
||||
@ -77,18 +70,18 @@ public class DokumenMasuk extends BaseTransaction {
|
||||
private Integer ObjectRuanganTujuanLastId;
|
||||
|
||||
@Caption(value = "Keterangan Lainnya")
|
||||
@Column(name = "KeteranganLainnya", nullable = true, length = 150)
|
||||
@Column(name = "KeteranganLainnya", length = 150)
|
||||
private String keteranganlainnya;
|
||||
|
||||
@Caption(value = "Nama Tanda Tangan")
|
||||
@Column(name = "NamaTandaTangan", nullable = true, length = 40)
|
||||
@Column(name = "NamaTandaTangan", length = 40)
|
||||
private String namatandatangan;
|
||||
|
||||
@Caption(value = "No Dokumen_ Extern")
|
||||
@Column(name = "NoDokumen_Extern", nullable = true, length = 30)
|
||||
@Column(name = "NoDokumen_Extern", length = 30)
|
||||
private String nodokumen_extern;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "NoKirim_ReplyFk")
|
||||
@Caption(value = "No Kirim_ Reply")
|
||||
private StrukKirim nokirim_reply;
|
||||
@ -96,7 +89,7 @@ public class DokumenMasuk extends BaseTransaction {
|
||||
@Column(name = "NoKirim_ReplyFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String NoKirim_ReplyId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "NoKirimKeTujuanLastFk")
|
||||
@Caption(value = "No Kirim Ke Tujuan Last")
|
||||
private StrukKirim nokirimketujuanlast;
|
||||
@ -104,7 +97,7 @@ public class DokumenMasuk extends BaseTransaction {
|
||||
@Column(name = "NoKirimKeTujuanLastFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String NoKirimKeTujuanLastId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "NoStrukFk")
|
||||
@Caption(value = "No Struk")
|
||||
private StrukPelayanan nostruk;
|
||||
@ -112,7 +105,7 @@ public class DokumenMasuk extends BaseTransaction {
|
||||
@Column(name = "NoStrukFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String NoStrukId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "NoStruk_TTujuanLastFk")
|
||||
@Caption(value = "No Struk_ T Tujuan Last")
|
||||
private StrukPelayanan nostruk_ttujuanlast;
|
||||
@ -121,515 +114,126 @@ public class DokumenMasuk extends BaseTransaction {
|
||||
private String NoStruk_TTujuanLastId;
|
||||
|
||||
@Caption(value = "Unit Bagian Pengirim")
|
||||
@Column(name = "UnitBagianPengirim", nullable = true, length = 75)
|
||||
@Column(name = "UnitBagianPengirim", length = 75)
|
||||
private String unitbagianpengirim;
|
||||
|
||||
@JsonManagedReference
|
||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "dokumenMasuk")
|
||||
private Set<MappingKirimDokumenPasien> mapKirimDokumen = new HashSet<MappingKirimDokumenPasien>();
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "dokumenMasuk")
|
||||
private Set<MappingKirimDokumenPasien> mapKirimDokumen = new HashSet<>();
|
||||
|
||||
@Caption(value = "jangkaWaktu")
|
||||
@Column(name = "jangkaWaktu", nullable = true, length = 100)
|
||||
@Column(name = "jangkaWaktu", length = 100)
|
||||
private String jangkaWaktu;
|
||||
|
||||
|
||||
@Caption(value = "tujuanSurat")
|
||||
@Column(name = "tujuanSurat", nullable = true)
|
||||
@Column(name = "tujuanSurat")
|
||||
private String tujuanSurat;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "objectstrukverifikasifk")
|
||||
@Caption(value = "StrukVerifikasi no struk")
|
||||
private StrukVerifikasi objectstrukverifikasifk;
|
||||
|
||||
@Column(name = "objectstrukverifikasifk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String strukverifikasifk;
|
||||
|
||||
public Set<MappingKirimDokumenPasien> getMapKirimDokumen() {
|
||||
return mapKirimDokumen;
|
||||
}
|
||||
|
||||
public void setMapKirimDokumen(Set<MappingKirimDokumenPasien> mapKirimDokumen) {
|
||||
this.mapKirimDokumen = mapKirimDokumen;
|
||||
}
|
||||
|
||||
public String getInstitusinamapengirim() {
|
||||
return institusinamapengirim;
|
||||
}
|
||||
|
||||
public void setInstitusinamapengirim(String institusinamapengirim) {
|
||||
this.institusinamapengirim = institusinamapengirim;
|
||||
}
|
||||
|
||||
public String getJabatantandatangan() {
|
||||
return jabatantandatangan;
|
||||
}
|
||||
|
||||
public void setJabatantandatangan(String jabatantandatangan) {
|
||||
this.jabatantandatangan = jabatantandatangan;
|
||||
}
|
||||
|
||||
public Dokumen getKddokumen() {
|
||||
return kddokumen;
|
||||
}
|
||||
|
||||
public void setKddokumen(Dokumen kddokumen) {
|
||||
this.kddokumen = kddokumen;
|
||||
}
|
||||
|
||||
public LoginUser getKdpegawaitujuanlast() {
|
||||
return kdpegawaitujuanlast;
|
||||
}
|
||||
|
||||
public void setKdpegawaitujuanlast(LoginUser kdpegawaitujuanlast) {
|
||||
this.kdpegawaitujuanlast = kdpegawaitujuanlast;
|
||||
}
|
||||
|
||||
public Ruangan getKdruangantujuanlast() {
|
||||
return kdruangantujuanlast;
|
||||
}
|
||||
|
||||
public void setKdruangantujuanlast(Ruangan kdruangantujuanlast) {
|
||||
this.kdruangantujuanlast = kdruangantujuanlast;
|
||||
}
|
||||
|
||||
public String getKeteranganlainnya() {
|
||||
return keteranganlainnya;
|
||||
}
|
||||
|
||||
public void setKeteranganlainnya(String keteranganlainnya) {
|
||||
this.keteranganlainnya = keteranganlainnya;
|
||||
}
|
||||
|
||||
public String getNamatandatangan() {
|
||||
return namatandatangan;
|
||||
}
|
||||
|
||||
public void setNamatandatangan(String namatandatangan) {
|
||||
this.namatandatangan = namatandatangan;
|
||||
}
|
||||
|
||||
public String getNodokumen_extern() {
|
||||
return nodokumen_extern;
|
||||
}
|
||||
|
||||
public void setNodokumen_extern(String nodokumen_extern) {
|
||||
this.nodokumen_extern = nodokumen_extern;
|
||||
}
|
||||
|
||||
public StrukKirim getNokirim_reply() {
|
||||
return nokirim_reply;
|
||||
}
|
||||
|
||||
public void setNokirim_reply(StrukKirim nokirim_reply) {
|
||||
this.nokirim_reply = nokirim_reply;
|
||||
}
|
||||
|
||||
public StrukKirim getNokirimketujuanlast() {
|
||||
return nokirimketujuanlast;
|
||||
}
|
||||
|
||||
public void setNokirimketujuanlast(StrukKirim nokirimketujuanlast) {
|
||||
this.nokirimketujuanlast = nokirimketujuanlast;
|
||||
}
|
||||
|
||||
public StrukPelayanan getNostruk() {
|
||||
return nostruk;
|
||||
}
|
||||
|
||||
public void setNostruk(StrukPelayanan nostruk) {
|
||||
this.nostruk = nostruk;
|
||||
}
|
||||
|
||||
public StrukPelayanan getNostruk_ttujuanlast() {
|
||||
return nostruk_ttujuanlast;
|
||||
}
|
||||
|
||||
public void setNostruk_ttujuanlast(StrukPelayanan nostruk_ttujuanlast) {
|
||||
this.nostruk_ttujuanlast = nostruk_ttujuanlast;
|
||||
}
|
||||
|
||||
public String getUnitbagianpengirim() {
|
||||
return unitbagianpengirim;
|
||||
}
|
||||
|
||||
public void setUnitbagianpengirim(String unitbagianpengirim) {
|
||||
this.unitbagianpengirim = unitbagianpengirim;
|
||||
}
|
||||
|
||||
// add by Arya 2017-02-16
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectTipePengirimSuratFk")
|
||||
@Caption(value = "Tipe Pengirim Surat")
|
||||
private TipePengirimSurat tipePengirimSurat;
|
||||
|
||||
@Column(name = "ObjectTipePengirimSuratFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectTipePengirimSuratFk", insertable = false, updatable = false)
|
||||
private Integer tipePengirimSuratId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectSifatSuratFk")
|
||||
@Caption(value = "Sifat Surat")
|
||||
private SifatSurat sifatSurat;
|
||||
|
||||
@Column(name = "ObjectSifatSuratFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectSifatSuratFk", insertable = false, updatable = false)
|
||||
private Integer sifatSuratId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectStatusBerkasFk")
|
||||
@Caption(value = "Status Berkas")
|
||||
private StatusBerkas statusBerkas;
|
||||
|
||||
@Column(name = "ObjectSifatSuratFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectSifatSuratFk", insertable = false, updatable = false)
|
||||
private Integer statusBerkasId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectJenisSuratFk")
|
||||
@Caption(value = "Jenis Surat")
|
||||
private JenisSurat jenisSurat;
|
||||
|
||||
@Column(name = "ObjectJenisSuratFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectJenisSuratFk", insertable = false, updatable = false)
|
||||
private Integer jenisSuratId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectJenisArsipFk")
|
||||
@Caption(value = "statusKeaktifanJenisArsip")
|
||||
private JenisArsip jenisArsip;
|
||||
|
||||
@Column(name = "ObjectJenisArsipFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectJenisArsipFk", insertable = false, updatable = false)
|
||||
private Integer jenisArsipId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectRuanganPenerimaFk")
|
||||
@Caption(value = "Ruangan Penerima")
|
||||
private Ruangan ruanganPenerima;
|
||||
|
||||
@Column(name = "ObjectRuanganPenerimaFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectRuanganPenerimaFk", insertable = false, updatable = false)
|
||||
private Integer ruanganPenerimaId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectRuanganPengirimFk")
|
||||
@Caption(value = "Ruangan Penerima")
|
||||
private Ruangan ruanganPengirim;
|
||||
|
||||
@Column(name = "ObjectRuanganPengirimFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectRuanganPengirimFk", insertable = false, updatable = false)
|
||||
private Integer ruanganPengirimId;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectPegawaiPenerimaSuratFk")
|
||||
@Caption(value = "User Penerima Surat")
|
||||
private Pegawai pegawaiPenerimaSurat;
|
||||
|
||||
@Column(name = "ObjectPegawaiPenerimaSuratFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectPegawaiPenerimaSuratFk", insertable = false, updatable = false)
|
||||
private Integer pegawaiPenerimaSuratId;
|
||||
|
||||
@Column(name = "Perihal", nullable = true)
|
||||
@Column(name = "Perihal")
|
||||
@Caption(value = "Perihal")
|
||||
private String perihal;
|
||||
|
||||
@Column(name = "LampiranPerihal", nullable = true)
|
||||
@Column(name = "LampiranPerihal")
|
||||
@Caption(value = "Lampiran Perihal")
|
||||
private String lampiranPerihal;
|
||||
|
||||
@Column(name = "IsVerifikasi", nullable = true)
|
||||
@Column(name = "IsVerifikasi")
|
||||
private String isVerifikasi;
|
||||
|
||||
@Column(name = "Status", nullable = true)
|
||||
@Column(name = "Status")
|
||||
private String status;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectPegawaiPengantarSuratFk")
|
||||
@Caption(value = "User Penerima Surat")
|
||||
private Pegawai pegawaiPengantarSurat;
|
||||
|
||||
@Column(name = "ObjectPegawaiPengantarSuratFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectPegawaiPengantarSuratFk", insertable = false, updatable = false)
|
||||
private Integer pegawaiPenngantarId;
|
||||
|
||||
@Column(name = "jamKirim" ,nullable = true)
|
||||
|
||||
@Column(name = "jamKirim")
|
||||
private String jamKirim;
|
||||
@Column(name = "jamTerima" ,nullable = true)
|
||||
@Column(name = "jamTerima")
|
||||
private String jamTerima;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "ObjectMetodeKirimFk")
|
||||
@Caption(value = "MetodeKirim")
|
||||
private MetodeKirim metodeKirim;
|
||||
|
||||
@Column(name = "ObjectMetodeKirimFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectMetodeKirimFk", insertable = false, updatable = false)
|
||||
private Integer objectMetodeKirimFk;
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getIsVerifikasi() {
|
||||
return isVerifikasi;
|
||||
}
|
||||
|
||||
public void setIsVerifikasi(String isVerifikasi) {
|
||||
this.isVerifikasi = isVerifikasi;
|
||||
}
|
||||
|
||||
public String getPerihal() {
|
||||
return perihal;
|
||||
}
|
||||
|
||||
public void setPerihal(String perihal) {
|
||||
this.perihal = perihal;
|
||||
}
|
||||
|
||||
public String getLampiranPerihal() {
|
||||
return lampiranPerihal;
|
||||
}
|
||||
|
||||
public void setLampiranPerihal(String lampiranPerihal) {
|
||||
this.lampiranPerihal = lampiranPerihal;
|
||||
}
|
||||
|
||||
public Pegawai getPegawaiPenerimaSurat() {
|
||||
return pegawaiPenerimaSurat;
|
||||
}
|
||||
|
||||
public void setPegawaiPenerimaSurat(Pegawai pegawaiPenerimaSurat) {
|
||||
this.pegawaiPenerimaSurat = pegawaiPenerimaSurat;
|
||||
}
|
||||
|
||||
public Ruangan getRuanganPenerima() {
|
||||
return ruanganPenerima;
|
||||
}
|
||||
|
||||
public void setRuanganPenerima(Ruangan ruanganPenerima) {
|
||||
this.ruanganPenerima = ruanganPenerima;
|
||||
}
|
||||
|
||||
public Ruangan getRuanganPengirim() {
|
||||
return ruanganPengirim;
|
||||
}
|
||||
|
||||
public void setRuanganPengirim(Ruangan ruanganPengirim) {
|
||||
this.ruanganPengirim = ruanganPengirim;
|
||||
}
|
||||
|
||||
public TipePengirimSurat getTipePengirimSurat() {
|
||||
return tipePengirimSurat;
|
||||
}
|
||||
|
||||
public void setTipePengirimSurat(TipePengirimSurat tipePengirimSurat) {
|
||||
this.tipePengirimSurat = tipePengirimSurat;
|
||||
}
|
||||
|
||||
public SifatSurat getSifatSurat() {
|
||||
return sifatSurat;
|
||||
}
|
||||
|
||||
public void setSifatSurat(SifatSurat sifatSurat) {
|
||||
this.sifatSurat = sifatSurat;
|
||||
}
|
||||
|
||||
public StatusBerkas getStatusBerkas() {
|
||||
return statusBerkas;
|
||||
}
|
||||
|
||||
public void setStatusBerkas(StatusBerkas statusBerkas) {
|
||||
this.statusBerkas = statusBerkas;
|
||||
}
|
||||
|
||||
public JenisSurat getJenisSurat() {
|
||||
return jenisSurat;
|
||||
}
|
||||
|
||||
public void setJenisSurat(JenisSurat jenisSurat) {
|
||||
this.jenisSurat = jenisSurat;
|
||||
}
|
||||
|
||||
public JenisArsip getJenisArsip() {
|
||||
return jenisArsip;
|
||||
}
|
||||
|
||||
public void setJenisArsip(JenisArsip jenisArsip) {
|
||||
this.jenisArsip = jenisArsip;
|
||||
}
|
||||
|
||||
public Integer getObjectDokumenId() {
|
||||
return ObjectDokumenId;
|
||||
}
|
||||
|
||||
public void setObjectDokumenId(Integer objectDokumenId) {
|
||||
ObjectDokumenId = objectDokumenId;
|
||||
}
|
||||
|
||||
public Integer getObjectPegawaiTujuanLastId() {
|
||||
return ObjectPegawaiTujuanLastId;
|
||||
}
|
||||
|
||||
public void setObjectPegawaiTujuanLastId(Integer objectPegawaiTujuanLastId) {
|
||||
ObjectPegawaiTujuanLastId = objectPegawaiTujuanLastId;
|
||||
}
|
||||
|
||||
public Integer getObjectRuanganTujuanLastId() {
|
||||
return ObjectRuanganTujuanLastId;
|
||||
}
|
||||
|
||||
public void setObjectRuanganTujuanLastId(Integer objectRuanganTujuanLastId) {
|
||||
ObjectRuanganTujuanLastId = objectRuanganTujuanLastId;
|
||||
}
|
||||
|
||||
public String getNoKirim_ReplyId() {
|
||||
return NoKirim_ReplyId;
|
||||
}
|
||||
|
||||
public void setNoKirim_ReplyId(String noKirim_ReplyId) {
|
||||
NoKirim_ReplyId = noKirim_ReplyId;
|
||||
}
|
||||
|
||||
public String getNoKirimKeTujuanLastId() {
|
||||
return NoKirimKeTujuanLastId;
|
||||
}
|
||||
|
||||
public void setNoKirimKeTujuanLastId(String noKirimKeTujuanLastId) {
|
||||
NoKirimKeTujuanLastId = noKirimKeTujuanLastId;
|
||||
}
|
||||
|
||||
public String getNoStrukId() {
|
||||
return NoStrukId;
|
||||
}
|
||||
|
||||
public void setNoStrukId(String noStrukId) {
|
||||
NoStrukId = noStrukId;
|
||||
}
|
||||
|
||||
public String getNoStruk_TTujuanLastId() {
|
||||
return NoStruk_TTujuanLastId;
|
||||
}
|
||||
|
||||
public void setNoStruk_TTujuanLastId(String noStruk_TTujuanLastId) {
|
||||
NoStruk_TTujuanLastId = noStruk_TTujuanLastId;
|
||||
}
|
||||
|
||||
public Integer getTipePengirimSuratId() {
|
||||
return tipePengirimSuratId;
|
||||
}
|
||||
|
||||
public void setTipePengirimSuratId(Integer tipePengirimSuratId) {
|
||||
this.tipePengirimSuratId = tipePengirimSuratId;
|
||||
}
|
||||
|
||||
public Integer getSifatSuratId() {
|
||||
return sifatSuratId;
|
||||
}
|
||||
|
||||
public void setSifatSuratId(Integer sifatSuratId) {
|
||||
this.sifatSuratId = sifatSuratId;
|
||||
}
|
||||
|
||||
public Integer getStatusBerkasId() {
|
||||
return statusBerkasId;
|
||||
}
|
||||
|
||||
public void setStatusBerkasId(Integer statusBerkasId) {
|
||||
this.statusBerkasId = statusBerkasId;
|
||||
}
|
||||
|
||||
public Integer getJenisSuratId() {
|
||||
return jenisSuratId;
|
||||
}
|
||||
|
||||
public void setJenisSuratId(Integer jenisSuratId) {
|
||||
this.jenisSuratId = jenisSuratId;
|
||||
}
|
||||
|
||||
public Integer getJenisArsipId() {
|
||||
return jenisArsipId;
|
||||
}
|
||||
|
||||
public void setJenisArsipId(Integer jenisArsipId) {
|
||||
this.jenisArsipId = jenisArsipId;
|
||||
}
|
||||
|
||||
public Integer getRuanganPenerimaId() {
|
||||
return ruanganPenerimaId;
|
||||
}
|
||||
|
||||
public void setRuanganPenerimaId(Integer ruanganPenerimaId) {
|
||||
this.ruanganPenerimaId = ruanganPenerimaId;
|
||||
}
|
||||
|
||||
public Integer getRuanganPengirimId() {
|
||||
return ruanganPengirimId;
|
||||
}
|
||||
|
||||
public void setRuanganPengirimId(Integer ruanganPengirimId) {
|
||||
this.ruanganPengirimId = ruanganPengirimId;
|
||||
}
|
||||
|
||||
public Integer getPegawaiPenerimaSuratId() {
|
||||
return pegawaiPenerimaSuratId;
|
||||
}
|
||||
|
||||
public void setPegawaiPenerimaSuratId(Integer pegawaiPenerimaSuratId) {
|
||||
this.pegawaiPenerimaSuratId = pegawaiPenerimaSuratId;
|
||||
}
|
||||
public String getJangkaWaktu() {
|
||||
return jangkaWaktu;
|
||||
}
|
||||
public void setJangkaWaktu(String jangkaWaktu) {
|
||||
this.jangkaWaktu = jangkaWaktu;
|
||||
}
|
||||
public Pegawai getPegawaiPengantarSurat() {
|
||||
return pegawaiPengantarSurat;
|
||||
}
|
||||
public void setPegawaiPengantarSurat(Pegawai pegawaiPengantarSurat) {
|
||||
this.pegawaiPengantarSurat = pegawaiPengantarSurat;
|
||||
}
|
||||
public Integer getPegawaiPenngantarId() {
|
||||
return pegawaiPenngantarId;
|
||||
}
|
||||
public void setPegawaiPenngantarId(Integer pegawaiPenngantarId) {
|
||||
this.pegawaiPenngantarId = pegawaiPenngantarId;
|
||||
}
|
||||
public String getJamKirim() {
|
||||
return jamKirim;
|
||||
}
|
||||
public void setJamKirim(String jamKirim) {
|
||||
this.jamKirim = jamKirim;
|
||||
}
|
||||
public String getJamTerima() {
|
||||
return jamTerima;
|
||||
}
|
||||
public void setJamTerima(String jamTerima) {
|
||||
this.jamTerima = jamTerima;
|
||||
}
|
||||
public StrukVerifikasi getObjectstrukverifikasifk() {
|
||||
return objectstrukverifikasifk;
|
||||
}
|
||||
public void setObjectstrukverifikasifk(StrukVerifikasi objectstrukverifikasifk) {
|
||||
this.objectstrukverifikasifk = objectstrukverifikasifk;
|
||||
}
|
||||
public String getStrukverifikasifk() {
|
||||
return strukverifikasifk;
|
||||
}
|
||||
public void setStrukverifikasifk(String strukverifikasifk) {
|
||||
this.strukverifikasifk = strukverifikasifk;
|
||||
}
|
||||
public String getTujuanSurat() {
|
||||
return tujuanSurat;
|
||||
}
|
||||
public void setTujuanSurat(String tujuanSurat) {
|
||||
this.tujuanSurat = tujuanSurat;
|
||||
}
|
||||
public MetodeKirim getMetodeKirim() {
|
||||
return metodeKirim;
|
||||
}
|
||||
public void setMetodeKirim(MetodeKirim metodeKirim) {
|
||||
this.metodeKirim = metodeKirim;
|
||||
}
|
||||
public Integer getObjectMetodeKirimFk() {
|
||||
return objectMetodeKirimFk;
|
||||
}
|
||||
public void setObjectMetodeKirimFk(Integer objectMetodeKirimFk) {
|
||||
this.objectMetodeKirimFk = objectMetodeKirimFk;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,44 +1,36 @@
|
||||
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 com.jasamedika.medifirst2000.helper.Caption;
|
||||
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 DokumenRekamMedis
|
||||
*
|
||||
* @author Generator
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "DokumenRekamMedis_T")
|
||||
public class DokumenRekamMedis extends BaseTransaction {
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "NoCMFk")
|
||||
@NotNull(message = "No C M Harus Diisi")
|
||||
@Caption(value = "No C M")
|
||||
private Pasien noCM;
|
||||
|
||||
public Pasien getNoCM() {
|
||||
return noCM;
|
||||
}
|
||||
|
||||
public void setNoCM(Pasien noCM) {
|
||||
this.noCM = noCM;
|
||||
}
|
||||
|
||||
@Column(name = "NoCMFk", insertable = false, updatable = false)
|
||||
private Integer noCMId;
|
||||
|
||||
@ -47,15 +39,7 @@ public class DokumenRekamMedis extends BaseTransaction {
|
||||
@Caption(value = "No Kirim")
|
||||
private StrukKirim noKirim;
|
||||
|
||||
public StrukKirim getNoKirim() {
|
||||
return noKirim;
|
||||
}
|
||||
|
||||
public void setNoKirim(StrukKirim noKirim) {
|
||||
this.noKirim = noKirim;
|
||||
}
|
||||
|
||||
@Column(name = "NoKirimFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable=true)
|
||||
@Column(name = "NoKirimFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String noKirimId;
|
||||
|
||||
@ManyToOne
|
||||
@ -63,15 +47,7 @@ public class DokumenRekamMedis extends BaseTransaction {
|
||||
@Caption(value = "No Terima")
|
||||
private StrukPelayanan noTerima;
|
||||
|
||||
public StrukPelayanan getNoTerima() {
|
||||
return noTerima;
|
||||
}
|
||||
|
||||
public void setNoTerima(StrukPelayanan noTerima) {
|
||||
this.noTerima = noTerima;
|
||||
}
|
||||
|
||||
@Column(name = "NoTerimaFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "NoTerimaFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String noTerimaId;
|
||||
|
||||
@ManyToOne
|
||||
@ -80,14 +56,6 @@ public class DokumenRekamMedis extends BaseTransaction {
|
||||
@Caption(value = "No Dokumen")
|
||||
private Dokumen noDokumen;
|
||||
|
||||
public Dokumen getNoDokumen() {
|
||||
return noDokumen;
|
||||
}
|
||||
|
||||
public void setNoDokumen(Dokumen noDokumen) {
|
||||
this.noDokumen = noDokumen;
|
||||
}
|
||||
|
||||
@Column(name = "NoDokumenFk", insertable = false, updatable = false)
|
||||
private Integer noDokumenId;
|
||||
|
||||
@ -97,14 +65,6 @@ public class DokumenRekamMedis extends BaseTransaction {
|
||||
@Caption(value = "Ruangan Tujuan")
|
||||
private Ruangan ruanganTujuan;
|
||||
|
||||
public Ruangan getRuanganTujuan() {
|
||||
return ruanganTujuan;
|
||||
}
|
||||
|
||||
public void setRuanganTujuan(Ruangan ruanganTujuan) {
|
||||
this.ruanganTujuan = ruanganTujuan;
|
||||
}
|
||||
|
||||
@Column(name = "RuanganTujuanFk", insertable = false, updatable = false)
|
||||
private Integer ruanganTujuanId;
|
||||
|
||||
@ -114,59 +74,23 @@ public class DokumenRekamMedis extends BaseTransaction {
|
||||
@Caption(value = "Ruangan Asal")
|
||||
private Ruangan ruanganAsal;
|
||||
|
||||
public Ruangan getRuanganAsal() {
|
||||
return ruanganAsal;
|
||||
}
|
||||
|
||||
public void setRuanganAsal(Ruangan ruanganAsal) {
|
||||
this.ruanganAsal = ruanganAsal;
|
||||
}
|
||||
|
||||
@Column(name = "RuanganAsalFk", insertable = false, updatable = false)
|
||||
private Integer ruanganAsalId;
|
||||
|
||||
@Column(name = "Status", nullable = true, length = 100)
|
||||
@Column(name = "Status", length = 100)
|
||||
@Caption(value = "Status")
|
||||
private String status;
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
// add by Arya 2017-02-09
|
||||
@JsonManagedReference
|
||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "dokumenRekamMedis")
|
||||
private Set<MappingKirimDokumenPasien> mapKirimDokumenPasien = new HashSet<MappingKirimDokumenPasien>();
|
||||
// end add by Arya 2017-02-09
|
||||
@OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "dokumenRekamMedis")
|
||||
private Set<MappingKirimDokumenPasien> mapKirimDokumenPasien = new HashSet<>();
|
||||
|
||||
public Set<MappingKirimDokumenPasien> getMapKirimDokumenPasien() {
|
||||
return mapKirimDokumenPasien;
|
||||
}
|
||||
|
||||
public void setMapKirimDokumenPasien(Set<MappingKirimDokumenPasien> mapKirimDokumenPasien) {
|
||||
this.mapKirimDokumenPasien = mapKirimDokumenPasien;
|
||||
}
|
||||
|
||||
// add by Arya 2017-02-16
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "NoKirimReturnFk")
|
||||
@Caption(value = "No Kirim Return")
|
||||
private StrukKirim noKirim_Return;
|
||||
|
||||
@Column(name = "NoKirimReturnFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable=true)
|
||||
@Column(name = "NoKirimReturnFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
||||
private String noKirim_ReturnId;
|
||||
// end add by Arya 2017-02-16
|
||||
|
||||
public StrukKirim getNoKirim_Return() {
|
||||
return noKirim_Return;
|
||||
}
|
||||
|
||||
public void setNoKirim_Return(StrukKirim noKirim_Return) {
|
||||
this.noKirim_Return = noKirim_Return;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,24 +1,23 @@
|
||||
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 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 static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
/**
|
||||
* class DokumenTemplate
|
||||
*
|
||||
* @author Lukman Hakim
|
||||
*/
|
||||
@Entity // @Audited
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "Dokumen_Template_M")
|
||||
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
||||
public class DokumenTemplate extends BaseMaster {
|
||||
@ -26,24 +25,24 @@ public class DokumenTemplate extends BaseMaster {
|
||||
@Caption(value = "Deskripsi Dokumen")
|
||||
private String deskripsiDokumen;
|
||||
|
||||
@Column(name = "KdDokumen", nullable = true)
|
||||
@Column(name = "KdDokumen")
|
||||
@Caption(value = "Kode Dokumen")
|
||||
private Integer kdDokumen;
|
||||
|
||||
@Column(name = "fileLocation", nullable = true)
|
||||
|
||||
@Column(name = "fileLocation")
|
||||
@Caption(value = "FileLocation")
|
||||
private String fileLocation;
|
||||
|
||||
@Column(name = "fileName", nullable = true)
|
||||
|
||||
@Column(name = "fileName")
|
||||
@Caption(value = "Filename")
|
||||
private String fileName;
|
||||
|
||||
@ManyToOne
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ObjectJenisDokumenFk")
|
||||
@Caption(value = "Object Jenis Dokumen")
|
||||
private JenisDokumen jenisDokumen;
|
||||
|
||||
@Column(name = "ObjectJenisDokumenFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectJenisDokumenFk", insertable = false, updatable = false)
|
||||
private Integer jenisDokumenId;
|
||||
|
||||
@ManyToOne
|
||||
@ -51,86 +50,13 @@ public class DokumenTemplate extends BaseMaster {
|
||||
@Caption(value = "Object Kategory Dokumen")
|
||||
private KategoryDokumen kategoryDokumen;
|
||||
|
||||
@Column(name = "ObjectKategoryDokumenFk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "ObjectKategoryDokumenFk", insertable = false, updatable = false)
|
||||
private Integer kategoryDokumenId;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.agama_m_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.agama_m_id_seq", sequenceName = "public.agama_m_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.agama_m_id_seq")
|
||||
@SequenceGenerator(name = "public.agama_m_id_seq", sequenceName = "public.agama_m_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
public String getDeskripsiDokumen() {
|
||||
return deskripsiDokumen;
|
||||
}
|
||||
|
||||
public void setDeskripsiDokumen(String deskripsiDokumen) {
|
||||
this.deskripsiDokumen = deskripsiDokumen;
|
||||
}
|
||||
|
||||
public Integer getKdDokumen() {
|
||||
return kdDokumen;
|
||||
}
|
||||
|
||||
public void setKdDokumen(Integer kdDokumen) {
|
||||
this.kdDokumen = kdDokumen;
|
||||
}
|
||||
|
||||
public JenisDokumen getJenisDokumen() {
|
||||
return jenisDokumen;
|
||||
}
|
||||
|
||||
public void setJenisDokumen(JenisDokumen jenisDokumen) {
|
||||
this.jenisDokumen = jenisDokumen;
|
||||
}
|
||||
|
||||
public Integer getJenisDokumenId() {
|
||||
return jenisDokumenId;
|
||||
}
|
||||
|
||||
public void setJenisDokumenId(Integer jenisDokumenId) {
|
||||
this.jenisDokumenId = jenisDokumenId;
|
||||
}
|
||||
|
||||
public KategoryDokumen getKategoryDokumen() {
|
||||
return kategoryDokumen;
|
||||
}
|
||||
|
||||
public void setKategoryDokumen(KategoryDokumen kategoryDokumen) {
|
||||
this.kategoryDokumen = kategoryDokumen;
|
||||
}
|
||||
|
||||
public Integer getKategoryDokumenId() {
|
||||
return kategoryDokumenId;
|
||||
}
|
||||
|
||||
public void setKategoryDokumenId(Integer kategoryDokumenId) {
|
||||
this.kategoryDokumenId = kategoryDokumenId;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getFileLocation() {
|
||||
return fileLocation;
|
||||
}
|
||||
|
||||
public void setFileLocation(String fileLocation) {
|
||||
this.fileLocation = fileLocation;
|
||||
}
|
||||
|
||||
public String getFileName() {
|
||||
return fileName;
|
||||
}
|
||||
|
||||
public void setFileName(String fileName) {
|
||||
this.fileName = fileName;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -22,6 +22,7 @@ import static javax.persistence.TemporalType.TIMESTAMP;
|
||||
@Entity
|
||||
@Table(name = "document_vedika_tb")
|
||||
public class DokumenVedika implements Serializable {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "gen_document_vedika_tb_id_seq")
|
||||
@SequenceGenerator(name = "gen_document_vedika_tb_id_seq", sequenceName = "public.document_vedika_tb_id_seq", allocationSize = 1)
|
||||
@ -77,4 +78,5 @@ public class DokumenVedika implements Serializable {
|
||||
@Temporal(TIMESTAMP)
|
||||
@Caption(value = "Tanggal Log Dibuat")
|
||||
private Date logCreateAt;
|
||||
|
||||
}
|
||||
|
||||
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