package com.jasamedika.medifirst2000.vo;

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

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;

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

public class ObservasiIGDVO extends MedicalRecordTransactionVO {
	
	@ManyToOne
	@JoinColumn(name = "ObatFk")
	@Caption(value="Obat")
	private ObatVO obat;	
	
	@ManyToOne
	@JoinColumn(name = "CaraPemberianObatFk")
	@Caption(value="Cara Pemberian Obat")
	private CaraPemberianObatVO caraPemberianObat;
	
	@Column(name = "Dosis")
	@Caption(value="Dosis")
	private Integer dosis;
	
	@Column(name = "Frekuensi")
	@Caption(value="Frekuensi")
	private Integer frekuensi;
	
	public ObatVO getObat() {
		return obat;
	}

	public void setObat(ObatVO obat) {
		this.obat = obat;
	}

	public CaraPemberianObatVO getCaraPemberianObat() {
		return caraPemberianObat;
	}

	public void setCaraPemberianObat(CaraPemberianObatVO caraPemberianObat) {
		this.caraPemberianObat = caraPemberianObat;
	}

	public Integer getDosis() {
		return dosis;
	}

	public void setDosis(Integer dosis) {
		this.dosis = dosis;
	}

	public Integer getFrekuensi() {
		return frekuensi;
	}

	public void setFrekuensi(Integer frekuensi) {
		this.frekuensi = frekuensi;
	}

	
}
