package com.jasamedika.medifirst2000.vo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.ManyToOne;

import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.helper.Caption;

import lombok.Getter;
import lombok.Setter;

/**
 *  class StrukPelayananDNoBatch
 * 
 * @author Generator
 */
@Getter
@Setter
public class StrukPelayananDNoBatchVO extends BaseTransactionVO {
	@ManyToOne
	@Caption(value="Object Asal Produk")
	private AsalProdukVO kdasalproduk;

	@Caption(value="Volumen")
	private Double volumen;

	@ManyToOne
	@Caption(value="Object Produk")
	private ProdukVO kdproduk;

	@ManyToOne
	@Caption(value="Object Ruangan")
	private RuanganVO kdruangan;

	@Caption(value="Keterangan Lainnya")
	private String keteranganlainnya;

	@Caption(value="No Batch")
	private String nobatch;

	@ManyToOne
	private StrukClosingVO noclosing;

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

	@Caption(value="No Kantong Kemasan")
	private String nokantongkemasan;

	@ManyToOne
	@Caption(value="No Struk")
	private StrukPelayananDetailVO nostruk;

	@Column(name = "NoStrukFk", insertable=false,updatable=false)
	private String NoStrukId;

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

	@Caption(value="Qty Produk Out Ext")
	private Double qtyprodukoutext;

	@Caption(value="Qty Produk Out Int")
	private Double qtyprodukoutint;

	@Caption(value="Tanggal Kadaluarsa")
	private Date tglkadaluarsa;

	@Caption(value="Tanggal Pelayanan")
	private Date tglpelayanan;

	@Caption(value="Tanggal Produksi")
	private Date tglproduksi;

	@ManyToOne
	@Caption(value="Status Darah")
	private StatusDarahVO statusDarah;

	@ManyToOne
	@Caption(value="Supplier Darah")
	private SupplierDarahVO supplierDarah;
	
	@ManyToOne
	@Caption(value="Lokasi Darah")
	private LokasiDarahVO lokasiDarah;
	
	@ManyToOne
	@Caption(value="Lokasi Darah")	
	private GolonganDarahRhesusVO golonganDarahRhesus;
}

