package com.jasamedika.medifirst2000.vo;

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 SewaAsramaVO extends BaseTransactionVO {

	private static final long serialVersionUID = 2201904145725177219L;

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

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

}
