package com.jasamedika.medifirst2000.entities;

import com.jasamedika.medifirst2000.helper.Caption;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.io.Serializable;

import static javax.persistence.GenerationType.SEQUENCE;

/**
 * @author salmanoe
 * @since Feb 2, 2023
 */
@Getter
@Setter
@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 = SEQUENCE, generator = "sdm_kelompokjabatanbios_m_gen")
	@Caption(value = "ID")
	protected Integer id;

	@Column(name = "namakelompok", nullable = false)
	@Caption(value = "Nama Kelompok")
	private String namaKelompok;

}
