package com.jasamedika.medifirst2000.vo.custom;
import java.util.Objects;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name="data")
@XmlAccessorType(XmlAccessType.NONE)
public class BridgeDaftarJadwalDokterVO {
	
	@XmlElement(name="iddokter")
	private String idDokter;
	
	@XmlElement(name="namadokter")
	private String namaDokter;
	
	@XmlElement(name="idklinik")
	private String idKlinik;
	
	@XmlElement(name="hari")
	private String hari;
	
	@XmlElement(name="jammulaipraktek")
	private String jamMulaiPraktek;
	
	@XmlElement(name="jamtutuppraktek")
	private String jamTutupPraktek;
	
	@XmlElement(name="kuota")
	private String kuota;
	
	@XmlElement(name="update")
	private String update;
	
	@XmlElement(name="tglJadwal")
	private String tglJadwal;
	
	public BridgeDaftarJadwalDokterVO(){
		
	}
	
	 //Test equal, override equals() and hashCode()
    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        BridgeDaftarJadwalDokterVO vo = (BridgeDaftarJadwalDokterVO) o;
        return Objects.equals(idDokter, vo.idDokter) &&
                Objects.equals(hari, vo.getHari());
    }

    @Override
    public int hashCode() {
        return Objects.hash(idDokter,hari);
    }
	
	public String getIddokter() {
		return idDokter;
	}
	public void setIddokter(String iddokter) {
		this.idDokter = iddokter;
	}
	public String getNamadokter() {
		return namaDokter;
	}
	public void setNamadokter(String namadokter) {
		this.namaDokter = namadokter;
	}
	public String getIdKlinik() {
		return idKlinik;
	}
	public void setIdKlinik(String idklinik) {
		this.idKlinik = idklinik;
	}
	public String getJamMulaiPraktek() {
		return jamMulaiPraktek;
	}
	public void setJamMulaiPraktek(String jammulaipraktek) {
		this.jamMulaiPraktek = jammulaipraktek;
	}
	public String getJamTutupPraktek() {
		return jamTutupPraktek;
	}
	public void setJamTutupPraktek(String jamtutuppraktek) {
		this.jamTutupPraktek = jamtutuppraktek;
	}
	public String getKuota() {
		return kuota;
	}
	public void setKuota(String kuota) {
		this.kuota = kuota;
	}
	public String getUpdate() {
		return update;
	}
	public void setUpdate(String update) {
		this.update = update;
	}
	public String getIdDokter() {
		return idDokter;
	}
	public void setIdDokter(String idDokter) {
		this.idDokter = idDokter;
	}
	public String getNamaDokter() {
		return namaDokter;
	}
	public void setNamaDokter(String namaDokter) {
		this.namaDokter = namaDokter;
	}
	public String getHari() {
		return hari;
	}
	public void setHari(String hari) {
		this.hari = hari;
	}

	public String getTglJadwal() {
		return tglJadwal;
	}

	public void setTglJadwal(String tglJadwal) {
		this.tglJadwal = tglJadwal;
	}
}
