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

        Raiting that = (Raiting) o;

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

        return true;
    }