b969ba6104
CI / build (push) Successful in 59s
- GET /board/my/posts, /board/my/comments (페이징) - PostSummary 에 category 추가, MyCommentResponse(글 제목·카테고리 포함) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
31 lines
825 B
Java
31 lines
825 B
Java
package com.sb.web.board.dto;
|
|
|
|
import lombok.Data;
|
|
|
|
import java.time.LocalDateTime;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 게시글 목록 항목 (요약).
|
|
*/
|
|
@Data
|
|
public class PostSummary {
|
|
|
|
private Long id;
|
|
private String title;
|
|
private String category; // 내 글 모아보기 등 교차 게시판 링크용
|
|
private Long authorId;
|
|
private String authorName;
|
|
private String authorGooglePicture;
|
|
private String authorProfileImage;
|
|
private Integer viewCount;
|
|
private Integer commentCount;
|
|
private Integer upCount; // 추천 수
|
|
private Integer downCount; // 비추천 수
|
|
private Boolean hot; // 인기 글(추천 50+ & 1일 이내) 상단 노출
|
|
private Boolean blocked;
|
|
private Boolean notice;
|
|
private LocalDateTime createdAt;
|
|
private List<String> tags;
|
|
}
|