-
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.
Merge pull request #14 from bsideproject/questionAnswer
Question answer
- Loading branch information
Showing
7 changed files
with
95 additions
and
38 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
src/main/java/com/bside/BSIDE/contents/domain/QuestionListInDto.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,13 @@ | ||
package com.bside.BSIDE.contents.domain; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import lombok.Data; | ||
|
||
@Data | ||
public class QuestionListInDto { | ||
@Schema(description = "페이지 번호", example = "1") | ||
private int pageNo; | ||
|
||
@Schema(description = "페이지당 들어갈 컬럼 수", example = "20") | ||
private int pageSize; | ||
} |
18 changes: 18 additions & 0 deletions
18
src/main/java/com/bside/BSIDE/contents/domain/QuestionListOutDto.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,18 @@ | ||
package com.bside.BSIDE.contents.domain; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import lombok.Data; | ||
|
||
import java.util.List; | ||
|
||
@Data | ||
public class QuestionListOutDto { | ||
@Schema(description = "현재 페이지 번호", example = "1", nullable = false) | ||
private Integer pageNo; | ||
|
||
@Schema(description = "페이지당 들어갈 컬럼 수", example = "20", nullable = false) | ||
private Integer pageSize; | ||
|
||
@Schema(description = "질문 contents", nullable = true) | ||
private List<QuestionDto> grid; | ||
} |
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