-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: 엔티티 수정 * chore: 예약어 사용으로 인한 수정 * add: dto 추가 * feat: 회고 생성 로직 수정 및 구현 * chore: h2 설정을 위한 수정 * refactor: 리뷰 내용 반영 * chore: 내 회고폼 자동 추가로 변경 --------- Co-authored-by: Raymond <[email protected]>
- Loading branch information
1 parent
912dca4
commit 41435c8
Showing
13 changed files
with
100 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 7 additions & 6 deletions
13
...main/java/org/layer/domain/retrospect/controller/dto/request/RetrospectCreateRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
package org.layer.domain.retrospect.controller.dto.request; | ||
|
||
import java.util.List; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import jakarta.validation.constraints.NotNull; | ||
import jakarta.validation.constraints.Size; | ||
|
||
@Schema(name = "RetrospectCreateRequest", description = "회고 생성 요청 Dto") | ||
public record RetrospectCreateRequest( | ||
@Schema(description = "회고 폼 id", example = "1") | ||
@NotNull | ||
Long formId, | ||
@Schema(description = "회고 제목", example = "중간 발표 이후 회고") | ||
@Size(min = 3) | ||
String title, | ||
@Schema(description = "회고 한줄 설명", example = "우리만의 KPT 회고") | ||
@NotNull | ||
String introduction | ||
|
||
String introduction, | ||
@Schema(description = "회고 질문 목록(리스트)", example = "이번에 가장 어려웠던 점은 무엇인가요?") | ||
@NotNull | ||
@Size(min = 3, max = 15) | ||
List<String> questions | ||
) { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
layer-domain/src/main/java/org/layer/domain/question/enums/QuestionOwner.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package org.layer.domain.question.enums; | ||
|
||
public enum QuestionOwner { | ||
INDIVIDUAL, TEAM | ||
} |
2 changes: 1 addition & 1 deletion
2
.../domain/question/entity/QuestionType.java → ...r/domain/question/enums/QuestionType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters