package com.jasamedika.medifirst2000.vo;

import javax.persistence.Column;
import javax.validation.constraints.NotNull;

import com.jasamedika.medifirst2000.base.vo.BaseMasterVO;
import com.jasamedika.medifirst2000.entities.Hari;
import com.jasamedika.medifirst2000.entities.JadwalPraktek;
import com.jasamedika.medifirst2000.entities.Pegawai;
import com.jasamedika.medifirst2000.entities.Ruangan;
import com.jasamedika.medifirst2000.helper.Caption;

public class JadwalPraktikDokterVO extends BaseMasterVO {
	
	@Column(name = "id")
	private Integer id;
	
	@NotNull(message = "Kd Jadwal Praktek tidak boleh kosong")
	@Caption(value = "Object JadwalPraktek")
	private JadwalPraktek jadwalPraktek;

	@Column(name = "ObjectJadwalPraktekFk", insertable = false, updatable = false, nullable = false)
	private Integer jadwalPraktekId;

	@NotNull(message = "Kd ruangan tidak boleh kosong")
	@Caption(value = "Object Ruangan")
	private Ruangan ruangan;

	@Column(name = "ObjectRuanganFk", insertable = false, updatable = false, nullable = false)
	private Integer ruanganId;

	@NotNull(message = "Kd pegawai tidak boleh kosong")
	@Caption(value = "Object Pegawai")
	private Pegawai dokter;

	@Column(name = "ObjectPegawaiFk", insertable = false, updatable = false, nullable = false)
	private Integer dokterId;
	
	@NotNull(message = "Kd hari tidak boleh kosong")
	@Caption(value = "Object hari")
	private Hari hari;

	@Column(name = "ObjectHariFk", insertable = false, updatable = false, nullable = false)
	private Integer hariId;
		
	@Column(name = "Quota", nullable = true)
	@Caption(value = "Quota")
	private Integer quota;
	
	public Integer getId() {
		return id;
	}

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

	public Hari getHari() {
		return hari;
	}

	public void setHari(Hari hari) {
		this.hari = hari;
	}

	public Integer getHariId() {
		return hariId;
	}

	public void setHariId(Integer hariId) {
		this.hariId = hariId;
	}

	public JadwalPraktek getJadwalPraktek() {
		return jadwalPraktek;
	}

	public void setJadwalPraktek(JadwalPraktek jadwalPraktek) {
		this.jadwalPraktek = jadwalPraktek;
	}

	public Integer getJadwalPraktekId() {
		return jadwalPraktekId;
	}

	public void setJadwalPraktekId(Integer jadwalPraktekId) {
		this.jadwalPraktekId = jadwalPraktekId;
	}

	public Ruangan getRuangan() {
		return ruangan;
	}

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

	public Integer getRuanganId() {
		return ruanganId;
	}

	public void setRuanganId(Integer ruanganId) {
		this.ruanganId = ruanganId;
	}

	public Pegawai getDokter() {
		return dokter;
	}

	public void setDokter(Pegawai dokter) {
		this.dokter = dokter;
	}

	public Integer getDokterId() {
		return dokterId;
	}

	public void setDokterId(Integer dokterId) {
		this.dokterId = dokterId;
	}

	public Integer getQuota() {
		return quota;
	}

	public void setQuota(Integer quota) {
		this.quota = quota;
	}

}
