53 lines
1.5 KiB
Java
53 lines
1.5 KiB
Java
package com.jasamedika.medifirst2000.entities;
|
|
|
|
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
|
import com.jasamedika.medifirst2000.helper.Caption;
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
|
|
import javax.persistence.*;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Entity
|
|
@Table(name = "DataPesertaPerusahanYangBekerjaSama_T")
|
|
public class DataPesertaPerusahanYangBekerjaSama extends BaseTransaction {
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectDataPerusahaanYangBekerjaSamaFk")
|
|
@Caption(value = "Data Perusahaan Yang Bekerja Sama")
|
|
private DataPerusahaanYangBekerjaSama dataPerusahaanYangBekerjaSama;
|
|
|
|
@Column(name = "ObjectDataPerusahaanYangBekerjaSamaFk", insertable = false, updatable = false, nullable = false)
|
|
private String dataPerusahaanYangBekerjaSamaId;
|
|
|
|
@Column(name = "NamaPeserta", length = 200)
|
|
@Caption(value = "Nama Peserta")
|
|
private String namaPeserta;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectJenisKelaminFk")
|
|
@Caption(value = "Jenis Kelamin")
|
|
private JenisKelamin jenisKelamin;
|
|
|
|
@Column(name = "ObjectJenisKelaminFk", insertable = false, updatable = false, nullable = false)
|
|
private Integer jenisKelaminId;
|
|
|
|
@Column(name = "JumlahKeluarga")
|
|
@Caption(value = "Jumlah Keluarga")
|
|
private Integer jumlahKeluarga;
|
|
|
|
@Column(name = "PlafonYangDijamin", length = 200)
|
|
@Caption(value = "Plafon Yang Dijamin")
|
|
private String plafonYangDijamin;
|
|
|
|
@Column(name = "alamat", length = 200)
|
|
@Caption(value = "Alamat")
|
|
private String alamat;
|
|
|
|
@Column(name = "NoTlp", length = 200)
|
|
@Caption(value = "No Tlp")
|
|
private String noTlp;
|
|
|
|
}
|