@Override
    public int hashCode() {
        int hash = 7;
        hash = 97 * hash + (this.car != null ? this.car.hashCode() : 0);
        hash = 97 * hash + (this.customer != null ? this.customer.hashCode() : 0);
        hash = 97 * hash + (this.from != null ? this.from.hashCode() : 0);
        hash = 97 * hash + (this.to != null ? this.to.hashCode() : 0);
        hash = 97 * hash + (this.cost != null ? this.cost.hashCode() : 0);
        return hash;
    }