package com.jasamedika.medifirst2000.vo;

import java.util.Date;

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

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

//@Entity
//@Table(name = "JadwalSupirAmbulance_T")
public class JadwalSupirAmbulanceVO extends BaseTransactionVO{
	
	@JoinColumn(name = "ObjectPegawaiFk")
	@Caption(value="Pegawai")
	private PegawaiVO pegawai;
	
	@ManyToOne
	@JoinColumn(name = "ObjectShiftKerjaFk")
	@Caption(value="Shift Kerja")
	private ShiftKerjaVO shiftKerja;
	
	@Column(name = "Tanggal", nullable = true)
	@Caption(value = "Tanggal")
	private Date tanggal;
	
	@ManyToOne
	@JoinColumn(name = "ObjectRuanganFk")
	@Caption(value="Ruangan")
	private RuanganVO ruangan;
	
	public RuanganVO getRuangan() {
		return ruangan;
	}

	public void setRuangan(RuanganVO ruangan) {
		this.ruangan = ruangan;
	}

	public PegawaiVO getPegawai() {
		return pegawai;
	}

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

	public ShiftKerjaVO getShiftKerja() {
		return shiftKerja;
	}

	public void setShiftKerja(ShiftKerjaVO shiftKerja) {
		this.shiftKerja = shiftKerja;
	}

	public Date getTanggal() {
		return tanggal;
	}

	public void setTanggal(Date tanggal) {
		this.tanggal = tanggal;
	}
	
	
}
