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.BaseTransactionVO;
import com.jasamedika.medifirst2000.entities.JenisPegawai;
import com.jasamedika.medifirst2000.entities.Pegawai;
import com.jasamedika.medifirst2000.helper.Caption;

public class PelaksanaVO extends BaseTransactionVO {

	@ManyToOne
	@JoinColumn(name = "ObjectTimeOutControlFk")
	@NotNull(message = "Time Out Control Harus Diisi")
	private TimeOutControlVO timeOutControl;

	@ManyToOne
	@JoinColumn(name = "NamaPelaksanaFk")
	private PegawaiVO namaPelaksana;
	
	@ManyToOne
	@JoinColumn(name = "JenisPegawaiFk")
	private JenisPegawaiVO jenisPegawai;
	
	public TimeOutControlVO getTimeOutControl() {
		return timeOutControl;
	}

	public void setTimeOutControl(TimeOutControlVO timeOutControl) {
		this.timeOutControl = timeOutControl;
	}

	public JenisPegawaiVO getJenisPegawai() {
		return jenisPegawai;
	}

	public void setJenisPegawai(JenisPegawaiVO jenisPegawai) {
		this.jenisPegawai = jenisPegawai;
	}

	public PegawaiVO getNamaPelaksana() {
		return namaPelaksana;
	}

	public void setNamaPelaksana(PegawaiVO namaPelaksana) {
		this.namaPelaksana = namaPelaksana;
	}
}
