package com.jasamedika.medifirst2000.entities;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.*;

import com.fasterxml.jackson.annotation.JsonBackReference;
import com.jasamedika.medifirst2000.base.BaseMaster;

import javax.validation.constraints.NotNull;
import com.jasamedika.medifirst2000.helper.Caption;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * class KelompokKompetensi
 * 
 * @author Generator
 */
@Entity
@Table(name = "KelompokKompetensi_M")
public class KelompokKompetensi extends BaseMaster {
	@Column(name = "KelompokKompetensi", nullable = false, length = 100)
	@Caption(value = "KelompokKompetensi")
	private String kelompokKompetensi;

	public String getKelompokKompetensi() {
		return kelompokKompetensi;
	}

	public void setKelompokKompetensi(String kelompokKompetensi) {
		this.kelompokKompetensi = kelompokKompetensi;
	}

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

	public Integer getId() {

		return id;
	}

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