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;

@Getter
@Setter
@Entity
@Table(name = "JenisLimbahB3Masuk_M")
public class JenisLimbahB3Masuk extends BaseMaster {

	@Column(name = "KdJenisLimbah")
	@Caption(value = "Kode Jenis Limbah")
	private String kdJenisLimbah;

	@Column(name = "JenisLimbahB3Masuk")
	@Caption(value = "Jenis Limbah B3 Masuk")
	private String jenisLimbahB3masuk;

	@Column(name = "kategori")
	@Caption(value = "kategori")
	private String kategori;

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

}