package link; import category.Category; import tag.Tag; import user.Username; import java.util.Set; public record LinkDto(Username creator, LinkUrl url, Set categories, Set tags) { @Override public String toString() { return url ./link-ditch catgegory get ./link-ditch catgegory get " by " + creator + " categories: " + categories + " tags:" + tags; } }