package com.jasamedika.medifirst2000.vo;

import java.util.Date;

import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

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

public class PemakaianRumahDukaVO extends BaseTransactionVO {

	private static final long serialVersionUID = 4775002911478417953L;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectStrukOrderFk")
	@Caption(value = "strukOrder")
	private StrukOrderVO strukOrder;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectOrderPelayananFk")
	@Caption(value = "orderPelayanan")
	private OrderPelayananVO orderPelayanan;
	
	private Date tglPelayananAkhir;
	

	public StrukOrderVO getStrukOrder() {
		return strukOrder;
	}

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

	public OrderPelayananVO getOrderPelayanan() {
		return orderPelayanan;
	}

	public void setOrderPelayanan(OrderPelayananVO orderPelayanan) {
		this.orderPelayanan = orderPelayanan;
	}

	public Date getTglPelayananAkhir() {
		return tglPelayananAkhir;
	}

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

}
