package com.jasamedika.medifirst2000.entities;

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.helper.Caption;import org.hibernate.envers.Audited;

/**
 *  class PosisiRahim
 * 
 * @author Generator
 */
@Entity //@Audited
@Table(name = "TindakLanjutGizi_T")
public class TindakLanjutGizi extends BaseTransaction {
	
	@ManyToOne
	@JoinColumn(name = "ObjectAsesmenGiziAwal")
	@NotNull(message="Asesmen Gizi Awal Harus Diisi")
	@Caption(value="Asesen Gizi Awal")
	private AsesmenGiziAwal asesmenGiziAwal;
	
	@Column(name = "ObjectAsesmenGiziAwal", insertable=false,updatable=false,nullable = false)
	private String asesmenGiziAwalId;
	
	@Column(name = "value")
	@Caption(value="value")
	private String value;


	public AsesmenGiziAwal getAsesmenGiziAwal() {
		return asesmenGiziAwal;
	}


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


	public String getAsesmenGiziAwalId() {
		return asesmenGiziAwalId;
	}


	public void setAsesmenGiziAwalId(String asesmenGiziAwalId) {
		this.asesmenGiziAwalId = asesmenGiziAwalId;
	}


	public String getValue() {
		return value;
	}


	public void setValue(String value) {
		this.value = value;
	}

}

