package com.jasamedika.medifirst2000.entities;

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

import javax.persistence.*;

import static javax.persistence.GenerationType.SEQUENCE;

/**
 * class KategoryDiagnosa
 * 
 * @author Generator
 */
@Getter
@Setter
@Entity
@Table(name = "KategoryDiagnosa_M")
public class KategoryDiagnosa extends BaseMaster {

	@Caption(value = "Kategory Diagnosa")
	private String kategoryDiagnosa;

	@Caption(value = "Kode Kategory Diagnosa")
	private String kdKategoryDiagnosa;

	@Caption(value = "QKategory Diagnosa")
	private Integer qKategoryDiagnosa;

	@Caption(value = "Rincian Kode Diagnosa")
	private String rincianKodeDiagnosa;

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

}