78 lines
1.5 KiB
Java
78 lines
1.5 KiB
Java
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 com.fasterxml.jackson.annotation.JsonBackReference;
|
|
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
|
import com.jasamedika.medifirst2000.helper.Caption;import org.hibernate.envers.Audited;
|
|
|
|
/**
|
|
* class Agama
|
|
*
|
|
* @author Generator
|
|
*/
|
|
@Entity //@Audited
|
|
@Table(name = "DetailPio_T")
|
|
public class DetailPio extends BaseTransaction {
|
|
|
|
@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 Pio pio;
|
|
|
|
|
|
@Column(name = "ObjectPioFk", insertable=false,updatable=false)
|
|
private String pioId;
|
|
|
|
|
|
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 Pio getPio() {
|
|
return pio;
|
|
}
|
|
|
|
public void setPio(Pio pio) {
|
|
this.pio = pio;
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|