-
Notifications
You must be signed in to change notification settings - Fork 1
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 #23 from team-nabi/NABI-123--junhyuk--feat--sugges…
…tion-available-list Nabi 123 junhyuk feat suggestion available list
- Loading branch information
Showing
17 changed files
with
427 additions
and
32 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
8 changes: 8 additions & 0 deletions
8
src/main/java/org/prgrms/nabimarketbe/domain/card/dto/response/CardListResponseDTO.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,8 @@ | ||
package org.prgrms.nabimarketbe.domain.card.dto.response; | ||
|
||
import java.util.List; | ||
|
||
public record CardListResponseDTO<T>( | ||
List<T> cardList | ||
) { | ||
} |
20 changes: 20 additions & 0 deletions
20
.../org/prgrms/nabimarketbe/domain/card/dto/response/SuggestionAvailableCardResponseDTO.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,20 @@ | ||
package org.prgrms.nabimarketbe.domain.card.dto.response; | ||
|
||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import org.prgrms.nabimarketbe.domain.item.entity.PriceRange; | ||
import org.prgrms.nabimarketbe.domain.suggestion.entity.SuggestionType; | ||
|
||
@Getter | ||
@NoArgsConstructor | ||
public class SuggestionAvailableCardResponseDTO { | ||
private Long cardId; | ||
private String thumbNail; | ||
private String itemName; | ||
private PriceRange priceRange; | ||
private SuggestionType suggestionType; | ||
|
||
public void updateSuggestionType(SuggestionType suggestionType) { | ||
this.suggestionType = suggestionType; | ||
} | ||
} |
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
Oops, something went wrong.