-
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.
v1.0.7
- Loading branch information
Showing
20 changed files
with
198 additions
and
125 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
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
51 changes: 29 additions & 22 deletions
51
.../main/java/org/layer/domain/retrospect/controller/dto/response/RetrospectGetResponse.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,34 +1,41 @@ | ||
package org.layer.domain.retrospect.controller.dto.response; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
|
||
import org.layer.domain.retrospect.entity.AnalysisStatus; | ||
import org.layer.domain.retrospect.entity.RetrospectStatus; | ||
import org.layer.domain.retrospect.entity.WriteStatus; | ||
|
||
import java.time.LocalDateTime; | ||
|
||
@Schema(name = "RetrospectGetResponse", description = "특정 회고 조회 Dto") | ||
public record RetrospectGetResponse( | ||
@Schema(description = "회고 id", example = "1") | ||
Long retrospectId, | ||
@Schema(description = "회고 이름", example = "중간 발표 이후") | ||
String title, | ||
@Schema(description = "회고 설명", example = "중간 발표 관련해서 KPT 회고를 해봅시다.") | ||
String introduction, | ||
@Schema(description = "회고 작성 여부", example = "false") | ||
boolean isWrite, | ||
@Schema(description = "회고 상태 : PROCEEDING 나 DONE 중에 하나입니다.", example = "PROCEEDING") | ||
RetrospectStatus retrospectStatus, | ||
@Schema(description = "해당 회고 응답 수", example = "4") | ||
long writeCount, | ||
@Schema(description = "전체 인원", example = "10") | ||
long totalCount, | ||
@Schema(description = "회고 생성 일자") | ||
LocalDateTime createdAt, | ||
@Schema(description = "회고 종료 일자") | ||
LocalDateTime deadline | ||
@Schema(description = "회고 id", example = "1") | ||
Long retrospectId, | ||
@Schema(description = "회고 이름", example = "중간 발표 이후") | ||
String title, | ||
@Schema(description = "회고 설명", example = "중간 발표 관련해서 KPT 회고를 해봅시다.") | ||
String introduction, | ||
@Schema(description = "회고 작성 상태", example = "NOT_STARTED") | ||
WriteStatus writeStatus, | ||
@Schema(description = "회고 상태 : PROCEEDING 나 DONE 중에 하나입니다.", example = "PROCEEDING") | ||
RetrospectStatus retrospectStatus, | ||
@Schema(description = "회고 작성 상태", example = "NOT_STARTED") | ||
AnalysisStatus analysisStatus, | ||
@Schema(description = "해당 회고 응답 수", example = "4") | ||
long writeCount, | ||
@Schema(description = "전체 인원", example = "10") | ||
long totalCount, | ||
@Schema(description = "회고 생성 일자") | ||
LocalDateTime createdAt, | ||
@Schema(description = "회고 종료 일자") | ||
LocalDateTime deadline | ||
) { | ||
public static RetrospectGetResponse of(Long retrospectId, String title, String introduction, boolean isWrite, RetrospectStatus retrospectStatus, | ||
long writeCount, long totalCount, LocalDateTime createdAt, LocalDateTime deadline) { | ||
public static RetrospectGetResponse of(Long retrospectId, String title, String introduction, | ||
WriteStatus writeStatus, RetrospectStatus retrospectStatus, AnalysisStatus analysisStatus, | ||
long writeCount, long totalCount, LocalDateTime createdAt, LocalDateTime deadline) { | ||
|
||
return new RetrospectGetResponse(retrospectId, title, introduction, isWrite, retrospectStatus, writeCount, totalCount, createdAt, deadline); | ||
} | ||
return new RetrospectGetResponse(retrospectId, title, introduction, writeStatus, retrospectStatus, | ||
analysisStatus, writeCount, totalCount, createdAt, deadline); | ||
} | ||
} |
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
15 changes: 0 additions & 15 deletions
15
.../java/org/layer/domain/retrospect/service/dto/request/RetrospectCreateServiceRequest.java
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
...n/java/org/layer/domain/retrospect/service/dto/response/RetrospectGetServiceResponse.java
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...va/org/layer/domain/retrospect/service/dto/response/RetrospectListGetServiceResponse.java
This file was deleted.
Oops, something went wrong.
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
7 changes: 7 additions & 0 deletions
7
layer-domain/src/main/java/org/layer/domain/common/random/CustomRandom.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,7 @@ | ||
package org.layer.domain.common.random; | ||
|
||
public interface CustomRandom { | ||
String generateRandomValue(); | ||
|
||
int nextInt(int index); | ||
} |
Oops, something went wrong.