41 lines
832 B
Java
41 lines
832 B
Java
package com.jasamedika.medifirst2000.entities;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonBackReference;
|
|
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
|
import com.jasamedika.medifirst2000.helper.Caption;
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
|
|
import javax.persistence.*;
|
|
|
|
/**
|
|
* class Agama
|
|
*
|
|
* @author Generator
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Entity
|
|
@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;
|
|
|
|
}
|