@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        Id other = (Id) o;

        if (id != other.id) {
            return false;
        }

        return true;
    }