001package usecase.post; 002 003import lombok.Builder; 004import lombok.Data; 005 006import java.time.Instant; 007 008/** 009 * Classe DTO relativa al post. 010 */ 011@Data @Builder 012public class PostPage { 013 private int id; 014 private String title; 015 private int vote; 016 private int votes; 017 private String sectionName; 018 private String authorName; 019 private Integer sectionId; 020 private Integer authorId; 021 private Instant creationDate; 022 private String content; 023 private int nComments; 024 private PostType type; 025}