We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 947c9d8 commit 74b844bCopy full SHA for 74b844b
src/main/java/grep/neogul_coder/domain/studypost/dto/StudyPostRequest.java
@@ -0,0 +1,22 @@
1
+package grep.neogul_coder.domain.studypost.dto;
2
+
3
+import io.swagger.v3.oas.annotations.media.Schema;
4
+import jakarta.validation.constraints.NotBlank;
5
+import lombok.Getter;
6
7
+@Getter
8
+@Schema(description = "스터디 게시글 저장/수정 요청 DTO")
9
+public class StudyPostRequest {
10
11
+ @Schema(description = "제목", example = "스터디 공지")
12
+ @NotBlank
13
+ private String title;
14
15
+ @Schema(description = "카테고리: NOTICE(공지), FREE(자유)", example = "NOTICE")
16
17
+ private String category;
18
19
+ @Schema(description = "내용", example = "오늘은 각자 공부한 내용에 대해 발표가 있는 날 입니다!")
20
21
+ private String content;
22
+}
0 commit comments