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.OneToOne;
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;

@Entity
@Table(name = "OrderPelayanan_T")
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
public class OrderPelayanan extends BaseTransaction {

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "StrukKirimFk")
	@Caption(value = "Struk Kirim")
	private StrukKirim strukKirim;

	@Column(name = "StrukKirimFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = true)
	private String strukKirimId;

	@Column(name = "TipeMakanan", insertable = false, updatable = false, nullable = true)
	private TipeMakanan tipeMakanan;
	
	@ManyToOne
	@JoinColumn(name = "satuanViewFK")
	@Caption(value = "satuanView")
	private SatuanStandar satuanView;
	
	@Caption(value = "dosis")
	@Column(name = "dosis")
	private Float dosis;

	@Column(name = "satuanViewFK", insertable = false, updatable = false,nullable=true)
	private Integer satuanViewId;
	
	@Column(name = "rKe", nullable = true)
	@Caption(value = "rKe")
	private String rKe;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "bentukProdukFk")
	@Caption(value = "bentukProduk")	
	private BentukProduk bentukProduk;

	@Column(name = "bentukProdukFk", insertable = false, updatable = false, nullable = true)	
	private Integer bentukProdukId;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "StrukOrderFk")
	@NotNull(message = "Struk Order Harus Diisi")
	@Caption(value = "Struk Order")
	private StrukOrder strukOrder;

	@Column(name = "StrukOrderFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
	private String strukOrderId;

	@Caption(value = "Aturan Pakai")
	@Column(name = "aturanPakai", nullable = true, length = 30)
	private String aturanPakai;

	@Caption(value = "Deskripsi Produk Quo")
	@Column(name = "deskripsiProdukQuo", nullable = true, length = 300)
	private String deskripsiProdukQuo;

	@Caption(value = "Frekuensi In Use")
	@Column(name = "frekuensiInUse", nullable = true)
	private Double frekuensiInUse;

	@Caption(value = "Harga Discount")
	@Column(name = "hargaDiscount", nullable = true)
	private Double hargaDiscount;

	@Caption(value = "Harga Discount Quo")
	@Column(name = "hargaDiscountQuo", nullable = true)
	private Double hargaDiscountQuo;

	@Caption(value = "Harga P P H")
	@Column(name = "hargaPph", nullable = true)
	private Double hargaPph;

	@Caption(value = "Harga P P N")
	@Column(name = "hargaPpn", nullable = true)
	private Double hargaPpn;

	@Caption(value = "Harga P P N Quo")
	@Column(name = "hargaPpnQuo", nullable = true)
	private Double hargaPpnQuo;

	@Caption(value = "Harga Satuan")
	@Column(name = "HargaSatuan", nullable = true)
	private Double hargaSatuan;

	@Caption(value = "Harga Satuan Quo")
	@Column(name = "HargaSatuanQuo", nullable = true)
	private Double hargaSatuanQuo;

	@Caption(value = "Is Cito")
	@Column(name = "isCito", nullable = false)
	private Byte isCito;

	@Caption(value = "Is Ready Stok")
	@Column(name = "isReadyStok", nullable = true)
	private Byte isReadyStok;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectAccountFk")
	@Caption(value = "Object Account")
	private ChartOfAccount account;

	@Column(name = "ObjectAccountFk", insertable = false, updatable = false)
	private Integer accountId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectAsalProdukFk")
	@Caption(value = "Object Asal Produk")
	private AsalProduk asalproduk;

	@Column(name = "ObjectAsalProdukFk", insertable = false, updatable = false)
	private Integer asalProdukId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectBentukProdukDarahFk")
	@Caption(value = "Object Bentuk Produk Darah")
	private BentukProduk bentukProdukDarah;

	@Column(name = "ObjectBentukProdukDarahFk", insertable = false, updatable = false)
	private Integer bentukProdukDarahId;

	@Caption(value = "Kode Dokter")
	@Column(name = "KdDokter", nullable = true, length = 5)
	private String kdDokter;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectJenisDietFk")
	@Caption(value = "Object Jenis Diet")
	private JenisDiet jenisDiet;

	@Column(name = "ObjectJenisDietFk", insertable = false, updatable = false, nullable = true)
	private Integer jenisDietId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectJenisWaktuFk")
	@Caption(value = "Object Jenis Waktu")
	private JenisWaktu jenisWaktu;

	@Column(name = "ObjectJenisWaktuFk", insertable = false, updatable = false, nullable = true)
	private Integer jenisWaktuId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectKamarFk")
	@Caption(value = "Object Kamar")
	private Kamar kamar;

	@Column(name = "ObjectKamarFk", insertable = false, updatable = false)
	private Integer kamarId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectKategoryDietFk")
	@Caption(value = "Object Kategory Diet")
	private KategoryDiet kategoryDiet;

	@Column(name = "ObjectKategoryDietFk", insertable = false, updatable = false)
	private Integer kategoryDietId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectKelasFk")
	@Caption(value = "Object Kelas")
	private DetailKamar kelas;

	@Column(name = "ObjectKelasFk", insertable = false, updatable = false)
	private Integer kelasId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectKelasKamarFk")
	@Caption(value = "Object Kelas Kamar")
	private DetailKamar kelasKamar;

	@Column(name = "ObjectKelasKamarFk", insertable = false, updatable = false)
	private Integer kelasKamarId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectKeteranganDietFk")
	@Caption(value = "Object Keterangan Diet")
	private KeteranganDiet keteranganDiet;

	@Column(name = "ObjectKeteranganDietFk", insertable = false, updatable = false)
	private Integer keteranganDietId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectMataUangFk")
	@Caption(value = "Object Mata Uang")
	private MataUang mataUang;

	@Column(name = "ObjectMataUangFk", insertable = false, updatable = false)
	private Integer mataUangId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectMataUang_QuoFk")
	@Caption(value = "Object Mata Uang_ Quo")
	private MataUang mataUangQuo;

	@Column(name = "ObjectMataUang_QuoFk", insertable = false, updatable = false)
	private Integer mataUangQuoId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectProdukFk")
	@NotNull(message = "Object Produk Harus Diisi")
	@Caption(value = "Object Produk")
	private Produk produk;

	@Column(name = "ObjectProdukFk", insertable = false, updatable = false)
	private Integer produkId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectProdukQuoFk")
	@Caption(value = "Object Produk Quo")
	private Produk produkQuo;

	@Column(name = "ObjectProduk_QuoFk", insertable = false, updatable = false)
	private Integer produkQuoId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectProdukForUsedFk")
	@Caption(value = "Object Produk For Used")
	private Produk produkForUsed;

	@Column(name = "ObjectProdukForUsedFk", insertable = false, updatable = false)
	private Integer produkForUsedId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectProdukAsetFk")
	@Caption(value = "Object Produk Aset")
	private Produk produkAset;

	@Column(name = "ObjectProdukAsetFk", insertable = false, updatable = false)
	private Integer produkAsetId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectProdukTriggerFk")
	@Caption(value = "Object Produk Trigger")
	private Produk produkTrigger;

	@Column(name = "ObjectProdukTriggerFk", insertable = false, updatable = false)
	private Integer produkTriggerId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectRuanganFk")
	@NotNull(message = "Object Ruangan Harus Diisi")
	@Caption(value = "Object Ruangan")
	private Ruangan ruangan;

	@Column(name = "ObjectRuanganFk", insertable = false, updatable = false)
	private Integer ruanganId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectRuanganTujuanFk")
	@NotNull(message = "Object Ruangan Tujuan Harus Diisi")
	@Caption(value = "Object Ruangan Tujuan")
	private Ruangan ruanganTujuan;

	@Column(name = "ObjectRuanganTujuanFk", insertable = false, updatable = false)
	private Integer ruanganTujuanId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectSatuanBesarFk")
	@Caption(value = "Object Satuan Besar")
	private SatuanBesar satuanBesar;

	@Column(name = "ObjectSatuanBesarFk", insertable = false, updatable = false)
	private Integer satuanBesarId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectSatuanStandarFk")
	@Caption(value = "Object Satuan Besar")
	private SatuanStandar satuanStandar;

	@Column(name = "ObjectSatuanStandarFk", insertable = false, updatable = false)
	private Integer satuanStandarId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectSatuanWaktuFk")
	@Caption(value = "Object Satuan Waktu")
	private SatuanWaktu satuanWaktu;

	@Column(name = "ObjectSatuanWaktuFk", insertable = false, updatable = false)
	private Integer satuanWaktuId;

	@Caption(value = "Keterangan Lainnya")
	@Column(name = "keteranganLainnya", nullable = true, length = 150)
	private String keteranganLainnya;

	@Caption(value = "Keterangan Lainnya_ Quo")
	@Column(name = "KeteranganLainnya_Quo", nullable = true, length = 150)
	private String keteranganLainnyaQuo;

	@Caption(value = "Keterangan Stok_ Quo")
	@Column(name = "keteranganStok_Quo", nullable = true, length = 50)
	private String keteranganStokQuo;

	@Caption(value = "Nama Konfirmasi")
	@Column(name = "namaKonfirmasi", nullable = true, length = 50)
	private String namaKonfirmasi;

	@Caption(value = "Nama Produk Quo")
	@Column(name = "namaProdukQuo", nullable = true, length = 150)
	private String namaProdukQuo;

	@Caption(value = "No Bed")
	@Column(name = "NoBed", nullable = true)
	private Byte noBed;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "NoCMFk")
	@Caption(value = "No C M")
	private Pasien noCm;

	@Column(name = "NoCMFk", insertable = false, updatable = false)
	private Integer noCmId;

	@Caption(value = "No Kontrak S P K")
	@Column(name = "NoKontrakSPK", nullable = true, length = 10)
	private String noKontrakSpk;
	
	@ManyToOne (fetch = FetchType.LAZY)
	@JoinColumn(name = "NoOrderFk")
	@NotNull(message = "No Order Harus Diisi")
	@Caption(value = "No Order")
	private StrukOrder noOrder;

	@Column(name = "NoOrderFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
	private String noOrderId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "NoOrderToExtFk")
	@Caption(value = "No Order To Ext")
	private StrukOrder noOrderToExt;

	@Column(name = "NoOrderToExtFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
	private String noOrderToExtId;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "NoRegisterAsetFk")
	@Caption(value = "No Register Aset")
	private RegistrasiAset registrasiAset;

	@Column(name = "NoRegisterAsetFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
	private String registrasiAsetId;
	  
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "NoRegistrasiFk")
	@Caption(value = "No Registrasi")
	private PasienDaftar noRegistrasi;

	@Column(name = "NoRegistrasiFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
	private String noRegistrasiId;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "NoReturFk")
	@Caption(value = "No Retur")
	private StrukRetur noRetur;

	@Column(name = "NoReturFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
	private String noReturId;

	@Caption(value = "No Serial Part Produk")
	@Column(name = "NoSerialPartProduk", nullable = true, length = 30)
	private String noSerialPartproduk;
	
	@OneToOne(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectStrukVerifikasiFk", nullable = true)
	@Caption(value = "Struk Verifikasi")	
	private StrukVerifikasi strukVerifikasi;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "NoHasilPeriksaFk")
	@Caption(value = "No Hasil Periksa")
	private StrukHasilPemeriksaan noHasilPeriksa;

	@Column(name = "noHasilPeriksaFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
	private String noHasilPeriksaId;

	@Caption(value = "Persen Discount")
	@Column(name = "PersenDiscount", nullable = true)
	private Double persenDiscount;

	@Caption(value = "Persen Discount Quo")
	@Column(name = "PersenDiscountQuo", nullable = true)
	private Double persenDiscountQuo;

	@Caption(value = "Qty Keluar Last")
	@Column(name = "QtyKeluarLast", nullable = true)
	private Double qtyKeluarLast;

	@Caption(value = "Qty Kemasan")
	@Column(name = "QtyKemasan", nullable = true)
	private Double qtyKemasan;

	@Caption(value = "Qty Order Last")
	@Column(name = "QtyOrderLast", nullable = true)
	private Double qtyOrderLast;

	@Caption(value = "Qty Produk")
	@Column(name = "QtyProduk", nullable = false)
	private Double qtyProduk;

	@Caption(value = "Qty Produk In Use")
	@Column(name = "QtyProdukInUse", nullable = true)
	private Double qtyProdukInUse;

	@Caption(value = "Qty Produk Konfirmasi")
	@Column(name = "QtyProdukKonfirmasi", nullable = true)
	private Double qtyProdukKonfirmasi;

	@Caption(value = "Qty Produk Retur")
	@Column(name = "QtyProdukRetur", nullable = false)
	private Double qtyProdukRetur;

	@Caption(value = "Qty Stok Current")
	@Column(name = "QtyStokCurrent", nullable = true)
	private Double qtyStokCurrent;

	@Caption(value = "Qty Terima Last")
	@Column(name = "QtyTerimaLast", nullable = true)
	private Double qtyTerimaLast;

	@Caption(value = "Racikan Ke")
	@Column(name = "RacikanKe", nullable = true)
	private Byte racikanKe;

	@Caption(value = "Resep Ke")
	@Column(name = "ResepKe", nullable = true)
	private Byte resepKe;

	@Caption(value = "Status Rhesus")
	@Column(name = "StatusRhesus", nullable = true, length = 1)
	private String statusRhesus;

	@Caption(value = "Tanggal Available_ Quo")
	@Column(name = "TglAvailable_Quo", nullable = true)
	private Date tglAvailableQuo;

	@Caption(value = "Tanggal Pelayanan")
	@Column(name = "TglPelayanan", nullable = false)
	private Date tglPelayanan;

	@Caption(value = "Tanggal Pelayanan Akhir")
	@Column(name = "TglPelayananAkhir", nullable = true)
	private Date tglPelayananAkhir;

	@Caption(value = "statusGizi")
	@Column(name = "statusGizi", nullable = true)
	private String statusGizi;
	
	@Caption(value = "IsVerifikasi")
	@Column(name = "IsVerifikasi", nullable = true)
	private Boolean isVerifikasi;

	@JsonManagedReference
	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "orderPelayanan")
	@Caption(value = "mapKamarAsrama")
	private Set<MappingKamarAsrama> mapKamarAsrama = new HashSet<MappingKamarAsrama>();

	@JsonManagedReference
	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "orderPelayanan")
	@Caption(value = "mapJenazah")
	private Set<MappingPelayananJenazah> mapJenazah = new HashSet<MappingPelayananJenazah>();

	@Caption(value = "Nama Rumah Sakit")
	@Column(name = "NamaRumahSakit", length = 100, nullable = true)
	private String namaRumahSakit;

	@Caption(value = "Nama Personal")
	@Column(name = "NamaPersonal", length = 100, nullable = true)
	private String namaPersonal;

	@Caption(value = "Alamat Personal")
	@Column(name = "AlamatPersonal", length = 100, nullable = true)
	private String alamatPersonal;

	@ManyToOne(fetch = FetchType.LAZY)
	@Caption(value = "Nama Penyerah Barang")
	@JoinColumn(name = "ObjectNamaPenyerahBarangFk")
	private Pegawai namaPenyerahBarang;

	@Column(name = "ObjectNamaPenyerahBarangFk", nullable = true, insertable = false, updatable = false)
	private Integer namaPenyerahBarangId;

	@ManyToOne(fetch = FetchType.LAZY)
	@Caption(value = "Nama Penerima Barang")
	@JoinColumn(name = "ObjectNamaPenerimaBarangFk")
	private Pegawai namaPenerimaBarang;

	@Column(name = "ObjectNamaPenerimaBarangFk", nullable = true, insertable = false, updatable = false)
	private Integer namaPenerimaBarangId;

	@Caption(value = "Tgl Waktu Penerimaan")
	@Column(name = "TglWaktuPenerimaan", nullable = true)
	private Date tglWaktuPenerimaan;
	
	@Caption(value="Hasil Konversi")
	@Column(name = "hasilKonversi", nullable = true )
	private Double hasilKonversi;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "Generik")	
	@Caption(value = "Generik")
	private Generik generik;

	@Column(name = "Generik", insertable = false, updatable = false,nullable=true)
	private Integer generikId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "RouteFk")
	@Caption(value = "Route")
	private RouteFarmasi route;

	@Column(name = "RouteFk", insertable = false, updatable = false)
	private Integer routeId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "JenisObatFk")
	@Caption(value = "Jenis Obat")
	private JenisObat jenisObat;

	@Column(name = "JenisObatFk", insertable = false, updatable = false)
	private Integer jenisObatId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "KeteranganPakaiFk")
	@Caption(value = "Keterangan Pakai")
	private Stigma keteranganPakai;

	@Column(name = "KeteranganPakaiFk", insertable = false, updatable = false)
	private Integer keteranganPakaiId;

	@Caption(value="jumlah")
	@Column(name = "jumlah", nullable = true )
	private Double jumlah;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "JenisKemasanFk")
	@Caption(value = "JenisKemasan")
	private JenisKemasan jenisKemasan;

	@Column(name = "JenisKemasanFk", insertable = false, updatable = false)
	private Integer jenisKemasanId;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "TipeMakananFk")
	@Caption(value = "Tipe Makanan")
	private TipeMakanan typeMakanan;

	@Column(name = "TipeMakananFk", insertable = false, updatable = false)
	private Integer typeMakananId;

	public StrukKirim getStrukKirim() {
		return strukKirim;
	}

	public void setStrukKirim(StrukKirim strukKirim) {
		this.strukKirim = strukKirim;
	}

	public String getStrukKirimId() {
		return strukKirimId;
	}

	public void setStrukKirimId(String strukKirimId) {
		this.strukKirimId = strukKirimId;
	}

	public TipeMakanan getTipeMakanan() {
		return tipeMakanan;
	}

	public void setTipeMakanan(TipeMakanan tipeMakanan) {
		this.tipeMakanan = tipeMakanan;
	}

	public BentukProduk getBentukProduk() {
		return bentukProduk;
	}

	public void setBentukProduk(BentukProduk bentukProduk) {
		this.bentukProduk = bentukProduk;
	}

	public Integer getBentukProdukId() {
		return bentukProdukId;
	}

	public void setBentukProdukId(Integer bentukProdukId) {
		this.bentukProdukId = bentukProdukId;
	}

	public StrukOrder getStrukOrder() {
		return strukOrder;
	}

	public void setStrukOrder(StrukOrder strukOrder) {
		this.strukOrder = strukOrder;
	}

	public String getStrukOrderId() {
		return strukOrderId;
	}

	public void setStrukOrderId(String strukOrderId) {
		this.strukOrderId = strukOrderId;
	}

	public String getAturanPakai() {
		return aturanPakai;
	}

	public void setAturanPakai(String aturanPakai) {
		this.aturanPakai = aturanPakai;
	}

	public String getDeskripsiProdukQuo() {
		return deskripsiProdukQuo;
	}

	public void setDeskripsiProdukQuo(String deskripsiProdukQuo) {
		this.deskripsiProdukQuo = deskripsiProdukQuo;
	}

	public Double getFrekuensiInUse() {
		return frekuensiInUse;
	}

	public void setFrekuensiInUse(Double frekuensiInUse) {
		this.frekuensiInUse = frekuensiInUse;
	}

	public Double getHargaDiscount() {
		return hargaDiscount;
	}

	public void setHargaDiscount(Double hargaDiscount) {
		this.hargaDiscount = hargaDiscount;
	}

	public Double getHargaDiscountQuo() {
		return hargaDiscountQuo;
	}

	public void setHargaDiscountQuo(Double hargaDiscountQuo) {
		this.hargaDiscountQuo = hargaDiscountQuo;
	}

	public Double getHargaPph() {
		return hargaPph;
	}

	public void setHargaPph(Double hargaPph) {
		this.hargaPph = hargaPph;
	}

	public Double getHargaPpn() {
		return hargaPpn;
	}

	public void setHargaPpn(Double hargaPpn) {
		this.hargaPpn = hargaPpn;
	}

	public Double getHargaPpnQuo() {
		return hargaPpnQuo;
	}

	public void setHargaPpnQuo(Double hargaPpnQuo) {
		this.hargaPpnQuo = hargaPpnQuo;
	}

	public Double getHargaSatuan() {
		return hargaSatuan;
	}

	public void setHargaSatuan(Double hargaSatuan) {
		this.hargaSatuan = hargaSatuan;
	}

	public Double getHargaSatuanQuo() {
		return hargaSatuanQuo;
	}

	public void setHargaSatuanQuo(Double hargaSatuanQuo) {
		this.hargaSatuanQuo = hargaSatuanQuo;
	}

	public Byte getIsCito() {
		return isCito;
	}

	public void setIsCito(Byte isCito) {
		this.isCito = isCito;
	}

	public Byte getIsReadyStok() {
		return isReadyStok;
	}

	public void setIsReadyStok(Byte isReadyStok) {
		this.isReadyStok = isReadyStok;
	}

	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 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 BentukProduk getBentukProdukDarah() {
		return bentukProdukDarah;
	}

	public void setBentukProdukDarah(BentukProduk bentukProdukDarah) {
		this.bentukProdukDarah = bentukProdukDarah;
	}

	public Integer getBentukProdukDarahId() {
		return bentukProdukDarahId;
	}

	public void setBentukProdukDarahId(Integer bentukProdukDarahId) {
		this.bentukProdukDarahId = bentukProdukDarahId;
	}

	public String getKdDokter() {
		return kdDokter;
	}

	public void setKdDokter(String kdDokter) {
		this.kdDokter = kdDokter;
	}

	public JenisDiet getJenisDiet() {
		return jenisDiet;
	}

	public void setJenisDiet(JenisDiet jenisDiet) {
		this.jenisDiet = jenisDiet;
	}

	public Integer getJenisDietId() {
		return jenisDietId;
	}

	public void setJenisDietId(Integer jenisDietId) {
		this.jenisDietId = jenisDietId;
	}

	public JenisWaktu getJenisWaktu() {
		return jenisWaktu;
	}

	public void setJenisWaktu(JenisWaktu jenisWaktu) {
		this.jenisWaktu = jenisWaktu;
	}

	public Integer getJenisWaktuId() {
		return jenisWaktuId;
	}

	public void setJenisWaktuId(Integer jenisWaktuId) {
		this.jenisWaktuId = jenisWaktuId;
	}

	public Kamar getKamar() {
		return kamar;
	}

	public void setKamar(Kamar kamar) {
		this.kamar = kamar;
	}

	public Integer getKamarId() {
		return kamarId;
	}

	public void setKamarId(Integer kamarId) {
		this.kamarId = kamarId;
	}

	public KategoryDiet getKategoryDiet() {
		return kategoryDiet;
	}

	public void setKategoryDiet(KategoryDiet kategoryDiet) {
		this.kategoryDiet = kategoryDiet;
	}

	public Integer getKategoryDietId() {
		return kategoryDietId;
	}

	public void setKategoryDietId(Integer kategoryDietId) {
		this.kategoryDietId = kategoryDietId;
	}

	public DetailKamar getKelas() {
		return kelas;
	}

	public void setKelas(DetailKamar kelas) {
		this.kelas = kelas;
	}

	public Integer getKelasId() {
		return kelasId;
	}

	public void setKelasId(Integer kelasId) {
		this.kelasId = kelasId;
	}

	public DetailKamar getKelasKamar() {
		return kelasKamar;
	}

	public void setKelasKamar(DetailKamar kelasKamar) {
		this.kelasKamar = kelasKamar;
	}

	public Integer getKelasKamarId() {
		return kelasKamarId;
	}

	public void setKelasKamarId(Integer kelasKamarId) {
		this.kelasKamarId = kelasKamarId;
	}

	public KeteranganDiet getKeteranganDiet() {
		return keteranganDiet;
	}

	public void setKeteranganDiet(KeteranganDiet keteranganDiet) {
		this.keteranganDiet = keteranganDiet;
	}

	public Integer getKeteranganDietId() {
		return keteranganDietId;
	}

	public void setKeteranganDietId(Integer keteranganDietId) {
		this.keteranganDietId = keteranganDietId;
	}

	public MataUang getMataUang() {
		return mataUang;
	}

	public void setMataUang(MataUang mataUang) {
		this.mataUang = mataUang;
	}

	public Integer getMataUangId() {
		return mataUangId;
	}

	public void setMataUangId(Integer mataUangId) {
		this.mataUangId = mataUangId;
	}

	public MataUang getMataUangQuo() {
		return mataUangQuo;
	}

	public void setMataUangQuo(MataUang mataUangQuo) {
		this.mataUangQuo = mataUangQuo;
	}

	public Integer getMataUangQuoId() {
		return mataUangQuoId;
	}

	public void setMataUangQuoId(Integer mataUangQuoId) {
		this.mataUangQuoId = mataUangQuoId;
	}

	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 Produk getProdukQuo() {
		return produkQuo;
	}

	public void setProdukQuo(Produk produkQuo) {
		this.produkQuo = produkQuo;
	}

	public Integer getProdukQuoId() {
		return produkQuoId;
	}

	public void setProdukQuoId(Integer produkQuoId) {
		this.produkQuoId = produkQuoId;
	}

	public Produk getProdukForUsed() {
		return produkForUsed;
	}

	public void setProdukForUsed(Produk produkForUsed) {
		this.produkForUsed = produkForUsed;
	}

	public Integer getProdukForUsedId() {
		return produkForUsedId;
	}

	public void setProdukForUsedId(Integer produkForUsedId) {
		this.produkForUsedId = produkForUsedId;
	}

	public Produk getProdukAset() {
		return produkAset;
	}

	public void setProdukAset(Produk produkAset) {
		this.produkAset = produkAset;
	}

	public Integer getProdukAsetId() {
		return produkAsetId;
	}

	public void setProdukAsetId(Integer produkAsetId) {
		this.produkAsetId = produkAsetId;
	}

	public Produk getProdukTrigger() {
		return produkTrigger;
	}

	public void setProdukTrigger(Produk produkTrigger) {
		this.produkTrigger = produkTrigger;
	}

	public Integer getProdukTriggerId() {
		return produkTriggerId;
	}

	public void setProdukTriggerId(Integer produkTriggerId) {
		this.produkTriggerId = produkTriggerId;
	}

	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 Ruangan getRuanganTujuan() {
		return ruanganTujuan;
	}

	public void setRuanganTujuan(Ruangan ruanganTujuan) {
		this.ruanganTujuan = ruanganTujuan;
	}

	public Integer getRuanganTujuanId() {
		return ruanganTujuanId;
	}

	public void setRuanganTujuanId(Integer ruanganTujuanId) {
		this.ruanganTujuanId = ruanganTujuanId;
	}

	public SatuanBesar getSatuanBesar() {
		return satuanBesar;
	}

	public void setSatuanBesar(SatuanBesar satuanBesar) {
		this.satuanBesar = satuanBesar;
	}

	public Integer getSatuanBesarId() {
		return satuanBesarId;
	}

	public void setSatuanBesarId(Integer satuanBesarId) {
		this.satuanBesarId = satuanBesarId;
	}

	public SatuanStandar getSatuanStandar() {
		return satuanStandar;
	}

	public void setSatuanStandar(SatuanStandar satuanStandar) {
		this.satuanStandar = satuanStandar;
	}

	public Integer getSatuanStandarId() {
		return satuanStandarId;
	}

	public void setSatuanStandarId(Integer satuanStandarId) {
		this.satuanStandarId = satuanStandarId;
	}

	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 String getKeteranganLainnya() {
		return keteranganLainnya;
	}

	public void setKeteranganLainnya(String keteranganLainnya) {
		this.keteranganLainnya = keteranganLainnya;
	}

	public String getKeteranganLainnyaQuo() {
		return keteranganLainnyaQuo;
	}

	public void setKeteranganLainnyaQuo(String keteranganLainnyaQuo) {
		this.keteranganLainnyaQuo = keteranganLainnyaQuo;
	}

	public String getKeteranganStokQuo() {
		return keteranganStokQuo;
	}

	public void setKeteranganStokQuo(String keteranganStokQuo) {
		this.keteranganStokQuo = keteranganStokQuo;
	}

	public String getNamaKonfirmasi() {
		return namaKonfirmasi;
	}

	public void setNamaKonfirmasi(String namaKonfirmasi) {
		this.namaKonfirmasi = namaKonfirmasi;
	}

	public String getNamaProdukQuo() {
		return namaProdukQuo;
	}

	public void setNamaProdukQuo(String namaProdukQuo) {
		this.namaProdukQuo = namaProdukQuo;
	}

	public Byte getNoBed() {
		return noBed;
	}

	public void setNoBed(Byte noBed) {
		this.noBed = noBed;
	}

	public Pasien getNoCm() {
		return noCm;
	}

	public void setNoCm(Pasien noCm) {
		this.noCm = noCm;
	}

	public Integer getNoCmId() {
		return noCmId;
	}

	public void setNoCmId(Integer noCmId) {
		this.noCmId = noCmId;
	}

	public String getNoKontrakSpk() {
		return noKontrakSpk;
	}

	public void setNoKontrakSpk(String noKontrakSpk) {
		this.noKontrakSpk = noKontrakSpk;
	}

	public StrukOrder getNoOrder() {
		return noOrder;
	}

	public void setNoOrder(StrukOrder noOrder) {
		this.noOrder = noOrder;
	}

	public String getNoOrderId() {
		return noOrderId;
	}

	public void setNoOrderId(String noOrderId) {
		this.noOrderId = noOrderId;
	}

	public StrukOrder getNoOrderToExt() {
		return noOrderToExt;
	}

	public void setNoOrderToExt(StrukOrder noOrderToExt) {
		this.noOrderToExt = noOrderToExt;
	}

	public String getNoOrderToExtId() {
		return noOrderToExtId;
	}

	public void setNoOrderToExtId(String noOrderToExtId) {
		this.noOrderToExtId = noOrderToExtId;
	}

	public RegistrasiAset getRegistrasiAset() {
		return registrasiAset;
	}

	public void setRegistrasiAset(RegistrasiAset registrasiAset) {
		this.registrasiAset = registrasiAset;
	}

	public String getRegistrasiAsetId() {
		return registrasiAsetId;
	}

	public void setRegistrasiAsetId(String registrasiAsetId) {
		this.registrasiAsetId = registrasiAsetId;
	}

	public PasienDaftar getNoRegistrasi() {
		return noRegistrasi;
	}

	public void setNoRegistrasi(PasienDaftar noRegistrasi) {
		this.noRegistrasi = noRegistrasi;
	}

	public String getNoRegistrasiId() {
		return noRegistrasiId;
	}

	public void setNoRegistrasiId(String noRegistrasiId) {
		this.noRegistrasiId = noRegistrasiId;
	}

	public StrukRetur getNoRetur() {
		return noRetur;
	}

	public void setNoRetur(StrukRetur noRetur) {
		this.noRetur = noRetur;
	}

	public String getNoReturId() {
		return noReturId;
	}

	public void setNoReturId(String noReturId) {
		this.noReturId = noReturId;
	}

	public String getNoSerialPartproduk() {
		return noSerialPartproduk;
	}

	public void setNoSerialPartproduk(String noSerialPartproduk) {
		this.noSerialPartproduk = noSerialPartproduk;
	}

	public StrukVerifikasi getStrukVerifikasi() {
		return strukVerifikasi;
	}

	public void setStrukVerifikasi(StrukVerifikasi strukVerifikasi) {
		this.strukVerifikasi = strukVerifikasi;
	}

	public StrukHasilPemeriksaan getNoHasilPeriksa() {
		return noHasilPeriksa;
	}

	public void setNoHasilPeriksa(StrukHasilPemeriksaan noHasilPeriksa) {
		this.noHasilPeriksa = noHasilPeriksa;
	}

	public String getNoHasilPeriksaId() {
		return noHasilPeriksaId;
	}

	public void setNoHasilPeriksaId(String noHasilPeriksaId) {
		this.noHasilPeriksaId = noHasilPeriksaId;
	}

	public Double getPersenDiscount() {
		return persenDiscount;
	}

	public void setPersenDiscount(Double persenDiscount) {
		this.persenDiscount = persenDiscount;
	}

	public Double getPersenDiscountQuo() {
		return persenDiscountQuo;
	}

	public void setPersenDiscountQuo(Double persenDiscountQuo) {
		this.persenDiscountQuo = persenDiscountQuo;
	}

	public Double getQtyKeluarLast() {
		return qtyKeluarLast;
	}

	public void setQtyKeluarLast(Double qtyKeluarLast) {
		this.qtyKeluarLast = qtyKeluarLast;
	}

	public Double getQtyKemasan() {
		return qtyKemasan;
	}

	public void setQtyKemasan(Double qtyKemasan) {
		this.qtyKemasan = qtyKemasan;
	}

	public Double getQtyOrderLast() {
		return qtyOrderLast;
	}

	public void setQtyOrderLast(Double qtyOrderLast) {
		this.qtyOrderLast = qtyOrderLast;
	}

	public Double getQtyProduk() {
		return qtyProduk;
	}

	public void setQtyProduk(Double qtyProduk) {
		this.qtyProduk = qtyProduk;
	}

	public Double getQtyProdukInUse() {
		return qtyProdukInUse;
	}

	public void setQtyProdukInUse(Double qtyProdukInUse) {
		this.qtyProdukInUse = qtyProdukInUse;
	}

	public Double getQtyProdukKonfirmasi() {
		return qtyProdukKonfirmasi;
	}

	public void setQtyProdukKonfirmasi(Double qtyProdukKonfirmasi) {
		this.qtyProdukKonfirmasi = qtyProdukKonfirmasi;
	}

	public Double getQtyProdukRetur() {
		return qtyProdukRetur;
	}

	public void setQtyProdukRetur(Double qtyProdukRetur) {
		this.qtyProdukRetur = qtyProdukRetur;
	}

	public Double getQtyStokCurrent() {
		return qtyStokCurrent;
	}

	public void setQtyStokCurrent(Double qtyStokCurrent) {
		this.qtyStokCurrent = qtyStokCurrent;
	}

	public Double getQtyTerimaLast() {
		return qtyTerimaLast;
	}

	public void setQtyTerimaLast(Double qtyTerimaLast) {
		this.qtyTerimaLast = qtyTerimaLast;
	}

	public Byte getRacikanKe() {
		return racikanKe;
	}

	public void setRacikanKe(Byte racikanKe) {
		this.racikanKe = racikanKe;
	}

	public Byte getResepKe() {
		return resepKe;
	}

	public void setResepKe(Byte resepKe) {
		this.resepKe = resepKe;
	}

	public String getStatusRhesus() {
		return statusRhesus;
	}

	public void setStatusRhesus(String statusRhesus) {
		this.statusRhesus = statusRhesus;
	}

	public Date getTglAvailableQuo() {
		return tglAvailableQuo;
	}

	public void setTglAvailableQuo(Date tglAvailableQuo) {
		this.tglAvailableQuo = tglAvailableQuo;
	}

	public Date getTglPelayanan() {
		return tglPelayanan;
	}

	public void setTglPelayanan(Date tglPelayanan) {
		this.tglPelayanan = tglPelayanan;
	}

	public Date getTglPelayananAkhir() {
		return tglPelayananAkhir;
	}

	public void setTglPelayananAkhir(Date tglPelayananAkhir) {
		this.tglPelayananAkhir = tglPelayananAkhir;
	}

	public String getStatusGizi() {
		return statusGizi;
	}

	public void setStatusGizi(String statusGizi) {
		this.statusGizi = statusGizi;
	}

	public Boolean getIsVerifikasi() {
		return isVerifikasi;
	}

	public void setIsVerifikasi(Boolean isVerifikasi) {
		this.isVerifikasi = isVerifikasi;
	}

	public Set<MappingKamarAsrama> getMapKamarAsrama() {
		return mapKamarAsrama;
	}

	public void setMapKamarAsrama(Set<MappingKamarAsrama> mapKamarAsrama) {
		this.mapKamarAsrama = mapKamarAsrama;
	}

	public Set<MappingPelayananJenazah> getMapJenazah() {
		return mapJenazah;
	}

	public void setMapJenazah(Set<MappingPelayananJenazah> mapJenazah) {
		this.mapJenazah = mapJenazah;
	}

	public String getNamaRumahSakit() {
		return namaRumahSakit;
	}

	public void setNamaRumahSakit(String namaRumahSakit) {
		this.namaRumahSakit = namaRumahSakit;
	}

	public String getNamaPersonal() {
		return namaPersonal;
	}

	public void setNamaPersonal(String namaPersonal) {
		this.namaPersonal = namaPersonal;
	}

	public String getAlamatPersonal() {
		return alamatPersonal;
	}

	public void setAlamatPersonal(String alamatPersonal) {
		this.alamatPersonal = alamatPersonal;
	}

	public Pegawai getNamaPenyerahBarang() {
		return namaPenyerahBarang;
	}

	public void setNamaPenyerahBarang(Pegawai namaPenyerahBarang) {
		this.namaPenyerahBarang = namaPenyerahBarang;
	}

	public Integer getNamaPenyerahBarangId() {
		return namaPenyerahBarangId;
	}

	public void setNamaPenyerahBarangId(Integer namaPenyerahBarangId) {
		this.namaPenyerahBarangId = namaPenyerahBarangId;
	}

	public Pegawai getNamaPenerimaBarang() {
		return namaPenerimaBarang;
	}

	public void setNamaPenerimaBarang(Pegawai namaPenerimaBarang) {
		this.namaPenerimaBarang = namaPenerimaBarang;
	}

	public Integer getNamaPenerimaBarangId() {
		return namaPenerimaBarangId;
	}

	public void setNamaPenerimaBarangId(Integer namaPenerimaBarangId) {
		this.namaPenerimaBarangId = namaPenerimaBarangId;
	}

	public Date getTglWaktuPenerimaan() {
		return tglWaktuPenerimaan;
	}

	public void setTglWaktuPenerimaan(Date tglWaktuPenerimaan) {
		this.tglWaktuPenerimaan = tglWaktuPenerimaan;
	}

	public Double getHasilKonversi() {
		return hasilKonversi;
	}

	public void setHasilKonversi(Double hasilKonversi) {
		this.hasilKonversi = hasilKonversi;
	}

	public Generik getGenerik() {
		return generik;
	}

	public void setGenerik(Generik generik) {
		this.generik = generik;
	}

	public Integer getGenerikId() {
		return generikId;
	}

	public void setGenerikId(Integer generikId) {
		this.generikId = generikId;
	}

	public RouteFarmasi getRoute() {
		return route;
	}

	public void setRoute(RouteFarmasi route) {
		this.route = route;
	}

	public Integer getRouteId() {
		return routeId;
	}

	public void setRouteId(Integer routeId) {
		this.routeId = routeId;
	}

	public JenisObat getJenisObat() {
		return jenisObat;
	}

	public void setJenisObat(JenisObat jenisObat) {
		this.jenisObat = jenisObat;
	}

	public Integer getJenisObatId() {
		return jenisObatId;
	}

	public void setJenisObatId(Integer jenisObatId) {
		this.jenisObatId = jenisObatId;
	}

	public Stigma getKeteranganPakai() {
		return keteranganPakai;
	}

	public void setKeteranganPakai(Stigma keteranganPakai) {
		this.keteranganPakai = keteranganPakai;
	}

	public Integer getKeteranganPakaiId() {
		return keteranganPakaiId;
	}

	public void setKeteranganPakaiId(Integer keteranganPakaiId) {
		this.keteranganPakaiId = keteranganPakaiId;
	}

	public Double getJumlah() {
		return jumlah;
	}

	public void setJumlah(Double jumlah) {
		this.jumlah = jumlah;
	}

	public JenisKemasan getJenisKemasan() {
		return jenisKemasan;
	}

	public void setJenisKemasan(JenisKemasan jenisKemasan) {
		this.jenisKemasan = jenisKemasan;
	}

	public Integer getJenisKemasanId() {
		return jenisKemasanId;
	}

	public void setJenisKemasanId(Integer jenisKemasanId) {
		this.jenisKemasanId = jenisKemasanId;
	}

	public TipeMakanan getTypeMakanan() {
		return typeMakanan;
	}

	public void setTypeMakanan(TipeMakanan typeMakanan) {
		this.typeMakanan = typeMakanan;
	}

	public Integer getTypeMakananId() {
		return typeMakananId;
	}

	public void setTypeMakananId(Integer typeMakananId) {
		this.typeMakananId = typeMakananId;
	}

	public SatuanStandar getSatuanView() {
		return satuanView;
	}

	public void setSatuanView(SatuanStandar satuanView) {
		this.satuanView = satuanView;
	}

	public Float getDosis() {
		return dosis;
	}

	public void setDosis(Float dosis) {
		this.dosis = dosis;
	}

	public Integer getSatuanViewId() {
		return satuanViewId;
	}

	public void setSatuanViewId(Integer satuanViewId) {
		this.satuanViewId = satuanViewId;
	}

	public String getrKe() {
		return rKe;
	}

	public void setrKe(String rKe) {
		this.rKe = rKe;
	}
	
}
