package com.jasamedika.medifirst2000.vo;

import javax.persistence.Column;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.validation.constraints.NotNull;

import com.jasamedika.medifirst2000.base.vo.BaseMasterVO;
import com.jasamedika.medifirst2000.helper.Caption;

/**
 *  class KelompokPasien
 * 
 * @author Generator
 */
public class KelompokPasienVO extends BaseMasterVO {
	
	@ManyToOne
	@JoinColumn(name = "ObjectJenisTarifFk")
	@NotNull(message="Object Jenis Tarif Harus Diisi")
	@Caption(value="Object Jenis Tarif")
	private JenisTarifVO jenisTarif;

	public void setJenisTarif(JenisTarifVO jenisTarif) {
		this.jenisTarif = jenisTarif;
	}

	@Column(name = "KdJenisTarif", nullable = false )
	public JenisTarifVO getJenisTarif(){
		return this.jenisTarif;
	}

	@Column(name = "ObjectJenisTarifFk", insertable=false,updatable=false)
	private Integer jenisTarifId;

	@Caption(value="Kode Kelompok Pasien")
	private Byte kdKelompokPasien;

	public void setKdKelompokPasien(Byte kdKelompokPasien) {
		this.kdKelompokPasien = kdKelompokPasien;
	}

	@Column(name = "KdKelompokPasien", nullable = false )
	public Byte getKdKelompokPasien(){
		return this.kdKelompokPasien;
	}

	@Caption(value="Kelompok Pasien")
	private String kelompokPasien;

	public void setKelompokPasien(String kelompokPasien) {
		this.kelompokPasien = kelompokPasien;
	}

	@Column(name = "KelompokPasien", nullable = false , length = 20)
	public String getKelompokPasien(){
		return this.kelompokPasien;
	}

	@Caption(value="QKelompok Pasien")
	private Byte qKelompokPasien;

	public void setqKelompokPasien(Byte qKelompokPasien) {
		this.qKelompokPasien = qKelompokPasien;
	}

	@Column(name = "QKelompokPasien", nullable = false )
	public Byte getqKelompokPasien(){
		return this.qKelompokPasien;
	}

	@Caption(value="Status Isi S J P")
	private Byte statusIsiSJP;

	public void setStatusIsiSJP(Byte statusIsiSJP) {
		this.statusIsiSJP = statusIsiSJP;
	}

	@Column(name = "StatusIsiSJP", nullable = false )
	public Byte getStatusIsiSJP(){
		return this.statusIsiSJP;
	}

	public Integer getJenisTarifId() {
		return jenisTarifId;
	}

	public void setJenisTarifId(Integer jenisTarifId) {
		this.jenisTarifId = jenisTarifId;
	}

}

