package com.jasamedika.medifirst2000.vo;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

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 KategoryPegawai
 * 
 * @author Generator
 */
//@Entity
//@Table(name = "KategoryPegawai_M")
public class KategoryPegawaiVO extends BaseMasterVO {
	@Caption(value="Kategory Pegawai")
	private String kategoryPegawai;

	public void setKategoryPegawai(String kategoryPegawai) {
		this.kategoryPegawai = kategoryPegawai;
	}

	@Column(name = "KategoryPegawai", nullable = false , length = 30)
	public String getKategoryPegawai(){
		return this.kategoryPegawai;
	}

	@Caption(value="Kode Kategory Pegawai")
	private String kdKategoryPegawai;

	public void setKdKategoryPegawai(String kdKategoryPegawai) {
		this.kdKategoryPegawai = kdKategoryPegawai;
	}

	@Column(name = "KdKategoryPegawai", nullable = false , length = 1)
	public String getKdKategoryPegawai(){
		return this.kdKategoryPegawai;
	}

	@Caption(value="QKategory Pegawai")
	private Byte qKategoryPegawai;

	public void setqKategoryPegawai(Byte qKategoryPegawai) {
		this.qKategoryPegawai = qKategoryPegawai;
	}

	@Column(name = "QKategoryPegawai", nullable = false )
	public Byte getqKategoryPegawai(){
		return this.qKategoryPegawai;
	}
	
/*	//
	@OneToMany(fetch=FetchType.LAZY, cascade = CascadeType.ALL, mappedBy="kdkategorypegawai")
	private Set<DetailKategoryPegawai> DetailKategoryPegawaiSet = new HashSet<DetailKategoryPegawai>();

	public Set<DetailKategoryPegawai> getDetailKategoryPegawaiSet() {
		return DetailKategoryPegawaiSet;
	}

	public void setDetailKategoryPegawaiSet(Set<DetailKategoryPegawai> detailKategoryPegawaiSet) {
		DetailKategoryPegawaiSet = detailKategoryPegawaiSet;
	}*/

}

