package com.jasamedika.medifirst2000.vo;

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

import com.jasamedika.medifirst2000.base.BaseTransaction;
import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.entities.Pegawai;
import com.jasamedika.medifirst2000.entities.PelayananPasienPetugas;
import com.jasamedika.medifirst2000.helper.Caption;

public class MapPelayananPasienPetugasToPegawaiVO extends BaseTransactionVO{

	@ManyToOne(fetch=FetchType.LAZY)
	@Caption(value="Object Pelayanan Pasien Petugas")
	private PelayananPasienPetugasVO pelayananPasienPetugas;

	@ManyToOne(fetch=FetchType.LAZY)
	@Caption(value="Object Pegawai")
	private PegawaiVO pegawai;

	private Integer id;
	
	public PelayananPasienPetugasVO getPelayananPasienPetugas() {
		return pelayananPasienPetugas;
	}

	public void setPelayananPasienPetugas(PelayananPasienPetugasVO pelayananPasienPetugas) {
		this.pelayananPasienPetugas = pelayananPasienPetugas;
	}

	public PegawaiVO getPegawai() {
		return pegawai;
	}

	public void setPegawai(PegawaiVO pegawai) {
		this.pegawai = pegawai;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

}
