Create KelompokJabatanBIOS
Pembuatan tabel kelompok jabatan untuk mapping keperluan bridging BIOS
This commit is contained in:
parent
30ac291c02
commit
ada0437d3b
@ -83,6 +83,14 @@ public class Jabatan extends BaseMaster {
|
|||||||
@Column(name = "ObjectKelompokJabatanFk", insertable = false, updatable = false)
|
@Column(name = "ObjectKelompokJabatanFk", insertable = false, updatable = false)
|
||||||
private Integer kelompokJabatanId;
|
private Integer kelompokJabatanId;
|
||||||
|
|
||||||
|
@ManyToOne
|
||||||
|
@JoinColumn(name = "ObjectKelompokJabatanBiosFk")
|
||||||
|
@Caption(value = "Object KelompokJabatan BIOS")
|
||||||
|
private KelompokJabatanBIOS kelompokJabatanBIOS;
|
||||||
|
|
||||||
|
@Column(name = "ObjectKelompokJabatanFk", insertable = false, updatable = false)
|
||||||
|
private Integer kelompokJabatanBIOSId;
|
||||||
|
|
||||||
@Column(name = "KdJabatan", nullable = true)
|
@Column(name = "KdJabatan", nullable = true)
|
||||||
@Caption(value = "Kode Jabatan")
|
@Caption(value = "Kode Jabatan")
|
||||||
private String kdJabatan;
|
private String kdJabatan;
|
||||||
@ -194,6 +202,22 @@ public class Jabatan extends BaseMaster {
|
|||||||
this.kelompokJabatanId = kelompokJabatanId;
|
this.kelompokJabatanId = kelompokJabatanId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public KelompokJabatanBIOS getKelompokJabatanBIOS() {
|
||||||
|
return kelompokJabatanBIOS;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setKelompokJabatanBIOS(KelompokJabatanBIOS kelompokJabatanBIOS) {
|
||||||
|
this.kelompokJabatanBIOS = kelompokJabatanBIOS;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getKelompokJabatanBIOSId() {
|
||||||
|
return kelompokJabatanBIOSId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setKelompokJabatanBIOSId(Integer kelompokJabatanBIOSId) {
|
||||||
|
this.kelompokJabatanBIOSId = kelompokJabatanBIOSId;
|
||||||
|
}
|
||||||
|
|
||||||
public Integer getJenisJabatanId() {
|
public Integer getJenisJabatanId() {
|
||||||
return jenisJabatanId;
|
return jenisJabatanId;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1,61 @@
|
|||||||
|
package com.jasamedika.medifirst2000.entities;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
import javax.persistence.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.GeneratedValue;
|
||||||
|
import javax.persistence.GenerationType;
|
||||||
|
import javax.persistence.Id;
|
||||||
|
import javax.persistence.SequenceGenerator;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
|
||||||
|
import com.jasamedika.medifirst2000.helper.Caption;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author salmanoe
|
||||||
|
* @since Feb 2, 2023
|
||||||
|
*/
|
||||||
|
@Entity
|
||||||
|
@Table(name = "sdm_kelompokjabatanbios_m")
|
||||||
|
public class KelompokJabatanBIOS implements Serializable {
|
||||||
|
private static final long serialVersionUID = 4062359021697600745L;
|
||||||
|
|
||||||
|
@Id
|
||||||
|
@SequenceGenerator(name = "sdm_kelompokjabatanbios_m_gen", sequenceName = "public.sdm_kelompokjabatanbios_m_seq", allocationSize = 1)
|
||||||
|
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "sdm_kelompokjabatanbios_m_gen")
|
||||||
|
@Caption(value = "ID")
|
||||||
|
protected Integer id;
|
||||||
|
|
||||||
|
@Column(name = "namakelompok", nullable = false)
|
||||||
|
@Caption(value = "Nama Kelompok")
|
||||||
|
private String namaKelompok;
|
||||||
|
|
||||||
|
public KelompokJabatanBIOS() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public KelompokJabatanBIOS(Integer id, String namaKelompok) {
|
||||||
|
this.id = id;
|
||||||
|
this.namaKelompok = namaKelompok;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Integer id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getNamaKelompok() {
|
||||||
|
return namaKelompok;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setNamaKelompok(String namaKelompok) {
|
||||||
|
this.namaKelompok = namaKelompok;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static long getSerialversionuid() {
|
||||||
|
return serialVersionUID;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user