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.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

/**
 * class PemeriksaanTriage
 * 
 * @author Generator
 */
@Getter
@Setter
@Entity
@Table(name = "RM_PemeriksaanTriage_M")
public class PemeriksaanTriage extends BaseMaster {
	private static final long serialVersionUID = -7006702836258405722L;

	@NotNull(message = "KdTriage tidak boleh kosong")
	@Column(name = "KdTriage", nullable = false, length = 100)
	@Caption(value = "KdTriage")
	private String kdTriage;

	@NotNull(message = "NamaTriage tidak boleh kosong")
	@Column(name = "NamaTriage", nullable = false, length = 100)
	@Caption(value = "NamaTriage")
	private String namaTriage;

	@NotNull(message = "JenisPemeriksaan tidak boleh kosong")
	@Column(name = "JenisPemeriksaan", nullable = false, length = 100)
	@Caption(value = "JenisPemeriksaan")
	private String jenisPemeriksaan;

	@Id
	@Column(name = "id", columnDefinition = "serial4")
	protected Integer id;
}