This repository has been archived on 2022-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
LinkDitch/2-Application/src/main/java/link/LinkDto.java
2022-05-27 14:16:02 +02:00

22 lines
397 B
Java

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