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

        Right right = (Right) o;

        if (idRight != right.idRight) return false;
        if (description != null ? !description.equals(right.description) : right.description != null) return false;

        return true;
    }