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

        if (mineralResources != null ? !mineralResources.equals(that.mineralResources) : that.mineralResources != null)
            return false;

        return true;
    }