package com.jasamedika.medifirst2000.vo;

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

import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;

import com.jasamedika.medifirst2000.base.vo.BaseMasterVO;
import com.jasamedika.medifirst2000.entities.Rekanan;
import com.jasamedika.medifirst2000.entities.Ruangan;
import com.jasamedika.medifirst2000.helper.Caption;

/**
 *  class Penerimaaan Barang VO
 * 
 * @author Generator
 */
public class KirimPesananBarangVO extends BaseMasterVO {
	
	@Caption(value="no Sppb")
	private String noKirim;
	
	@Caption(value="Tanggal Terima")
	private Date tanggalKirim;
	
	@ManyToOne
	@Caption(value="Ruangan penerima")
	private RuanganVO ruanganPenerima;
	
	@ManyToOne
	@Caption(value="Ruangan Kirim")
	private RuanganVO ruanganPengirim;
	
	@ManyToOne
	@Caption(value="Jenis Permintaan")
	private JenisPermintaanVO jenisPermintaan;
	
	@ManyToOne
	@Caption(value="Struk Order")
	private StrukOrderVO strukOrder;
	
	@OneToMany
	private Set<KirimPesananBarangDetailVO> kirimPesananBarangDetail=new HashSet<KirimPesananBarangDetailVO>();

	public String getNoKirim() {
		return noKirim;
	}

	public void setNoKirim(String noKirim) {
		this.noKirim = noKirim;
	}

	public Date getTanggalKirim() {
		return tanggalKirim;
	}

	public void setTanggalKirim(Date tanggalKirim) {
		this.tanggalKirim = tanggalKirim;
	}

	public RuanganVO getRuanganPenerima() {
		return ruanganPenerima;
	}

	public void setRuanganPenerima(RuanganVO ruanganPenerima) {
		this.ruanganPenerima = ruanganPenerima;
	}

	public JenisPermintaanVO getJenisPermintaan() {
		return jenisPermintaan;
	}

	public void setJenisPermintaan(JenisPermintaanVO jenisPermintaan) {
		this.jenisPermintaan = jenisPermintaan;
	}

	public Set<KirimPesananBarangDetailVO> getKirimPesananBarangDetail() {
		return kirimPesananBarangDetail;
	}

	public void setKirimPesananBarangDetail(Set<KirimPesananBarangDetailVO> kirimPesananBarangDetail) {
		this.kirimPesananBarangDetail = kirimPesananBarangDetail;
	}

	public StrukOrderVO getStrukOrder() {
		return strukOrder;
	}

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

	public RuanganVO getRuanganPengirim() {
		return ruanganPengirim;
	}

	public void setRuanganPengirim(RuanganVO ruanganPengirim) {
		this.ruanganPengirim = ruanganPengirim;
	}

	
	
	
}

