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.fasterxml.jackson.annotation.JsonManagedReference;
import com.jasamedika.medifirst2000.base.BaseTransaction;
import com.jasamedika.medifirst2000.helper.Caption;

/**
 *  class StrukPelayananDetail
 * 
 * @author Generator
 */
@Entity
@Table(name = "StrukPelayananDetail_T")
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
public class StrukPelayananDetail extends BaseTransaction {
	
	@Caption(value="Aturan Pakai")
	@Column(name = "AturanPakai", nullable = true , length = 30)
	private String aturanpakai;

	@Caption(value="Deskripsi Detail Produk")
	@Column(name = "DeskripsiDetailProduk", nullable = true , length = 200)
	private String deskripsidetailproduk;

	@Caption(value="Harga Discount")
	@Column(name = "HargaDiscount", nullable = false )
	private Double hargadiscount = 0.0;

	@Caption(value="Harga Discount Give")
	@Column(name = "HargaDiscountGive", nullable = false )
	private Double hargadiscountgive = 0.0;

	@Caption(value="Harga Discount Save")
	@Column(name = "HargaDiscountSave", nullable = false )
	private Double hargadiscountsave = 0.0;

	@Caption(value="Harga Netto")
	@Column(name = "HargaNetto", nullable = false )
	private Double harganetto = 0.0;

	@Caption(value="Harga P P H")
	@Column(name = "HargaPPH", nullable = false )
	private Double hargapph = 0.0;

	@Caption(value="Harga P P N")
	@Column(name = "HargaPPN", nullable = false )
	private Double hargappn = 0.0;

	@Caption(value="Harga Satuan")
	@Column(name = "HargaSatuan", nullable = false )
	private Double hargasatuan = 0.0;

	@Caption(value="Harga Satuan Di Jamin")
	@Column(name = "HargaSatuanDiJamin", nullable = false )
	private Double hargasatuandijamin = 0.0;

	@Caption(value="Harga Satuan P Penjamin")
	@Column(name = "HargaSatuanPPenjamin", nullable = false )
	private Double hargasatuanppenjamin = 0.0;
	
	@Caption(value="Hasil Konversi")
	@Column(name = "hasilKonversi", nullable = true )
	private Double hasilKonversi = 0.0;

	@Caption(value="Harga Satuan P Profile")
	@Column(name = "HargaSatuanPProfile", nullable = false )
	private Double hargasatuanpprofile = 0.0;

	@Caption(value="Harga Tambahan")
	@Column(name = "HargaTambahan", nullable = false )
	private Double hargatambahan = 0.0;

	@Caption(value="Is On Site Service")
	@Column(name = "isOnSiteService", nullable = false )
	private Byte isonsiteservice = 0;

	@ManyToOne
	@JoinColumn(name = "ObjectAsalProdukFk")
//	@NotNull(message="Object Asal Produk Harus Diisi")
	@Caption(value="Object Asal Produk")
	private AsalProduk kdasalproduk;
	
	@Column(name = "ObjectAsalProdukFk", insertable=false,updatable=false)
	private Integer ObjectAsalProdukId;

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

	@Column(name = "ObjectAsalProdukAsetFk", insertable=false,updatable=false)
	private Integer ObjectAsalProdukAsetId;

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

	@Column(name = "ObjectJenisDietFk", insertable=false,updatable=false)
	private Integer ObjectJenisDietId;

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "ObjectJenisKemasanFk")
	@Caption(value="Object Jenis Kemasan")
	private JenisKemasan kdjeniskemasan;

	@Column(name = "ObjectJenisKemasanFk", insertable=false,updatable=false)
	private Integer ObjectJenisKemasanId;

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "ObjectJenisTarifFk")
	@Caption(value="Object Jenis Tarif")
	private JenisTarif kdjenistarif;

	@Column(name = "ObjectJenisTarifFk", insertable=false,updatable=false)
	private Integer ObjectJenisTarifId;

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

	@Column(name = "ObjectJenisWaktuFk", insertable=false,updatable=false)
	private Integer ObjectJenisWaktuId;

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

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

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "ObjectKasusPenyakitFk")
	@Caption(value="Object Kasus Penyakit")
	private KasusPenyakit kdkasuspenyakit;

	@Column(name = "ObjectKasusPenyakitFk", insertable=false,updatable=false)
	private Integer ObjectKasusPenyakitId;

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

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

	@Caption(value="Kode Kategory Waktu")
	@Column(name = "KdKategoryWaktu", nullable = true )
	private Byte kdkategorywaktu;

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

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

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "ObjectKelasDiJaminFk")
	@Caption(value="Object Kelas Di Jamin")
	private Kelas kdkelasdijamin;

	@Column(name = "ObjectKelasDiJaminFk", insertable=false,updatable=false)
	private Integer ObjectKelasDiJaminId;

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

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

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "ObjectKelompokPasienFk")
	@Caption(value="Object Kelompok Pasien")
	private KelompokPasien kdkelompokpasien;

	@Column(name = "ObjectKelompokPasienFk", insertable=false,updatable=false)
	private Integer ObjectKelompokPasienId;

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

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

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "ObjectKondisiProdukReturFk")
	@Caption(value="Object Kondisi Produk Retur")
	private KondisiProduk kdkondisiprodukretur;

	@Column(name = "ObjectKondisiProdukReturFk", insertable=false,updatable=false)
	private Integer ObjectKondisiProdukReturId;

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "ObjectKondisiProdukReturnFk")
	@Caption(value="Object Kondisi Produk Return")
	private KondisiProduk kdkondisiprodukreturn;

	@Column(name = "ObjectKondisiProdukReturnFk", insertable=false,updatable=false)
	private Integer ObjectKondisiProdukReturnId;

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

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

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "ObjectPaketFk")
	@Caption(value="Object Paket")
	private Paket kdpaket;

	@Column(name = "ObjectPaketFk", insertable=false,updatable=false)
	private Integer ObjectPaketId;

	@Caption(value="Kode Penjamin Pasien")
	@Column(name = "KdPenjaminPasien", nullable = true )
	private short kdpenjaminpasien;

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "ObjectProdukFk")
	@Caption(value="Object Produk")
	private Produk kdproduk;

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

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "ObjectProduk4UsedFk")
	@Caption(value="Object Produk4 Used")
	private Produk kdproduk4used;

	@Column(name = "ObjectProduk4UsedFk", insertable=false,updatable=false)
	private Integer ObjectProduk4UsedId;

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

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

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

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

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "ObjectRekananRujukanFk")
	@Caption(value="Object Rekanan Rujukan")
	private Rekanan kdrekananrujukan;

	@Column(name = "ObjectRekananRujukanFk", insertable=false,updatable=false)
	private Integer ObjectRekananRujukanId;

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "ObjectRuanganFk")
	@Caption(value="Object Ruangan")
	private Ruangan kdruangan;

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

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "ObjectRuanganAsalFk")
	@Caption(value="Object Ruangan Asal")
	private Ruangan kdruanganasal;

	@Column(name = "ObjectRuanganAsalFk", insertable=false,updatable=false)
	private Integer ObjectRuanganAsalId;

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "ObjectRuanganStokFk")
	@Caption(value="Object Ruangan Stok")
	private Ruangan kdruanganstok;

	@Column(name = "ObjectRuanganStokFk", insertable=false,updatable=false)
	private Integer ObjectRuanganStokId;
	
	@ManyToOne
	@JoinColumn(name = "ObjectKondisiBarangFk")
	@Caption(value="kondisi Barang")
	private KondisiBarang kondisiBarang;

	@Column(name = "ObjectKondisiBarangFk", insertable=false,updatable=false)
	private Integer kondisiBarangId;

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

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

	@Caption(value="Keterangan Alasan Retur")
	@Column(name = "KeteranganAlasanRetur", nullable = true , length = 150)
	private String keteranganalasanretur;

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

	@Caption(value="Keterangan Pakai")
	@Column(name = "KeteranganPakai", nullable = true , length = 75)
	private String keteranganpakai;

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

	@Caption(value="No Batch")
	@Column(name = "NoBatch", nullable = true , length = 50)
	private String nobatch;

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

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "NoClosingFk")
	@Caption(value="No Closing")
	private StrukClosing noclosing;

	@Column(name = "NoClosingFk", insertable=false,updatable=false)
	private String NoClosingId;

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "NoHasilPeriksaFk")
	@Caption(value="No Hasil Periksa")
	private HasilPemeriksaanPasien nohasilperiksa;

	@Column(name = "NoHasilPeriksaFk", insertable=false,updatable=false,nullable=true)
	private String NoHasilPeriksaId;

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "NoKirimFk")
	@Caption(value="No Kirim")
	private StrukKirim nokirim;

	@Column(name = "NoKirimFk", insertable=false,updatable=false)
	private String NoKirimId;

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "NoOrderFk")
	@Caption(value="No Order")
	private StrukOrder noorder;

	@Column(name = "NoOrderFk", insertable=false,updatable=false)
	private String NoOrderId;

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "NoPlanningFk")
	@Caption(value="No Planning")
	private StrukPlanning noplanning;

	@Column(name = "NoPlanningFk", insertable=false,updatable=false)
	private String NoPlanningId;

	@Caption(value="No Polisi Aset")
	@Column(name = "NoPolisiAset", nullable = true , length = 15)
	private String nopolisiaset;

	@ManyToOne
	@JoinColumn(name = "NoRegisterAsetFk")
	@Caption(value="No Register Aset")
	private RegistrasiAset noregisteraset;

	@Column(name = "NoRegisterAsetFk", insertable=false,updatable=false)
	private String NoRegisterAsetId;

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "NoResepFk")
	@Caption(value="No Resep")
	private StrukResep noresep;

	@Column(name = "NoResepFk", insertable=false,updatable=false)
	private String NoResepId;

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "NoReturFk")
	@Caption(value="No Retur")
	private StrukRetur noretur;

	@Column(name = "NoReturFk", insertable=false,updatable=false)
	private String NoReturId;

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "NoSJPFk")
	@Caption(value="No S J P")
	private PemakaianAsuransi nosjp;

	@Column(name = "NoSJPFk", insertable=false,updatable=false)
	private String NoSJPId;

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "NoStrukFk")
	@NotNull(message="No Struk Harus Diisi")
	@Caption(value="No Struk")
	private StrukPelayanan nostruk;

	@Column(name = "NoStrukFk", insertable=false,updatable=false,nullable=false)
	private String NoStrukId;
	
	@ManyToOne
	@JoinColumn(name = "NoVerifikasiFk")
	@Caption(value="No Verifikasi")
	private StrukVerifikasi strukVerifikasi;
	
	@Column(name = "NoVerifikasiFk", insertable=false,updatable=false)
	private String strukVerifikasiId;
	
	@ManyToOne
	@JoinColumn(name = "ObjectKartuPengendaliDetailFk")
	@Caption(value = "Kartu Pengendali Detail")
	private KartuPengendaliDetail kartuPengendaliDetail;
	
	@Column(name="ObjectKartuPengendaliDetailFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = true)
	private String kartuPengendaliDetailId;

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "ObjectStrukPelayananDetailFK")
	@Caption(value="Object Struk Pelayanan")
	private StrukPelayananDetail strukPelayananDetail;

	@Column(name = "ObjectStrukPelayananDetailFK", insertable=false,updatable=false)
	private String strukPelayananDetailId;
	

	/*@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "NoStrukTerimaFk")
	@Caption(value="No Struk Terima")
	private StrukPelayanan nostrukterima;

	@Column(name = "NoStrukTerimaFk", insertable=false,updatable=false)
	private Integer NoStrukTerimaId;*/

	/*@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "NoVerifikasiFk")
	@Caption(value="No Verifikasi")
	private StrukVerifikasi noverifikasi;

	@Column(name = "NoVerifikasiFk", insertable=false,updatable=false)
	private String NoVerifikasiId;*/

	@Caption(value="Persen Discount")
	@Column(name = "PersenDiscount", nullable = false )
	private Double persendiscount = 0.0;
	
	@Caption(value="persen ppn")
	@Column(name = "persenppn", nullable = true )
	private Double persenppn;

	@Caption(value="Qty Orang")
	@Column(name = "QtyOrang", nullable = true )
	private Byte qtyorang;

	@Caption(value="Qty Produk")
	@Column(name = "QtyProduk", nullable = false )
	private Double qtyproduk = 1.0;
	
	@Caption(value="Qty Kontrak")
	@Column(name = "qtyKontrak" )
	private Double qtyKontrak;

	@Caption(value="Qty Produk Out Ext")
	@Column(name = "QtyProdukOutExt", nullable = false )
	private Double qtyprodukoutext = 0.0;

	@Caption(value="Qty Produk Out Int")
	@Column(name = "QtyProdukOutInt", nullable = false )
	private Double qtyprodukoutint = 0.0;

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

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

	@Caption(value="Satuan")
	@Column(name = "Satuan", nullable = false , length = 1)
	private String satuan = "";

	@Caption(value="Satuan Standar")
	@Column(name = "SatuanStandar", nullable = true , length = 20)
	private String satuanstandar;

	@Caption(value="Tanggal Berlaku")
	@Column(name = "TglBerlaku", nullable = true )
	private Date tglberlaku;
	
	@Caption(value="Tanggal Kadaluarsa")
	@Column(name = "tglKadaluarsa", nullable = true )
	private Date tglKadaluarsa;

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

	@Caption(value="Tanggal Return Aset")
	@Column(name = "TglReturnAset", nullable = true )
	private Date tglreturnaset;
	
	@Column(name = "NoSelang", nullable = true )
	@Caption(value = "Nomor Selang")
	public String noSelang;
	
	@Column(name = "MaxPenyimpanan", nullable = true )
	@Caption(value = "Max Penyimpanan")
	private Integer maxPenyimpanan;
	
	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "ObjectSatuanWaktuKeslingFk")
	@Caption(value="Object Mata Uang")
	private SatuanWaktuKesling satuanWaktuKesling;

	@Column(name = "ObjectSatuanWaktuKeslingFk", insertable=false,updatable=false)
	private Integer ObjectSatuanWaktuKeslingId;
	
	//@JsonIgnore
	@JsonManagedReference
	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "nostruk")
	@Caption(value = "strukPelayananDPetugas")
	private Set<StrukPelayananDPetugas> strukPelayananDPetugas = new HashSet<StrukPelayananDPetugas>();
	
	@JsonBackReference
	@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "strukPelayananDetail")
	private Set<RegistrasiAset> registrasiAsset=new HashSet<RegistrasiAset>();
	
	@JsonManagedReference
	@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "strukPelayananDetail")
	private Set<StokProdukDetail> stokProdukDetail=new HashSet<StokProdukDetail>();
	
	@Caption(value="Maksimal Penyimpanan")
	@Column(name = "MaksimalPenyimpanan", nullable = true )
	private Double maksimalPenyimpanan;
	
	@Caption(value = "NoRecTriger")
	@Column(name = "noRecTriger", nullable = true)
	private String noRecTriger;
	
	@Column(name = "lineTotal")
	private Double total = 0.0;

	public String getAturanpakai() {
		return aturanpakai;
	}

	public void setAturanpakai(String aturanpakai) {
		this.aturanpakai = aturanpakai;
	}

	public String getDeskripsidetailproduk() {
		return deskripsidetailproduk;
	}

	public void setDeskripsidetailproduk(String deskripsidetailproduk) {
		this.deskripsidetailproduk = deskripsidetailproduk;
	}

	public Double getHargadiscount() {
		return hargadiscount;
	}

	public void setHargadiscount(Double hargadiscount) {
		this.hargadiscount = hargadiscount;
	}

	public Double getHargadiscountgive() {
		return hargadiscountgive;
	}

	public void setHargadiscountgive(Double hargadiscountgive) {
		this.hargadiscountgive = hargadiscountgive;
	}

	public Double getHargadiscountsave() {
		return hargadiscountsave;
	}

	public void setHargadiscountsave(Double hargadiscountsave) {
		this.hargadiscountsave = hargadiscountsave;
	}

	public Double getHarganetto() {
		return harganetto;
	}

	public void setHarganetto(Double harganetto) {
		this.harganetto = harganetto;
	}

	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 getHargasatuan() {
		return hargasatuan;
	}

	public void setHargasatuan(Double hargasatuan) {
		this.hargasatuan = hargasatuan;
	}

	public Double getHargasatuandijamin() {
		return hargasatuandijamin;
	}

	public void setHargasatuandijamin(Double hargasatuandijamin) {
		this.hargasatuandijamin = hargasatuandijamin;
	}

	public Double getHargasatuanppenjamin() {
		return hargasatuanppenjamin;
	}

	public void setHargasatuanppenjamin(Double hargasatuanppenjamin) {
		this.hargasatuanppenjamin = hargasatuanppenjamin;
	}

	public Double getHargasatuanpprofile() {
		return hargasatuanpprofile;
	}

	public void setHargasatuanpprofile(Double hargasatuanpprofile) {
		this.hargasatuanpprofile = hargasatuanpprofile;
	}

	public Double getHargatambahan() {
		return hargatambahan;
	}

	public void setHargatambahan(Double hargatambahan) {
		this.hargatambahan = hargatambahan;
	}

	public Byte getIsonsiteservice() {
		return isonsiteservice;
	}

	public void setIsonsiteservice(Byte isonsiteservice) {
		this.isonsiteservice = isonsiteservice;
	}

	public AsalProduk getKdasalproduk() {
		return kdasalproduk;
	}

	public void setKdasalproduk(AsalProduk kdasalproduk) {
		this.kdasalproduk = kdasalproduk;
	}

	public Integer getObjectAsalProdukId() {
		return ObjectAsalProdukId;
	}

	public void setObjectAsalProdukId(Integer objectAsalProdukId) {
		ObjectAsalProdukId = objectAsalProdukId;
	}

	public AsalProduk getKdasalprodukaset() {
		return kdasalprodukaset;
	}

	public void setKdasalprodukaset(AsalProduk kdasalprodukaset) {
		this.kdasalprodukaset = kdasalprodukaset;
	}

	public Integer getObjectAsalProdukAsetId() {
		return ObjectAsalProdukAsetId;
	}

	public void setObjectAsalProdukAsetId(Integer objectAsalProdukAsetId) {
		ObjectAsalProdukAsetId = objectAsalProdukAsetId;
	}

	public JenisDiet getKdjenisdiet() {
		return kdjenisdiet;
	}

	public void setKdjenisdiet(JenisDiet kdjenisdiet) {
		this.kdjenisdiet = kdjenisdiet;
	}

	public Integer getObjectJenisDietId() {
		return ObjectJenisDietId;
	}

	public void setObjectJenisDietId(Integer objectJenisDietId) {
		ObjectJenisDietId = objectJenisDietId;
	}

	public JenisKemasan getKdjeniskemasan() {
		return kdjeniskemasan;
	}

	public void setKdjeniskemasan(JenisKemasan kdjeniskemasan) {
		this.kdjeniskemasan = kdjeniskemasan;
	}

	public Integer getObjectJenisKemasanId() {
		return ObjectJenisKemasanId;
	}

	public void setObjectJenisKemasanId(Integer objectJenisKemasanId) {
		ObjectJenisKemasanId = objectJenisKemasanId;
	}

	public JenisTarif getKdjenistarif() {
		return kdjenistarif;
	}

	public void setKdjenistarif(JenisTarif kdjenistarif) {
		this.kdjenistarif = kdjenistarif;
	}

	public Integer getObjectJenisTarifId() {
		return ObjectJenisTarifId;
	}

	public void setObjectJenisTarifId(Integer objectJenisTarifId) {
		ObjectJenisTarifId = objectJenisTarifId;
	}

	public JenisWaktu getKdjeniswaktu() {
		return kdjeniswaktu;
	}

	public void setKdjeniswaktu(JenisWaktu kdjeniswaktu) {
		this.kdjeniswaktu = kdjeniswaktu;
	}

	public Integer getObjectJenisWaktuId() {
		return ObjectJenisWaktuId;
	}

	public void setObjectJenisWaktuId(Integer objectJenisWaktuId) {
		ObjectJenisWaktuId = objectJenisWaktuId;
	}

	public Kamar getKdkamar() {
		return kdkamar;
	}

	public void setKdkamar(Kamar kdkamar) {
		this.kdkamar = kdkamar;
	}

	public Integer getObjectKamarId() {
		return ObjectKamarId;
	}

	public void setObjectKamarId(Integer objectKamarId) {
		ObjectKamarId = objectKamarId;
	}

	public KasusPenyakit getKdkasuspenyakit() {
		return kdkasuspenyakit;
	}

	public void setKdkasuspenyakit(KasusPenyakit kdkasuspenyakit) {
		this.kdkasuspenyakit = kdkasuspenyakit;
	}

	public Integer getObjectKasusPenyakitId() {
		return ObjectKasusPenyakitId;
	}

	public void setObjectKasusPenyakitId(Integer objectKasusPenyakitId) {
		ObjectKasusPenyakitId = objectKasusPenyakitId;
	}

	public KategoryDiet getKdkategorydiet() {
		return kdkategorydiet;
	}

	public void setKdkategorydiet(KategoryDiet kdkategorydiet) {
		this.kdkategorydiet = kdkategorydiet;
	}

	public Integer getObjectKategoryDietId() {
		return ObjectKategoryDietId;
	}

	public void setObjectKategoryDietId(Integer objectKategoryDietId) {
		ObjectKategoryDietId = objectKategoryDietId;
	}

	public Byte getKdkategorywaktu() {
		return kdkategorywaktu;
	}

	public void setKdkategorywaktu(Byte kdkategorywaktu) {
		this.kdkategorywaktu = kdkategorywaktu;
	}

	public Kelas getKdkelas() {
		return kdkelas;
	}

	public void setKdkelas(Kelas kdkelas) {
		this.kdkelas = kdkelas;
	}

	public Integer getObjectKelasId() {
		return ObjectKelasId;
	}

	public void setObjectKelasId(Integer objectKelasId) {
		ObjectKelasId = objectKelasId;
	}

	public Kelas getKdkelasdijamin() {
		return kdkelasdijamin;
	}

	public void setKdkelasdijamin(Kelas kdkelasdijamin) {
		this.kdkelasdijamin = kdkelasdijamin;
	}

	public Integer getObjectKelasDiJaminId() {
		return ObjectKelasDiJaminId;
	}

	public void setObjectKelasDiJaminId(Integer objectKelasDiJaminId) {
		ObjectKelasDiJaminId = objectKelasDiJaminId;
	}

	public Kelas getKdkelaskamar() {
		return kdkelaskamar;
	}

	public void setKdkelaskamar(Kelas kdkelaskamar) {
		this.kdkelaskamar = kdkelaskamar;
	}

	public Integer getObjectKelasKamarId() {
		return ObjectKelasKamarId;
	}

	public void setObjectKelasKamarId(Integer objectKelasKamarId) {
		ObjectKelasKamarId = objectKelasKamarId;
	}

	public KelompokPasien getKdkelompokpasien() {
		return kdkelompokpasien;
	}

	public void setKdkelompokpasien(KelompokPasien kdkelompokpasien) {
		this.kdkelompokpasien = kdkelompokpasien;
	}

	public Integer getObjectKelompokPasienId() {
		return ObjectKelompokPasienId;
	}

	public void setObjectKelompokPasienId(Integer objectKelompokPasienId) {
		ObjectKelompokPasienId = objectKelompokPasienId;
	}

	public KeteranganDiet getKdketerangandiet() {
		return kdketerangandiet;
	}

	public void setKdketerangandiet(KeteranganDiet kdketerangandiet) {
		this.kdketerangandiet = kdketerangandiet;
	}

	public Integer getObjectKeteranganDietId() {
		return ObjectKeteranganDietId;
	}

	public void setObjectKeteranganDietId(Integer objectKeteranganDietId) {
		ObjectKeteranganDietId = objectKeteranganDietId;
	}

	public KondisiProduk getKdkondisiprodukretur() {
		return kdkondisiprodukretur;
	}

	public void setKdkondisiprodukretur(KondisiProduk kdkondisiprodukretur) {
		this.kdkondisiprodukretur = kdkondisiprodukretur;
	}

	public Integer getObjectKondisiProdukReturId() {
		return ObjectKondisiProdukReturId;
	}

	public void setObjectKondisiProdukReturId(Integer objectKondisiProdukReturId) {
		ObjectKondisiProdukReturId = objectKondisiProdukReturId;
	}

	public KondisiProduk getKdkondisiprodukreturn() {
		return kdkondisiprodukreturn;
	}

	public void setKdkondisiprodukreturn(KondisiProduk kdkondisiprodukreturn) {
		this.kdkondisiprodukreturn = kdkondisiprodukreturn;
	}

	public Integer getObjectKondisiProdukReturnId() {
		return ObjectKondisiProdukReturnId;
	}

	public void setObjectKondisiProdukReturnId(Integer objectKondisiProdukReturnId) {
		ObjectKondisiProdukReturnId = objectKondisiProdukReturnId;
	}

	public MataUang getKdmatauang() {
		return kdmatauang;
	}

	public void setKdmatauang(MataUang kdmatauang) {
		this.kdmatauang = kdmatauang;
	}

	public Integer getObjectMataUangId() {
		return ObjectMataUangId;
	}

	public void setObjectMataUangId(Integer objectMataUangId) {
		ObjectMataUangId = objectMataUangId;
	}

	public Paket getKdpaket() {
		return kdpaket;
	}

	public void setKdpaket(Paket kdpaket) {
		this.kdpaket = kdpaket;
	}

	public Integer getObjectPaketId() {
		return ObjectPaketId;
	}

	public void setObjectPaketId(Integer objectPaketId) {
		ObjectPaketId = objectPaketId;
	}

	public short getKdpenjaminpasien() {
		return kdpenjaminpasien;
	}

	public void setKdpenjaminpasien(short kdpenjaminpasien) {
		this.kdpenjaminpasien = kdpenjaminpasien;
	}

	public Produk getKdproduk() {
		return kdproduk;
	}

	public void setKdproduk(Produk kdproduk) {
		this.kdproduk = kdproduk;
	}

	public Integer getObjectProdukId() {
		return ObjectProdukId;
	}

	public void setObjectProdukId(Integer objectProdukId) {
		ObjectProdukId = objectProdukId;
	}

	public Produk getKdproduk4used() {
		return kdproduk4used;
	}

	public void setKdproduk4used(Produk kdproduk4used) {
		this.kdproduk4used = kdproduk4used;
	}

	public Integer getObjectProduk4UsedId() {
		return ObjectProduk4UsedId;
	}

	public void setObjectProduk4UsedId(Integer objectProduk4UsedId) {
		ObjectProduk4UsedId = objectProduk4UsedId;
	}

	public Produk getKdprodukaset() {
		return kdprodukaset;
	}

	public void setKdprodukaset(Produk kdprodukaset) {
		this.kdprodukaset = kdprodukaset;
	}

	public Integer getObjectProdukAsetId() {
		return ObjectProdukAsetId;
	}

	public void setObjectProdukAsetId(Integer objectProdukAsetId) {
		ObjectProdukAsetId = objectProdukAsetId;
	}

	public Produk getKdproduktrigger() {
		return kdproduktrigger;
	}

	public void setKdproduktrigger(Produk kdproduktrigger) {
		this.kdproduktrigger = kdproduktrigger;
	}

	public Integer getObjectProdukTriggerId() {
		return ObjectProdukTriggerId;
	}

	public void setObjectProdukTriggerId(Integer objectProdukTriggerId) {
		ObjectProdukTriggerId = objectProdukTriggerId;
	}

	public Rekanan getKdrekananrujukan() {
		return kdrekananrujukan;
	}

	public void setKdrekananrujukan(Rekanan kdrekananrujukan) {
		this.kdrekananrujukan = kdrekananrujukan;
	}

	public Integer getObjectRekananRujukanId() {
		return ObjectRekananRujukanId;
	}

	public void setObjectRekananRujukanId(Integer objectRekananRujukanId) {
		ObjectRekananRujukanId = objectRekananRujukanId;
	}

	public Ruangan getKdruangan() {
		return kdruangan;
	}

	public void setKdruangan(Ruangan kdruangan) {
		this.kdruangan = kdruangan;
	}

	public Integer getObjectRuanganId() {
		return ObjectRuanganId;
	}

	public void setObjectRuanganId(Integer objectRuanganId) {
		ObjectRuanganId = objectRuanganId;
	}

	public Ruangan getKdruanganasal() {
		return kdruanganasal;
	}

	public void setKdruanganasal(Ruangan kdruanganasal) {
		this.kdruanganasal = kdruanganasal;
	}

	public Integer getObjectRuanganAsalId() {
		return ObjectRuanganAsalId;
	}

	public void setObjectRuanganAsalId(Integer objectRuanganAsalId) {
		ObjectRuanganAsalId = objectRuanganAsalId;
	}

	public Ruangan getKdruanganstok() {
		return kdruanganstok;
	}

	public void setKdruanganstok(Ruangan kdruanganstok) {
		this.kdruanganstok = kdruanganstok;
	}

	public Integer getObjectRuanganStokId() {
		return ObjectRuanganStokId;
	}

	public void setObjectRuanganStokId(Integer objectRuanganStokId) {
		ObjectRuanganStokId = objectRuanganStokId;
	}

	public SatuanStandar getKdsatuanstandar() {
		return kdsatuanstandar;
	}

	public void setKdsatuanstandar(SatuanStandar kdsatuanstandar) {
		this.kdsatuanstandar = kdsatuanstandar;
	}

	public Integer getObjectSatuanStandarId() {
		return ObjectSatuanStandarId;
	}

	public void setObjectSatuanStandarId(Integer objectSatuanStandarId) {
		ObjectSatuanStandarId = objectSatuanStandarId;
	}

	public String getKeteranganalasanretur() {
		return keteranganalasanretur;
	}

	public void setKeteranganalasanretur(String keteranganalasanretur) {
		this.keteranganalasanretur = keteranganalasanretur;
	}

	public String getKeteranganlainnya() {
		return keteranganlainnya;
	}

	public void setKeteranganlainnya(String keteranganlainnya) {
		this.keteranganlainnya = keteranganlainnya;
	}

	public String getKeteranganpakai() {
		return keteranganpakai;
	}

	public void setKeteranganpakai(String keteranganpakai) {
		this.keteranganpakai = keteranganpakai;
	}

	public String getNamaproduk() {
		return namaproduk;
	}

	public void setNamaproduk(String namaproduk) {
		this.namaproduk = namaproduk;
	}

	public String getNobatch() {
		return nobatch;
	}

	public void setNobatch(String nobatch) {
		this.nobatch = nobatch;
	}

	public Byte getNobed() {
		return nobed;
	}

	public void setNobed(Byte nobed) {
		this.nobed = nobed;
	}

	public StrukClosing getNoclosing() {
		return noclosing;
	}

	public void setNoclosing(StrukClosing noclosing) {
		this.noclosing = noclosing;
	}

	public String getNoClosingId() {
		return NoClosingId;
	}

	public void setNoClosingId(String noClosingId) {
		NoClosingId = noClosingId;
	}

	public HasilPemeriksaanPasien getNohasilperiksa() {
		return nohasilperiksa;
	}

	public void setNohasilperiksa(HasilPemeriksaanPasien nohasilperiksa) {
		this.nohasilperiksa = nohasilperiksa;
	}

	public String getNoHasilPeriksaId() {
		return NoHasilPeriksaId;
	}

	public void setNoHasilPeriksaId(String noHasilPeriksaId) {
		NoHasilPeriksaId = noHasilPeriksaId;
	}

	public StrukKirim getNokirim() {
		return nokirim;
	}

	public void setNokirim(StrukKirim nokirim) {
		this.nokirim = nokirim;
	}

	public String getNoKirimId() {
		return NoKirimId;
	}

	public void setNoKirimId(String noKirimId) {
		NoKirimId = noKirimId;
	}

	public StrukOrder getNoorder() {
		return noorder;
	}

	public void setNoorder(StrukOrder noorder) {
		this.noorder = noorder;
	}

	public String getNoOrderId() {
		return NoOrderId;
	}

	public void setNoOrderId(String noOrderId) {
		NoOrderId = noOrderId;
	}

	public StrukPlanning getNoplanning() {
		return noplanning;
	}

	public void setNoplanning(StrukPlanning noplanning) {
		this.noplanning = noplanning;
	}

	public String getNoPlanningId() {
		return NoPlanningId;
	}

	public void setNoPlanningId(String noPlanningId) {
		NoPlanningId = noPlanningId;
	}

	public String getNopolisiaset() {
		return nopolisiaset;
	}

	public void setNopolisiaset(String nopolisiaset) {
		this.nopolisiaset = nopolisiaset;
	}

	public StrukResep getNoresep() {
		return noresep;
	}

	public void setNoresep(StrukResep noresep) {
		this.noresep = noresep;
	}

	public String getNoResepId() {
		return NoResepId;
	}

	public void setNoResepId(String noResepId) {
		NoResepId = noResepId;
	}

	public StrukRetur getNoretur() {
		return noretur;
	}

	public void setNoretur(StrukRetur noretur) {
		this.noretur = noretur;
	}

	public String getNoReturId() {
		return NoReturId;
	}

	public void setNoReturId(String noReturId) {
		NoReturId = noReturId;
	}

	public PemakaianAsuransi getNosjp() {
		return nosjp;
	}

	public void setNosjp(PemakaianAsuransi nosjp) {
		this.nosjp = nosjp;
	}

	public String getNoSJPId() {
		return NoSJPId;
	}

	public void setNoSJPId(String noSJPId) {
		NoSJPId = noSJPId;
	}

	public StrukPelayanan getNostruk() {
		return nostruk;
	}

	public void setNostruk(StrukPelayanan nostruk) {
		this.nostruk = nostruk;
	}

	public String getNoStrukId() {
		return NoStrukId;
	}

	public void setNoStrukId(String noStrukId) {
		NoStrukId = noStrukId;
	}

	/*public StrukVerifikasi getNoverifikasi() {
		return noverifikasi;
	}

	public void setNoverifikasi(StrukVerifikasi noverifikasi) {
		this.noverifikasi = noverifikasi;
	}

	public String getNoVerifikasiId() {
		return NoVerifikasiId;
	}

	public void setNoVerifikasiId(String noVerifikasiId) {
		NoVerifikasiId = noVerifikasiId;
	}*/

	public Double getPersendiscount() {
		return persendiscount;
	}

	public void setPersendiscount(Double persendiscount) {
		this.persendiscount = persendiscount;
	}

	public Byte getQtyorang() {
		return qtyorang;
	}

	public void setQtyorang(Byte qtyorang) {
		this.qtyorang = qtyorang;
	}

	public Double getQtyproduk() {
		return qtyproduk;
	}

	public void setQtyproduk(Double qtyproduk) {
		this.qtyproduk = qtyproduk;
	}

	public Double getQtyprodukoutext() {
		return qtyprodukoutext;
	}

	public void setQtyprodukoutext(Double qtyprodukoutext) {
		this.qtyprodukoutext = qtyprodukoutext;
	}

	public Double getQtyprodukoutint() {
		return qtyprodukoutint;
	}

	public void setQtyprodukoutint(Double qtyprodukoutint) {
		this.qtyprodukoutint = qtyprodukoutint;
	}

	public Double getQtyprodukretur() {
		return qtyprodukretur;
	}

	public void setQtyprodukretur(Double qtyprodukretur) {
		this.qtyprodukretur = qtyprodukretur;
	}

	public Byte getResepke() {
		return resepke;
	}

	public void setResepke(Byte resepke) {
		this.resepke = resepke;
	}

	public String getSatuan() {
		return satuan;
	}

	public void setSatuan(String satuan) {
		this.satuan = satuan;
	}

	public String getSatuanstandar() {
		return satuanstandar;
	}

	public void setSatuanstandar(String satuanstandar) {
		this.satuanstandar = satuanstandar;
	}

	public Date getTglberlaku() {
		return tglberlaku;
	}

	public void setTglberlaku(Date tglberlaku) {
		this.tglberlaku = tglberlaku;
	}

	public Date getTglpelayanan() {
		return tglpelayanan;
	}

	public void setTglpelayanan(Date tglpelayanan) {
		this.tglpelayanan = tglpelayanan;
	}

	public Date getTglreturnaset() {
		return tglreturnaset;
	}

	public void setTglreturnaset(Date tglreturnaset) {
		this.tglreturnaset = tglreturnaset;
	}

	public String getNoSelang() {
		return noSelang;
	}

	public void setNoSelang(String noSelang) {
		this.noSelang = noSelang;
	}

	public Integer getMaxPenyimpanan() {
		return maxPenyimpanan;
	}

	public void setMaxPenyimpanan(Integer maxPenyimpanan) {
		this.maxPenyimpanan = maxPenyimpanan;
	}

	public Integer getObjectSatuanWaktuKeslingId() {
		return ObjectSatuanWaktuKeslingId;
	}

	public void setObjectSatuanWaktuKeslingId(Integer objectSatuanWaktuKeslingId) {
		ObjectSatuanWaktuKeslingId = objectSatuanWaktuKeslingId;
	}

	public Set<StrukPelayananDPetugas> getStrukPelayananDPetugas() {
		return strukPelayananDPetugas;
	}

	public void setStrukPelayananDPetugas(Set<StrukPelayananDPetugas> strukPelayananDPetugas) {
		this.strukPelayananDPetugas = strukPelayananDPetugas;
	}

	public Date getTglKadaluarsa() {
		return tglKadaluarsa;
	}

	public void setTglKadaluarsa(Date tglKadaluarsa) {
		this.tglKadaluarsa = tglKadaluarsa;
	}

	public Set<RegistrasiAset> getRegistrasiAsset() {
		return registrasiAsset;
	}

	public void setRegistrasiAsset(Set<RegistrasiAset> registrasiAsset) {
		this.registrasiAsset = registrasiAsset;
	}
	

	public SatuanWaktuKesling getSatuanWaktuKesling() {
		return satuanWaktuKesling;
	}

	public void setSatuanWaktuKesling(SatuanWaktuKesling satuanWaktuKesling) {
		this.satuanWaktuKesling = satuanWaktuKesling;
	}

	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 getMaksimalPenyimpanan() {
		return maksimalPenyimpanan;
	}

	public void setMaksimalPenyimpanan(Double maksimalPenyimpanan) {
		this.maksimalPenyimpanan = maksimalPenyimpanan;
	}

	public RegistrasiAset getNoregisteraset() {
		return noregisteraset;
	}

	public void setNoregisteraset(RegistrasiAset noregisteraset) {
		this.noregisteraset = noregisteraset;
	}

	public String getNoRegisterAsetId() {
		return NoRegisterAsetId;
	}

	public void setNoRegisterAsetId(String noRegisterAsetId) {
		NoRegisterAsetId = noRegisterAsetId;
	}

	public Double getQtyKontrak() {
		return qtyKontrak;
	}

	public void setQtyKontrak(Double qtyKontrak) {
		this.qtyKontrak = qtyKontrak;
	}

	public KartuPengendaliDetail getKartuPengendaliDetail() {
		return kartuPengendaliDetail;
	}

	public void setKartuPengendaliDetail(KartuPengendaliDetail kartuPengendaliDetail) {
		this.kartuPengendaliDetail = kartuPengendaliDetail;
	}

	public String getKartuPengendaliDetailId() {
		return kartuPengendaliDetailId;
	}

	public void setKartuPengendaliDetailId(String kartuPengendaliDetailId) {
		this.kartuPengendaliDetailId = kartuPengendaliDetailId;
	}

	public KondisiBarang getKondisiBarang() {
		return kondisiBarang;
	}

	public void setKondisiBarang(KondisiBarang kondisiBarang) {
		this.kondisiBarang = kondisiBarang;
	}

	public Integer getKondisiBarangId() {
		return kondisiBarangId;
	}

	public void setKondisiBarangId(Integer kondisiBarangId) {
		this.kondisiBarangId = kondisiBarangId;
	}

	public StrukPelayananDetail getStrukPelayananDetail() {
		return strukPelayananDetail;
	}

	public void setStrukPelayananDetail(StrukPelayananDetail strukPelayananDetail) {
		this.strukPelayananDetail = strukPelayananDetail;
	}


	public String getStrukPelayananDetailId() {
		return strukPelayananDetailId;
	}

	public void setStrukPelayananDetailId(String strukPelayananDetailId) {
		this.strukPelayananDetailId = strukPelayananDetailId;
	}

	public Double getPersenppn() {
		return persenppn;
	}

	public void setPersenppn(Double persenppn) {
		this.persenppn = persenppn;
	}

	public Double getHasilKonversi() {
		return hasilKonversi;
	}

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

	public Set<StokProdukDetail> getStokProdukDetail() {
		return stokProdukDetail;
	}

	public void setStokProdukDetail(Set<StokProdukDetail> stokProdukDetail) {
		this.stokProdukDetail = stokProdukDetail;
	}

	public String getNoRecTriger() {
		return noRecTriger;
	}

	public void setNoRecTriger(String noRecTriger) {
		this.noRecTriger = noRecTriger;
	}

	public Double getTotal() {
		return total;
	}

	public void setTotal(Double total) {
		this.total = total;
	}
	
}

