-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #56 from Team-BomBomBom/feat/vote_assignment#BBB-127
Feat: #BBB-126 ๊ณผ์ ๋ชฉ๋ก ์ญ์ , #BBB-127 ๊ณผ์ ํฌํ, #BBB-128 ํฌํ ์ง๊ณ, #BBB-129 ๊ธฐ์ ์์ ์คํฐ๋ ์งํํํฉ
- Loading branch information
Showing
53 changed files
with
4,836 additions
and
1,271 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...ce/dto/result/AlgorithmProblemResult.java โ ...ce/dto/result/AlgorithmProblemResult.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
2 changes: 1 addition & 1 deletion
2
...t/AlgorithmProblemSolveHistoryResult.java โ ...t/AlgorithmProblemSolveHistoryResult.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
5 changes: 5 additions & 0 deletions
5
...i/src/main/java/com/bombombom/devs/external/problem/service/dto/result/ProblemResult.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 com.bombombom.devs.external.problem.service.dto.result; | ||
|
||
public record ProblemResult() { | ||
|
||
} |
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: 15 additions & 0 deletions
15
.../java/com/bombombom/devs/external/study/controller/dto/request/ConfigureStudyRequest.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,15 @@ | ||
package com.bombombom.devs.external.study.controller.dto.request; | ||
|
||
import com.bombombom.devs.external.study.service.dto.command.ConfigureStudyCommand; | ||
|
||
public record ConfigureStudyRequest( | ||
Boolean duplicated | ||
) { | ||
|
||
|
||
public ConfigureStudyCommand toServiceDto() { | ||
return ConfigureStudyCommand.builder() | ||
.duplicated(duplicated) | ||
.build(); | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...ava/com/bombombom/devs/external/study/controller/dto/request/DeleteAssignmentRequest.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,26 @@ | ||
package com.bombombom.devs.external.study.controller.dto.request; | ||
|
||
import com.bombombom.devs.external.study.service.dto.command.DeleteAssignmentCommand; | ||
import jakarta.validation.constraints.Min; | ||
import jakarta.validation.constraints.NotEmpty; | ||
import jakarta.validation.constraints.NotNull; | ||
import java.util.List; | ||
import lombok.Builder; | ||
|
||
@Builder | ||
public record DeleteAssignmentRequest( | ||
@NotNull @Min(0) Integer roundIdx, | ||
@NotEmpty List<Long> assignmentIds | ||
|
||
) { | ||
|
||
public DeleteAssignmentCommand toServiceDto() { | ||
return DeleteAssignmentCommand.builder() | ||
.roundIdx(roundIdx) | ||
.assignmentIds(assignmentIds) | ||
.build(); | ||
|
||
} | ||
|
||
|
||
} |
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: 0 additions & 13 deletions
13
...n/java/com/bombombom/devs/external/study/controller/dto/request/GetAssignmentRequest.java
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
.../java/com/bombombom/devs/external/study/controller/dto/request/VoteAssignmentRequest.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,17 @@ | ||
package com.bombombom.devs.external.study.controller.dto.request; | ||
|
||
import com.bombombom.devs.external.study.service.dto.command.VoteAssignmentCommand; | ||
import jakarta.validation.constraints.NotNull; | ||
|
||
public record VoteAssignmentRequest( | ||
@NotNull Long first, | ||
Long second | ||
) { | ||
|
||
public VoteAssignmentCommand toServiceDto() { | ||
return VoteAssignmentCommand.builder() | ||
.first(first) | ||
.second(second) | ||
.build(); | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...bombombom/devs/external/study/controller/dto/response/AlgorithmStudyProgressResponse.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
Oops, something went wrong.