package com.jasamedika.medifirst2000.vo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

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

/**
 *  class PosisiRahim
 * 
 * @author Generator
 */
public class PreskripsiDietVO extends BaseTransactionVO {
	
	@ManyToOne
	@NotNull(message="Asesmen Gizi Awal Harus Diisi")
	private AsesmenGiziAwalVO asesmenGiziAwal;
	
	@ManyToOne
	@JoinColumn(name = "ObjectJenisDietFk")
	@Caption(value="Jenis Diet")
	private JenisDietVO jenisDiet;
	
	@Caption(value="Keterangan")
	private String keterangan;

	public AsesmenGiziAwalVO getAsesmenGiziAwal() {
		return asesmenGiziAwal;
	}

	public void setAsesmenGiziAwal(AsesmenGiziAwalVO asesmenGiziAwal) {
		this.asesmenGiziAwal = asesmenGiziAwal;
	}

	public JenisDietVO getJenisDiet() {
		return jenisDiet;
	}

	public void setJenisDiet(JenisDietVO jenisDiet) {
		this.jenisDiet = jenisDiet;
	}

	public String getKeterangan() {
		return keterangan;
	}

	public void setKeterangan(String keterangan) {
		this.keterangan = keterangan;
	}
	
	

}

