408 lines
7.8 KiB
Java
408 lines
7.8 KiB
Java
package com.jasamedika.medifirst2000.entities;
|
|
|
|
import java.util.Date;
|
|
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.GeneratedValue;
|
|
import javax.persistence.GenerationType;
|
|
import javax.persistence.Id;
|
|
import javax.persistence.JoinColumn;
|
|
import javax.persistence.ManyToOne;
|
|
import javax.persistence.Table;
|
|
import javax.validation.constraints.NotNull;
|
|
|
|
import com.jasamedika.medifirst2000.base.BaseMaster;
|
|
import com.jasamedika.medifirst2000.helper.Caption;
|
|
|
|
@Entity
|
|
@Table(name = "Kalender_S")
|
|
public class Kalender extends BaseMaster {
|
|
|
|
@Column(name = "BulanFiscal", nullable = true , length = 10)
|
|
@Caption(value="Bulan Fiscal")
|
|
private String bulanFiscal;
|
|
|
|
@NotNull(message="Bulan Ke Dlm Tahun tidak boleh kosong")
|
|
@Column(name = "BulanKeDlmTahun", nullable = false )
|
|
@Caption(value="Bulan Ke Dlm Tahun")
|
|
private Byte bulanKeDlmTahun;
|
|
|
|
@NotNull(message="Hari Ke Dlm Bulan tidak boleh kosong")
|
|
@Column(name = "HariKeDlmBulan", nullable = false )
|
|
@Caption(value="Hari Ke Dlm Bulan")
|
|
private Byte hariKeDlmBulan;
|
|
|
|
@NotNull(message="Hari Ke Dlm Minggu tidak boleh kosong")
|
|
@Column(name = "HariKeDlmMinggu", nullable = false )
|
|
@Caption(value="Hari Ke Dlm Minggu")
|
|
private Byte hariKeDlmMinggu;
|
|
|
|
@NotNull(message="Hari Ke Dlm Tahun tidak boleh kosong")
|
|
@Column(name = "HariKeDlmTahun", nullable = false )
|
|
@Caption(value="Hari Ke Dlm Tahun")
|
|
private Short hariKeDlmTahun;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectHistoryLoginDFk")
|
|
@Caption(value="Object History Login D")
|
|
private HistoryLoginModulAplikasi historyLoginD;
|
|
|
|
@Column(name = "ObjectHistoryLoginDFk", insertable=false,updatable=false)
|
|
private Integer historyLoginDId;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectHistoryLoginIFk")
|
|
@NotNull(message="Kd History Login I tidak boleh kosong")
|
|
@Caption(value="Object History Login I")
|
|
private HistoryLoginModulAplikasi historyLoginI;
|
|
|
|
@Column(name = "ObjectHistoryLoginIFk", insertable=false,updatable=false)
|
|
private Integer historyLoginIId;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectHistoryLoginSFk")
|
|
@Caption(value="Object History Login S")
|
|
private HistoryLoginModulAplikasi historyLoginS;
|
|
|
|
@Column(name = "ObjectHistoryLoginSFk", insertable=false,updatable=false,nullable=false)
|
|
private Integer historyLoginSId;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectHistoryLoginUFk")
|
|
@Caption(value="Object History Login U")
|
|
private HistoryLoginModulAplikasi historyLoginU;
|
|
|
|
@Column(name = "ObjectHistoryLoginUFk", insertable=false,updatable=false)
|
|
private Integer historyLoginUId;
|
|
|
|
@NotNull(message="Kd Tanggal tidak boleh kosong")
|
|
@Column(name = "KdTanggal", nullable = false )
|
|
@Caption(value="Kode Tanggal")
|
|
private Integer kdTanggal;
|
|
|
|
@NotNull(message="Nama Bulan tidak boleh kosong")
|
|
@Column(name = "NamaBulan", nullable = false , length = 10)
|
|
@Caption(value="Nama Bulan")
|
|
private String namaBulan;
|
|
|
|
@NotNull(message="Nama Hari tidak boleh kosong")
|
|
@Column(name = "NamaHari", nullable = false , length = 10)
|
|
@Caption(value="Nama Hari")
|
|
private String namaHari;
|
|
|
|
@NotNull(message="QTanggal tidak boleh kosong")
|
|
@Column(name = "QTanggal", nullable = false )
|
|
@Caption(value="QTanggal")
|
|
private Integer qTanggal;
|
|
|
|
@Column(name = "SemesterKeDlmTahun", nullable = true )
|
|
@Caption(value="Semester Ke Dlm Tahun")
|
|
private Byte semesterKeDlmTahun;
|
|
|
|
@Column(name = "TahunFiscal", nullable = true )
|
|
@Caption(value="Tahun Fiscal")
|
|
private Short tahunFiscal;
|
|
|
|
@NotNull(message="Tahun Kalender tidak boleh kosong")
|
|
@Column(name = "TahunKalender", nullable = false )
|
|
@Caption(value="Tahun Kalender")
|
|
private Short tahunKalender;
|
|
|
|
@NotNull(message="Tanggal tidak boleh kosong")
|
|
@Column(name = "Tanggal", nullable = false )
|
|
@Caption(value="Tanggal")
|
|
private Date tanggal;
|
|
|
|
@Column(name = "TriwulanKeDlmTahun", nullable = true )
|
|
@Caption(value="Triwulan Ke Dlm Tahun")
|
|
private Byte triwulanKeDlmTahun;
|
|
|
|
|
|
|
|
@Id
|
|
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.kalender_m_id_seq")
|
|
@javax.persistence.SequenceGenerator(name = "public.kalender_m_id_seq", sequenceName = "public.kalender_m_id_seq", allocationSize = 1)
|
|
@Column(name = "id")
|
|
protected Integer id;
|
|
|
|
|
|
|
|
public String getBulanFiscal() {
|
|
return bulanFiscal;
|
|
}
|
|
|
|
|
|
|
|
public void setBulanFiscal(String bulanFiscal) {
|
|
this.bulanFiscal = bulanFiscal;
|
|
}
|
|
|
|
|
|
|
|
public Byte getBulanKeDlmTahun() {
|
|
return bulanKeDlmTahun;
|
|
}
|
|
|
|
|
|
|
|
public void setBulanKeDlmTahun(Byte bulanKeDlmTahun) {
|
|
this.bulanKeDlmTahun = bulanKeDlmTahun;
|
|
}
|
|
|
|
|
|
|
|
public Byte getHariKeDlmBulan() {
|
|
return hariKeDlmBulan;
|
|
}
|
|
|
|
|
|
|
|
public void setHariKeDlmBulan(Byte hariKeDlmBulan) {
|
|
this.hariKeDlmBulan = hariKeDlmBulan;
|
|
}
|
|
|
|
|
|
|
|
public Byte getHariKeDlmMinggu() {
|
|
return hariKeDlmMinggu;
|
|
}
|
|
|
|
|
|
|
|
public void setHariKeDlmMinggu(Byte hariKeDlmMinggu) {
|
|
this.hariKeDlmMinggu = hariKeDlmMinggu;
|
|
}
|
|
|
|
|
|
|
|
public Short getHariKeDlmTahun() {
|
|
return hariKeDlmTahun;
|
|
}
|
|
|
|
|
|
|
|
public void setHariKeDlmTahun(Short hariKeDlmTahun) {
|
|
this.hariKeDlmTahun = hariKeDlmTahun;
|
|
}
|
|
|
|
|
|
|
|
public HistoryLoginModulAplikasi getHistoryLoginD() {
|
|
return historyLoginD;
|
|
}
|
|
|
|
|
|
|
|
public void setHistoryLoginD(HistoryLoginModulAplikasi historyLoginD) {
|
|
this.historyLoginD = historyLoginD;
|
|
}
|
|
|
|
|
|
|
|
public Integer getHistoryLoginDId() {
|
|
return historyLoginDId;
|
|
}
|
|
|
|
|
|
|
|
public void setHistoryLoginDId(Integer historyLoginDId) {
|
|
this.historyLoginDId = historyLoginDId;
|
|
}
|
|
|
|
|
|
|
|
public HistoryLoginModulAplikasi getHistoryLoginI() {
|
|
return historyLoginI;
|
|
}
|
|
|
|
|
|
|
|
public void setHistoryLoginI(HistoryLoginModulAplikasi historyLoginI) {
|
|
this.historyLoginI = historyLoginI;
|
|
}
|
|
|
|
|
|
|
|
public Integer getHistoryLoginIId() {
|
|
return historyLoginIId;
|
|
}
|
|
|
|
|
|
|
|
public void setHistoryLoginIId(Integer historyLoginIId) {
|
|
this.historyLoginIId = historyLoginIId;
|
|
}
|
|
|
|
|
|
|
|
public HistoryLoginModulAplikasi getHistoryLoginS() {
|
|
return historyLoginS;
|
|
}
|
|
|
|
|
|
|
|
public void setHistoryLoginS(HistoryLoginModulAplikasi historyLoginS) {
|
|
this.historyLoginS = historyLoginS;
|
|
}
|
|
|
|
|
|
|
|
public Integer getHistoryLoginSId() {
|
|
return historyLoginSId;
|
|
}
|
|
|
|
|
|
|
|
public void setHistoryLoginSId(Integer historyLoginSId) {
|
|
this.historyLoginSId = historyLoginSId;
|
|
}
|
|
|
|
|
|
|
|
public HistoryLoginModulAplikasi getHistoryLoginU() {
|
|
return historyLoginU;
|
|
}
|
|
|
|
|
|
|
|
public void setHistoryLoginU(HistoryLoginModulAplikasi historyLoginU) {
|
|
this.historyLoginU = historyLoginU;
|
|
}
|
|
|
|
|
|
|
|
public Integer getHistoryLoginUId() {
|
|
return historyLoginUId;
|
|
}
|
|
|
|
|
|
|
|
public void setHistoryLoginUId(Integer historyLoginUId) {
|
|
this.historyLoginUId = historyLoginUId;
|
|
}
|
|
|
|
|
|
|
|
public Integer getKdTanggal() {
|
|
return kdTanggal;
|
|
}
|
|
|
|
|
|
|
|
public void setKdTanggal(Integer kdTanggal) {
|
|
this.kdTanggal = kdTanggal;
|
|
}
|
|
|
|
|
|
|
|
public String getNamaBulan() {
|
|
return namaBulan;
|
|
}
|
|
|
|
|
|
|
|
public void setNamaBulan(String namaBulan) {
|
|
this.namaBulan = namaBulan;
|
|
}
|
|
|
|
|
|
|
|
public String getNamaHari() {
|
|
return namaHari;
|
|
}
|
|
|
|
|
|
|
|
public void setNamaHari(String namaHari) {
|
|
this.namaHari = namaHari;
|
|
}
|
|
|
|
|
|
|
|
public Integer getqTanggal() {
|
|
return qTanggal;
|
|
}
|
|
|
|
|
|
|
|
public void setqTanggal(Integer qTanggal) {
|
|
this.qTanggal = qTanggal;
|
|
}
|
|
|
|
|
|
|
|
public Byte getSemesterKeDlmTahun() {
|
|
return semesterKeDlmTahun;
|
|
}
|
|
|
|
|
|
|
|
public void setSemesterKeDlmTahun(Byte semesterKeDlmTahun) {
|
|
this.semesterKeDlmTahun = semesterKeDlmTahun;
|
|
}
|
|
|
|
|
|
|
|
public Short getTahunFiscal() {
|
|
return tahunFiscal;
|
|
}
|
|
|
|
|
|
|
|
public void setTahunFiscal(Short tahunFiscal) {
|
|
this.tahunFiscal = tahunFiscal;
|
|
}
|
|
|
|
|
|
|
|
public Short getTahunKalender() {
|
|
return tahunKalender;
|
|
}
|
|
|
|
|
|
|
|
public void setTahunKalender(Short tahunKalender) {
|
|
this.tahunKalender = tahunKalender;
|
|
}
|
|
|
|
|
|
|
|
public Date getTanggal() {
|
|
return tanggal;
|
|
}
|
|
|
|
|
|
|
|
public void setTanggal(Date tanggal) {
|
|
this.tanggal = tanggal;
|
|
}
|
|
|
|
|
|
|
|
public Byte getTriwulanKeDlmTahun() {
|
|
return triwulanKeDlmTahun;
|
|
}
|
|
|
|
|
|
|
|
public void setTriwulanKeDlmTahun(Byte triwulanKeDlmTahun) {
|
|
this.triwulanKeDlmTahun = triwulanKeDlmTahun;
|
|
}
|
|
|
|
|
|
|
|
public Integer getId() {
|
|
return id;
|
|
}
|
|
|
|
|
|
|
|
public void setId(Integer id) {
|
|
this.id = id;
|
|
}
|
|
|
|
|
|
}
|
|
|