package com.jasamedika.medifirst2000.vo;

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

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

public class MappingKamarAsramaVO extends BaseTransactionVO {

	private static final long serialVersionUID = -8293349435658685184L;

	@ManyToOne
	@JoinColumn(name = "ObjectOrderPelayananFk")
	private OrderPelayananVO orderPelayanan;

	@ManyToOne
	@JoinColumn(name = "ObjectKamarFk")
	@Caption(value = "Object Kamar")
	private KamarVO kamar;

	@ManyToOne
	@JoinColumn(name = "ObjectRuanganFk")
	@Caption(value = "Object Ruangan")
	private RuanganVO ruangan;

	@Caption(value = "Harga Satuan")
	@Column(name = "HargaSatuan", nullable = true)
	private Double hargaSatuan;

	public Double getHargaSatuan() {
		return hargaSatuan;
	}

	public void setHargaSatuan(Double hargaSatuan) {
		this.hargaSatuan = hargaSatuan;
	}

	public RuanganVO getRuangan() {
		return ruangan;
	}

	public void setRuangan(RuanganVO ruangan) {
		this.ruangan = ruangan;
	}

	public OrderPelayananVO getOrderPelayanan() {
		return orderPelayanan;
	}

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

	public KamarVO getKamar() {
		return kamar;
	}

	public void setKamar(KamarVO kamar) {
		this.kamar = kamar;
	}

}
