package com.jasamedika.medifirst2000.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.jasamedika.medifirst2000.base.BaseMaster;
import com.jasamedika.medifirst2000.helper.Caption;

@Entity
@Table(name = "KelompokJabatan_M")
public class KelompokJabatan extends BaseMaster {

	@Column(name = "KodeKelompok", nullable = false, length = 100)
	@Caption(value = "KodeKelompok")
	private String kodeKelompok;

	@Column(name = "NamaKelompokJabatan", nullable = false, length = 100)
	@Caption(value = "NamaKelompokJabatan")
	private String namaKelompokJabatan;

	@Column(name = "usiapensiun")
	@Caption(value = "usiaPensiun")
	private Integer usiaPensiun;

	public String getKodeKelompok() {
		return kodeKelompok;
	}

	public void setKodeKelompok(String kodeKelompok) {
		this.kodeKelompok = kodeKelompok;
	}

	public String getNamaKelompokJabatan() {
		return namaKelompokJabatan;
	}

	public void setNamaKelompokJabatan(String namaKelompokJabatan) {
		this.namaKelompokJabatan = namaKelompokJabatan;
	}

	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.sdm_KelompokJabatan_M_id_seq")
	@javax.persistence.SequenceGenerator(name = "public.sdm_KelompokJabatan_M_id_seq", sequenceName = "public.sdm_KelompokJabatan_M_id_seq", allocationSize = 1)
	@Column(name = "id")
	protected Integer id;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUsiaPensiun() {
		return usiaPensiun;
	}

	public void setUsiaPensiun(Integer usiaPensiun) {
		this.usiaPensiun = usiaPensiun;
	}

}
