144 lines
3.2 KiB
Java
144 lines
3.2 KiB
Java
package com.jasamedika.medifirst2000.entities;
|
|
|
|
import java.util.Date;
|
|
import java.util.HashSet;
|
|
import java.util.Set;
|
|
import javax.persistence.*;
|
|
import com.jasamedika.medifirst2000.entities.TipeKoleksi;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonBackReference;
|
|
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
|
|
|
import javax.validation.constraints.NotNull;
|
|
import com.jasamedika.medifirst2000.helper.Caption;
|
|
|
|
/**
|
|
* class Bibliography
|
|
*
|
|
* @author Generator
|
|
*/
|
|
@Entity
|
|
@Table(name = "sdm_BibliographyBuku_T")
|
|
public class Bibliography extends BaseTransaction {
|
|
@Column(name = "Nomor", nullable = false, length = 100)
|
|
@Caption(value = "Nomor")
|
|
private Integer nomor;
|
|
|
|
@Column(name = "JudulBuku", nullable = false, length = 100)
|
|
@Caption(value = "JudulBuku")
|
|
private String judulBuku;
|
|
|
|
@Column(name = "KodeEksemplar", nullable = false, length = 100)
|
|
@Caption(value = "KodeEksemplar")
|
|
private Integer kodeEksemplar;
|
|
|
|
@Column(name = "NamaPengarang", nullable = false, length = 100)
|
|
@Caption(value = "NamaPengarang")
|
|
private String namaPengarang;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "TipeKoleksiFk")
|
|
@NotNull(message = "Tipe Koleksi Harus Diisi")
|
|
@Caption(value = "Tipe Koleksi")
|
|
private TipeKoleksi tipeKoleksi;
|
|
|
|
@Column(name = "TipeKoleksiFk", insertable = false, updatable = false)
|
|
private Integer tipeKoleksiId;
|
|
|
|
@Column(name = "Edisi", nullable = false, length = 100)
|
|
@Caption(value = "Edisi")
|
|
private String edisi;
|
|
|
|
@Column(name = "ISSN", nullable = false, length = 100)
|
|
@Caption(value = "ISSN")
|
|
private String ISSN;
|
|
|
|
@Column(name = "TahunTerbit", nullable = false, length = 100)
|
|
@Caption(value = "TahunTerbit")
|
|
private Integer tahunTerbit;
|
|
|
|
@Column(name = "JumlahHalaman", nullable = false, length = 100)
|
|
@Caption(value = "JumlahHalaman")
|
|
private Integer jumlahHalaman;
|
|
|
|
public Integer getNomor() {
|
|
return nomor;
|
|
}
|
|
|
|
public void setNomor(Integer nomor) {
|
|
this.nomor = nomor;
|
|
}
|
|
|
|
public String getJudulBuku() {
|
|
return judulBuku;
|
|
}
|
|
|
|
public void setJudulBuku(String judulBuku) {
|
|
this.judulBuku = judulBuku;
|
|
}
|
|
|
|
public Integer getKodeEksemplar() {
|
|
return kodeEksemplar;
|
|
}
|
|
|
|
public void setKodeEksemplar(Integer kodeEksemplar) {
|
|
this.kodeEksemplar = kodeEksemplar;
|
|
}
|
|
|
|
public String getNamaPengarang() {
|
|
return namaPengarang;
|
|
}
|
|
|
|
public void setNamaPengarang(String namaPengarang) {
|
|
this.namaPengarang = namaPengarang;
|
|
}
|
|
|
|
public TipeKoleksi getTipeKoleksi() {
|
|
return tipeKoleksi;
|
|
}
|
|
|
|
public void setTipeKoleksi(TipeKoleksi tipeKoleksi) {
|
|
this.tipeKoleksi = tipeKoleksi;
|
|
}
|
|
|
|
public Integer getTipeKoleksiId() {
|
|
return tipeKoleksiId;
|
|
}
|
|
|
|
public void setTipeKoleksiId(Integer tipeKoleksiId) {
|
|
this.tipeKoleksiId = tipeKoleksiId;
|
|
}
|
|
|
|
public String getEdisi() {
|
|
return edisi;
|
|
}
|
|
|
|
public void setEdisi(String edisi) {
|
|
this.edisi = edisi;
|
|
}
|
|
|
|
public String getISSN() {
|
|
return ISSN;
|
|
}
|
|
|
|
public void setISSN(String iSSN) {
|
|
ISSN = iSSN;
|
|
}
|
|
|
|
public Integer getTahunTerbit() {
|
|
return tahunTerbit;
|
|
}
|
|
|
|
public void setTahunTerbit(Integer tahunTerbit) {
|
|
this.tahunTerbit = tahunTerbit;
|
|
}
|
|
|
|
public Integer getJumlahHalaman() {
|
|
return jumlahHalaman;
|
|
}
|
|
|
|
public void setJumlahHalaman(Integer jumlahHalaman) {
|
|
this.jumlahHalaman = jumlahHalaman;
|
|
}
|
|
|
|
} |