package com.jasamedika.medifirst2000.vo;

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

import com.fasterxml.jackson.annotation.JsonBackReference;
import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.helper.Caption;

public class MapPegawaiLimbahVO extends BaseTransactionVO {
	
	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "ObjectPetugasFk")
	@NotNull(message = "Petugas tidak boleh kosong") 
	@Caption(value="Object Petugas")
	private PegawaiVO petugas;

	@ManyToOne
	@JoinColumn(name = "ObjectLimbahB3MasukFk")
	@Caption(value="Object Limbah B3 Masuk")
	private LimbahB3MasukVO limbahB3Masuk;

	public PegawaiVO getPetugas() {
		return petugas;
	}

	public void setPetugas(PegawaiVO petugas) {
		this.petugas = petugas;
	}

	public LimbahB3MasukVO getLimbahB3Masuk() {
		return limbahB3Masuk;
	}

	public void setLimbahB3Masuk(LimbahB3MasukVO limbahB3Masuk) {
		this.limbahB3Masuk = limbahB3Masuk;
	}


}
