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 com.fasterxml.jackson.annotation.JsonBackReference;
import com.jasamedika.medifirst2000.base.BaseTransaction;
import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.helper.Caption;

/**
 *  class Agama
 * 
 * @author Generator
 */
@Entity
@Table(name = "DetailPio_T")
public class DetailPioVO extends BaseTransactionVO {
	
	@Column(name = "pertanyaan")
	private String pertanyaan;
	
	@Column(name = "pemberiInformasi")
	private String pemberiInformasi;
	
	@Column(name = "jawaban")
	private String jawaban;
	
	@ManyToOne
	@JoinColumn(name = "objectPioFk")
	@Caption(value="Pio")
	//@JsonBackReference
	private PioVO pio;

	public String getPertanyaan() {
		return pertanyaan;
	}

	public void setPertanyaan(String pertanyaan) {
		this.pertanyaan = pertanyaan;
	}

	public String getPemberiInformasi() {
		return pemberiInformasi;
	}

	public void setPemberiInformasi(String pemberiInformasi) {
		this.pemberiInformasi = pemberiInformasi;
	}

	public String getJawaban() {
		return jawaban;
	}

	public void setJawaban(String jawaban) {
		this.jawaban = jawaban;
	}

	public PioVO getPio() {
		return pio;
	}

	public void setPio(PioVO pio) {
		this.pio = pio;
	}

	
	
	
}

