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 com.jasamedika.medifirst2000.entities.KelompokPasien;
import com.jasamedika.medifirst2000.entities.Rekanan;

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 MapKelompokPasienToPenjamin
 * 
 * @author Generator
 */

public class MapKelompokPasienToPenjaminVO extends BaseMasterVO {
	
	@ManyToOne(fetch=FetchType.LAZY)
	@NotNull(message="Kd Kelompok Pasien tidak boleh kosong")
	@Caption(value="Object Kelompok Pasien")
	private KelompokPasienVO kelompokPasien;

	@ManyToOne(fetch=FetchType.LAZY)
	@Caption(value = "Object Rekanan")
	private RekananVO rekanan;

	public KelompokPasienVO getKelompokPasien() {
		return kelompokPasien;
	}

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

	public RekananVO getRekanan() {
		return rekanan;
	}

	public void setRekanan(RekananVO rekanan) {
		this.rekanan = rekanan;
	}

}

