File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
src/main/java/grep/neogul_coder/domain/studypost/dto Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ package grep .neogul_coder .domain .studypost .dto ;
2+
3+ import grep .neogul_coder .domain .studypost .Category ;
4+ import io .swagger .v3 .oas .annotations .media .Schema ;
5+ import java .time .LocalDateTime ;
6+ import lombok .Getter ;
7+
8+ @ Getter
9+ @ Schema (description = "스터디 게시글 목록 응답 DTO" )
10+ public class StudyPostListResponse {
11+
12+ @ Schema (description = "게시글 ID" , example = "12" )
13+ private Long id ;
14+
15+ @ Schema (description = "제목" , example = "모든 국민은 직업선택의 자유를 가진다." )
16+ private String title ;
17+
18+ @ Schema (description = "카테고리: NOTICE(공지), FREE(자유)" , example = "NOTICE" )
19+ private Category category ;
20+
21+ @ Schema (description = "본문" , example = "국회는 의원의 자격을 심사하며, 의원을 징계할 있다." )
22+ private String content ;
23+
24+ @ Schema (description = "작성일" , example = "2025-07-10T14:32:00" )
25+ private LocalDateTime createdDate ;
26+
27+ @ Schema (description = "댓글 수" , example = "3" )
28+ private int commentCount ;
29+ }
You can’t perform that action at this time.
0 commit comments