@Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Vehicle other = (Vehicle) obj;
        if (this.vehicleId != other.vehicleId) {
            return false;
        }
        if (this.arrivalTime != other.arrivalTime) {
            return false;
        }
        if (this.departingTime != other.departingTime) {
            return false;
        }
        return true;
    }