56 lines
1.3 KiB
Java
56 lines
1.3 KiB
Java
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 {
|
|
@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;
|
|
}
|
|
}
|