-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
53c6d5a
commit 4e96ea9
Showing
5 changed files
with
66 additions
and
5 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
12 changes: 12 additions & 0 deletions
12
spring/notinote/src/main/java/com/answer/notinote/Search/dto/SearchDetailDto.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,7 +1,19 @@ | ||
package com.answer.notinote.Search.dto; | ||
|
||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
import java.time.LocalDate; | ||
import java.util.List; | ||
|
||
@Getter | ||
public class SearchDetailDto { | ||
private LocalDate date; | ||
private List<Object> results; | ||
|
||
@Builder | ||
public SearchDetailDto(LocalDate date, List<Object> results){ | ||
this.date = date; | ||
this.results = results; | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
spring/notinote/src/main/java/com/answer/notinote/Search/dto/SearchResultDetailDto.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,24 @@ | ||
package com.answer.notinote.Search.dto; | ||
|
||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
import java.util.List; | ||
|
||
@Getter | ||
@NoArgsConstructor | ||
public class SearchResultDetailDto { | ||
private Long id; | ||
private String imageUri; | ||
private List<Object> fullText; | ||
private String korean; | ||
|
||
@Builder | ||
public SearchResultDetailDto(Long id, String imageUri, List<Object> fullText, String korean){ | ||
this.id = id; | ||
this.imageUri = imageUri; | ||
this.fullText = fullText; | ||
this.korean = korean; | ||
} | ||
} |
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