-
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 #87 from miinyeong/main
Feat: 퀴즈 결과 확인, 퀴즈 목록 확인 API 생성
- Loading branch information
Showing
6 changed files
with
123 additions
and
4 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
17 changes: 17 additions & 0 deletions
17
src/main/java/com/onestep/server/entity/quiz/QuizAnswerCheckDTO.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.onestep.server.entity.quiz; | ||
|
||
|
||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
|
||
@Setter | ||
@Getter | ||
@NoArgsConstructor | ||
public class QuizAnswerCheckDTO { | ||
|
||
private Long quizAnswer_id; | ||
private String user_id; | ||
private Integer quiz_ans; | ||
private Integer quiz_state; | ||
} |
27 changes: 27 additions & 0 deletions
27
src/main/java/com/onestep/server/entity/quiz/QuizListDTO.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,27 @@ | ||
package com.onestep.server.entity.quiz; | ||
|
||
import com.onestep.server.entity.QuizAnswer; | ||
import com.onestep.server.entity.User; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
|
||
import java.util.Date; | ||
import java.util.List; | ||
|
||
|
||
@Setter | ||
@Getter | ||
@NoArgsConstructor | ||
public class QuizListDTO { | ||
private Long quiz_id; | ||
private String writer_id; | ||
private String quiz_txt; | ||
private String answer1; | ||
private String answer2; | ||
private String answer3; | ||
private String answer4; | ||
private Integer quiz_ans; | ||
private Date write_date; | ||
private List<QuizAnswerCheckDTO> quizAnswers; | ||
} |
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