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 JenisJabatan
 * 
 * @author Generator
 */
//@Entity
//@Table(name = "JenisJabatan_M")
public class JenisJabatanVO extends BaseMasterVO {
	@Caption(value="Jenis Jabatan")
	private String jenisJabatan;

	public void setJenisJabatan(String jenisJabatan) {
		this.jenisJabatan = jenisJabatan;
	}

	@Column(name = "JenisJabatan", nullable = false , length = 30)
	public String getJenisJabatan(){
		return this.jenisJabatan;
	}

	@Caption(value="Kode Jenis Jabatan")
	private String kdJenisJabatan;

	public void setKdJenisJabatan(String kdJenisJabatan) {
		this.kdJenisJabatan = kdJenisJabatan;
	}

	@Column(name = "KdJenisJabatan", nullable = false , length = 1)
	public String getKdJenisJabatan(){
		return this.kdJenisJabatan;
	}

	@Caption(value="QJenis Jabatan")
	private Byte qJenisJabatan;

	public void setqJenisJabatan(Byte qJenisJabatan) {
		this.qJenisJabatan = qJenisJabatan;
	}

	@Column(name = "QJenisJabatan", nullable = false )
	public Byte getqJenisJabatan(){
		return this.qJenisJabatan;
	}

	/*//
	@OneToMany(fetch=FetchType.LAZY, cascade = CascadeType.ALL, mappedBy="kdjenisjabatan")
	private Set<Jabatan> JabatanSet = new HashSet<Jabatan>();

	public Set<Jabatan> getJabatanSet() {
		return JabatanSet;
	}

	public void setJabatanSet(Set<Jabatan> jabatanSet) {
		JabatanSet = jabatanSet;
	}*/

}

