package com.jasamedika.medifirst2000.vo;

import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.validation.constraints.NotNull;

import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.entities.SatuanStandar;
import com.jasamedika.medifirst2000.entities.TipeMakanan;
import com.jasamedika.medifirst2000.helper.Caption;

/**
 * class OrderPelayanan
 * 
 * @author Generator
 */
public class OrderPelayananVO extends BaseTransactionVO {

	private static final long serialVersionUID = -878262703195667522L;

	@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
	@JoinColumn(name = "ObjectAccountFk")
	@Caption(value = "Object Account")
	private ChartOfAccountVO account;

	@ManyToOne
	@JoinColumn(name = "ObjectAsalProdukFk")
	@Caption(value = "Object Asal Produk")
	private AsalProdukVO asalproduk;

	@ManyToOne
	@JoinColumn(name = "ObjectBentukProdukDarahFk")
	@Caption(value = "Object Bentuk Produk Darah")
	private BentukProdukVO bentukProdukDarah;

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

	@ManyToOne
	@JoinColumn(name = "ObjectJenisDietFk")
	@Caption(value = "Object Jenis Diet")
	private JenisDietVO jenisDiet;

	@ManyToOne
	@JoinColumn(name = "ObjectJenisWaktuFk")
	@Caption(value = "Object Jenis Waktu")
	private JenisWaktuVO jenisWaktu;

	@ManyToOne
	@JoinColumn(name = "ObjectKamarFk")
	@Caption(value = "Object Kamar")
	private KamarVO kamar;

	@ManyToOne
	@JoinColumn(name = "ObjectKategoryDietFk")
	@Caption(value = "Object Kategory Diet")
	private KategoryDietVO kategoryDiet;

	@ManyToOne
	@JoinColumn(name = "ObjectKelasFk")
	@Caption(value = "Object Kelas")
	private DetailKamarVO kelas;

	@ManyToOne
	@JoinColumn(name = "ObjectKelasKamarFk")
	@Caption(value = "Object Kelas Kamar")
	private DetailKamarVO kelasKamar;

	@ManyToOne
	@JoinColumn(name = "ObjectKeteranganDietFk")
	@Caption(value = "Object Keterangan Diet")
	private KeteranganDietVO keteranganDiet;

	@ManyToOne
	@JoinColumn(name = "ObjectMataUangFk")
	@Caption(value = "Object Mata Uang")
	private MataUangVO mataUang;

	@ManyToOne
	@JoinColumn(name = "ObjectMataUang_QuoFk")
	@Caption(value = "Object Mata Uang_ Quo")
	private MataUangVO mataUangQuo;

	@ManyToOne
	@JoinColumn(name = "ObjectProdukFk")
	@NotNull(message = "Object Produk Harus Diisi")
	@Caption(value = "Object Produk")
	private ProdukVO produk;
	
	@Column(name = "ObjectProdukFk", insertable = false, updatable = false)
	private Integer produkId;

	public ProdukVO getProduk() {
		return produk;
	}

	public void setProduk(ProdukVO produk) {
		this.produk = produk;
	}

	@ManyToOne
	@JoinColumn(name = "ObjectProdukQuoFk")
	@Caption(value = "Object Produk Quo")
	private ProdukVO produkQuo;

	@ManyToOne
	@JoinColumn(name = "ObjectProdukForUsedFk")
	@Caption(value = "Object Produk For Used")
	private ProdukVO produkForUsed;

	@ManyToOne
	@JoinColumn(name = "ObjectProdukAsetFk")
	@Caption(value = "Object Produk Aset")
	private ProdukVO produkAset;

	@ManyToOne
	@JoinColumn(name = "ObjectProdukTriggerFk")
	@Caption(value = "Object Produk Trigger")
	private ProdukVO produkTrigger;

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

	public RuanganVO getRuangan() {
		return ruangan;
	}

	public void setRuangan(RuanganVO ruangan) {
		this.ruangan = ruangan;
	}

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

	@ManyToOne
	@JoinColumn(name = "ObjectSatuanBesarFk")
	@Caption(value = "Object Satuan Besar")
	private SatuanBesarVO satuanBesar;

	@ManyToOne
	@JoinColumn(name = "ObjectSatuanWaktuFk")
	@Caption(value = "Object Satuan Waktu")
	private SatuanWaktuVO satuanWaktu;

	@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 Pakai")
	//@Column(name = "keteranganPakai", nullable = true, length = 75)
	//private String keteranganPakai;

	@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;
	
	private String rKe;
	
	private SatuanStandar satuanView;

	private Integer satuanViewId;
	public String getrKe() {
		return rKe;
	}

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

	public SatuanStandar getSatuanView() {
		return satuanView;
	}

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

	public Integer getSatuanViewId() {
		return satuanViewId;
	}

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

	/*
	 * @ManyToOne
	 * 
	 * @JoinColumn(name = "NoAnggaranFk")
	 * 
	 * @Caption(value="No Anggaran") private Anggaran noanggaran;
	 * 
	 * @Column(name = "NoAnggaranFk", insertable=false,updatable=false) private
	 * Integer NoAnggaranId;
	 */
	@Caption(value = "No Bed")
	@Column(name = "NoBed", nullable = true)
	private Byte noBed;

	@ManyToOne
	@JoinColumn(name = "NoCMFk")
	@Caption(value = "No C M")
	private PasienVO noCm;

	/*
	 * @ManyToOne
	 * 
	 * @JoinColumn(name = "NoHasilPeriksaFk")
	 * 
	 * @Caption(value="No Hasil Periksa") private HasilPemeriksaanPasien
	 * nohasilperiksa;
	 * 
	 * @Column(name = "NoHasilPeriksaFk", insertable=false,updatable=false)
	 * private Integer NoHasilPeriksaId;
	 * 
	 * @ManyToOne
	 * 
	 * @JoinColumn(name = "NoKirimFk")
	 * 
	 * @Caption(value="No Kirim") private StrukKirim nokirim;
	 * 
	 * @Column(name = "NoKirimFk", insertable=false,updatable=false) private
	 * Integer NoKirimId;
	 * 
	 * @ManyToOne
	 * 
	 * @JoinColumn(name = "NoKonfirmasiFk")
	 * 
	 * @Caption(value="No Konfirmasi") private StrukKonfirmasi nokonfirmasi;
	 * 
	 * @Column(name = "NoKonfirmasiFk", insertable=false,updatable=false)
	 * private Integer NoKonfirmasiId;
	 */
	@Caption(value = "No Kontrak S P K")
	@Column(name = "NoKontrakSPK", nullable = true, length = 10)
	private String noKontrakSpk;
	/*
	 * @ManyToOne
	 * 
	 * @JoinColumn(name = "NoMasukFk")
	 * 
	 * @Caption(value="No Masuk") private PemeriksaanDasarPasien nomasuk;
	 * 
	 * @Column(name = "NoMasukFk", insertable=false,updatable=false) private
	 * Integer NoMasukId;
	 * 
	 * @ManyToOne
	 * 
	 * @JoinColumn(name = "NoMasukRuFk")
	 * 
	 * @Caption(value="No Masuk Ru") private PemeriksaanDasarPasien nomasukru;
	 * 
	 * @Column(name = "NoMasukRuFk", insertable=false,updatable=false) private
	 * Integer NoMasukRuId;
	 */
	@ManyToOne
	@JoinColumn(name = "NoOrderFk")
	@NotNull(message = "No Order Harus Diisi")
	@Caption(value = "No Order")
	private StrukOrderVO noOrder;

	public StrukOrderVO getNoOrder() {
		return noOrder;
	}

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

	@ManyToOne
	@JoinColumn(name = "NoOrderToExtFk")
	@Caption(value = "No Order To Ext")
	private StrukOrderVO noOrderToExt;

	@ManyToOne
	@JoinColumn(name = "ObjectPelaporFk")
	@Caption(value = "Object Pelapor")
	private LoginUserVO pelapor;

	public LoginUserVO getPelapor() {
		return pelapor;
	}

	public void setPelapor(LoginUserVO pelapor) {
		this.pelapor = pelapor;
	}

	/*
	 * @ManyToOne
	 * 
	 * @JoinColumn(name = "NoPlanningFk")
	 * 
	 * @Caption(value="No Planning") private StrukPlanning noplanning;
	 * 
	 * @Column(name = "NoPlanningFk", insertable=false,updatable=false) private
	 * Integer NoPlanningId;
	 * 
	 * @ManyToOne
	 * 
	 * @JoinColumn(name = "NoRegisterAsetFk")
	 * 
	 * @Caption(value="No Register Aset") private RegistrasiAset noregisteraset;
	 * 
	 * @Column(name = "NoRegisterAsetFk", insertable=false,updatable=false)
	 * private Integer NoRegisterAsetId;
	 */
	@ManyToOne
	@JoinColumn(name = "NoRegistrasiFk")
	@Caption(value = "No Registrasi")
	private PasienDaftarVO noRegistrasi;

	/*
	 * @ManyToOne
	 * 
	 * @JoinColumn(name = "NoResepFk")
	 * 
	 * @Caption(value="No Resep") private StrukResep noresep;
	 * 
	 * @Column(name = "NoResepFk", insertable=false,updatable=false) private
	 * Integer NoResepId;
	 */
	@ManyToOne
	@JoinColumn(name = "NoReturFk")
	@Caption(value = "No Retur")
	private StrukReturVO noRetur;

	@Caption(value = "No Serial Part Produk")
	@Column(name = "NoSerialPartProduk", nullable = true, length = 30)
	private String noSerialPartproduk;

	/*
	 * @ManyToOne
	 * 
	 * @JoinColumn(name = "NoStrukFk")
	 * 
	 * @Caption(value="No Struk") private StrukPelayanan nostruk;
	 * 
	 * @Column(name = "NoStrukFk", insertable=false,updatable=false) private
	 * Integer NoStrukId;
	 * 
	 * @ManyToOne
	 * 
	 * @JoinColumn(name = "NoVerifikasiFk")
	 * 
	 * @Caption(value="No Verifikasi") private StrukVerifikasi noverifikasi;
	 * 
	 * @Column(name = "NoVerifikasiFk", insertable=false,updatable=false)
	 * private Integer NoVerifikasiId;
	 * 
	 * @ManyToOne
	 * 
	 * @JoinColumn(name = "NoVerifikasi_QuoFk")
	 * 
	 * @Caption(value="No Verifikasi_ Quo") private StrukVerifikasi
	 * noverifikasi_quo;
	 * 
	 * @Column(name = "NoVerifikasi_QuoFk", insertable=false,updatable=false)
	 * private Integer NoVerifikasi_QuoId;
	 */
	@Caption(value = "Persen Discount")
	@Column(name = "PersenDiscount", nullable = true)
	private Double persenDiscount;

	private Double stokLogistik;

	@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;

	public Double getQtyTerimaLast() {
		return qtyTerimaLast;
	}

	public void setQtyTerimaLast(Double qtyTerimaLast) {
		this.qtyTerimaLast = 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;

	// add by Arya
	@Caption(value = "Keluhan")
	@Column(name = "Keluhan", nullable = false)
	private String keluhan;
	
	@Caption(value = "IsVerifikasi")
	@Column(name = "IsVerifikasi", nullable = true)
	private Boolean isVerifikasi;

	public String getKeluhan() {
		return keluhan;
	}

	public void setKeluhan(String keluhan) {
		this.keluhan = keluhan;
	}

	@ManyToOne
	@JoinColumn(name = "ObjectNamaBarangPermintaanPerbaikanFk")
	@Caption(value = "Object Nama Barang")
	private ProdukVO namaBarangPermintaanPerbaikan;

	public ProdukVO getNamaBarangPermintaanPerbaikan() {
		return namaBarangPermintaanPerbaikan;
	}

	public void setNamaBarangPermintaanPerbaikan(ProdukVO namaBarangPermintaanPerbaikan) {
		this.namaBarangPermintaanPerbaikan = namaBarangPermintaanPerbaikan;
	}

	@Caption(value = "Jam")
	@Column(name = "JamPermintaanPerbaikan", nullable = false)
	private Date jam;

	public Date getJam() {
		return jam;
	}

	public void setJam(Date jam) {
		this.jam = jam;
	}

	@ManyToOne
	@JoinColumn(name = "ObjectSerialNumberFk")
	@Caption(value = "Object Serial Number")
	private AssetVO serialNumber;

	public AssetVO getSerialNumber() {
		return serialNumber;
	}

	public void setSerialNumber(AssetVO serialNumber) {
		this.serialNumber = serialNumber;
	}

	@ManyToOne
	@JoinColumn(name = "ObjectKdBarangPermintaanPerbaikanFk")
	@Caption(value = "Object Kode Barang")
	private ProdukVO kdBarangPermintaanPerbaikan;

	@ManyToOne
	@Caption(value = "Object Satuan Besar")
	private SatuanStandarVO satuanStandar;
	
	@OneToMany
	private Set<SatuanStandarVO> satuanList = new HashSet<SatuanStandarVO>();

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

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

	public ProdukVO getKdBarangPermintaanPerbaikan() {
		return kdBarangPermintaanPerbaikan;
	}

	public void setKdBarangPermintaanPerbaikan(ProdukVO kdBarangPermintaanPerbaikan) {
		this.kdBarangPermintaanPerbaikan = kdBarangPermintaanPerbaikan;
	}

	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 KamarVO getKamar() {
		return kamar;
	}

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

	public SatuanWaktuVO getSatuanWaktu() {
		return satuanWaktu;
	}

	public void setSatuanWaktu(SatuanWaktuVO satuanWaktu) {
		this.satuanWaktu = satuanWaktu;
	}

	public ProdukVO getProdukAset() {
		return produkAset;
	}

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

	public SatuanStandarVO getSatuanStandar() {
		return satuanStandar;
	}

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

	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 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 ChartOfAccountVO getAccount() {
		return account;
	}

	public void setAccount(ChartOfAccountVO account) {
		this.account = account;
	}

	public AsalProdukVO getAsalproduk() {
		return asalproduk;
	}

	public void setAsalproduk(AsalProdukVO asalproduk) {
		this.asalproduk = asalproduk;
	}

	public BentukProdukVO getBentukProdukDarah() {
		return bentukProdukDarah;
	}

	private List<StrukPelayananDNoBatchVO> strukDetailDNoBatch;

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

	public List<StrukPelayananDNoBatchVO> getStrukDetailDNoBatch() {
		return strukDetailDNoBatch;
	}

	public void setStrukDetailDNoBatch(List<StrukPelayananDNoBatchVO> strukDetailDNoBatch) {
		this.strukDetailDNoBatch = strukDetailDNoBatch;
	}

	public String getKdDokter() {
		return kdDokter;
	}

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

	public JenisDietVO getJenisDiet() {
		return jenisDiet;
	}

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

	public JenisWaktuVO getJenisWaktu() {
		return jenisWaktu;
	}

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

	public KategoryDietVO getKategoryDiet() {
		return kategoryDiet;
	}

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

	public DetailKamarVO getKelas() {
		return kelas;
	}

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

	public DetailKamarVO getKelasKamar() {
		return kelasKamar;
	}

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

	public KeteranganDietVO getKeteranganDiet() {
		return keteranganDiet;
	}

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

	public MataUangVO getMataUang() {
		return mataUang;
	}

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

	public MataUangVO getMataUangQuo() {
		return mataUangQuo;
	}

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

	public ProdukVO getProdukQuo() {
		return produkQuo;
	}

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

	public ProdukVO getProdukForUsed() {
		return produkForUsed;
	}

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

	public ProdukVO getProdukTrigger() {
		return produkTrigger;
	}

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

	public RuanganVO getRuanganTujuan() {
		return ruanganTujuan;
	}

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

	public SatuanBesarVO getSatuanBesar() {
		return satuanBesar;
	}

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

	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 getKeteranganPakai() {
		return keteranganPakai;
	}

	public void setKeteranganPakai(String keteranganPakai) {
		this.keteranganPakai = keteranganPakai;
	}
*/
	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 PasienVO getNoCm() {
		return noCm;
	}

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

	public String getNoKontrakSpk() {
		return noKontrakSpk;
	}

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

	public StrukOrderVO getNoOrderToExt() {
		return noOrderToExt;
	}

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

	public PasienDaftarVO getNoRegistrasi() {
		return noRegistrasi;
	}

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

	public StrukReturVO getNoRetur() {
		return noRetur;
	}

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

	public String getNoSerialPartproduk() {
		return noSerialPartproduk;
	}

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

	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 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 static long getSerialversionuid() {
		return serialVersionUID;
	}

	// add by Arya
	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "orderPelayanan")
	@Caption(value = "mapKamarAsrama")
	private Set<MappingKamarAsramaVO> mapKamarAsrama = new HashSet<MappingKamarAsramaVO>();

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

	@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")
	private PegawaiVO namaPenyerahBarang;

	@ManyToOne(fetch = FetchType.LAZY)
	@Caption(value = "Nama Penerima Barang")
	private PegawaiVO namaPenerimaBarang;

	@Caption(value = "Tgl Waktu Penerimaan")
	private Date tglWaktuPenerimaan;

	public Date getTglWaktuPenerimaan() {
		return tglWaktuPenerimaan;
	}

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

	public PegawaiVO getNamaPenyerahBarang() {
		return namaPenyerahBarang;
	}

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

	public PegawaiVO getNamaPenerimaBarang() {
		return namaPenerimaBarang;
	}

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

	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 Set<MappingKamarAsramaVO> getMapKamarAsrama() {
		return mapKamarAsrama;
	}

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

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

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

	public Double getStokLogistik() {
		return stokLogistik;
	}

	public void setStokLogistik(Double stokLogistik) {
		this.stokLogistik = stokLogistik;
	}

	public Set<SatuanStandarVO> getSatuanList() {
		return satuanList;
	}

	public void setSatuanList(Set<SatuanStandarVO> satuanList) {
		this.satuanList = satuanList;
	}

	public TipeMakananVO getTypeMakanan() {
		return typeMakanan;
	}

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

	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 Integer getProdukId() {
		return produkId;
	}

	public void setProdukId(Integer produkId) {
		this.produkId = produkId;
	}
	
}
