Skip to content

Commit c18de8a

Browse files
committed
refactor: 구인 카테고리 추가
1 parent cdb984d commit c18de8a

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/main/java/com/back/web7_9_codecrete_be/domain/community/post/dto/request/PostCreateRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class PostCreateRequest {
1414
@Schema(
1515
description = "게시글 카테고리",
1616
example = "REVIEW",
17-
allowableValues = {"NOTICE", "REVIEW", "TRADE", "PHOTO"}
17+
allowableValues = {"NOTICE", "REVIEW", "JOIN", "TRADE", "PHOTO"}
1818
)
1919
private PostCategory category;
2020

src/main/java/com/back/web7_9_codecrete_be/domain/community/post/dto/request/PostUpdateRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class PostUpdateRequest {
1414
@Schema(
1515
description = "게시글 카테고리",
1616
example = "NOTICE",
17-
allowableValues = {"NOTICE", "REVIEW", "TRADE", "PHOTO"}
17+
allowableValues = {"NOTICE", "REVIEW","JOIN", "TRADE", "PHOTO"}
1818
)
1919
private PostCategory category;
2020

src/main/java/com/back/web7_9_codecrete_be/domain/community/post/entity/PostCategory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
public enum PostCategory {
88
NOTICE,
99
REVIEW,
10+
JOIN,
1011
TRADE,
1112
PHOTO;
1213

0 commit comments

Comments
 (0)