package com.jasamedika.medifirst2000.vo;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;
import org.hibernate.validator.constraints.NotEmpty;

import com.jasamedika.medifirst2000.base.vo.BaseMasterVO;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.internal.util.logging.Messages;

import com.fasterxml.jackson.annotation.JsonManagedReference;
import com.jasamedika.medifirst2000.base.vo.BaseMasterVO;
import com.jasamedika.medifirst2000.helper.Caption;

/**
 *  class Alergi
 * 
 * @author Generator
 */
//@Entity
//@Table(name = "Alergi_M")
public class AlergiVO extends BaseMasterVO {
	@Caption(value="Kode Alergi")
	private short kdAlergi;

	@Column(name = "KdAlergi", nullable = false )
	public short getKdAlergi() {
		return kdAlergi;
	}

	public void setKdAlergi(short kdAlergi) {
		this.kdAlergi = kdAlergi;
	}

	@Caption(value="Nama Alergi")
	private String namaAlergi;

	public void setNamaAlergi(String namaAlergi) {
		this.namaAlergi = namaAlergi;
	}

	@Column(name = "NamaAlergi", nullable = false , length = 75)
	public String getNamaAlergi(){
		return this.namaAlergi;
	}

	@Caption(value="QAlergi")
	private short qAlergi;

	@Column(name = "QAlergi", nullable = false )
	public short getqAlergi() {
		return qAlergi;
	}

	public void setqAlergi(short qAlergi) {
		this.qAlergi = qAlergi;
	}

	
	

}

