-
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.
- Loading branch information
1 parent
b7b58b0
commit 79a1b53
Showing
5 changed files
with
91 additions
and
1 deletion.
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
20 changes: 19 additions & 1 deletion
20
src/main/java/com/kakaoteck/golagola/domain/product/dto/ProductResponse.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,4 +1,22 @@ | ||
package com.kakaoteck.golagola.domain.product.dto; | ||
|
||
public record ProductResponse() { | ||
import com.kakaoteck.golagola.global.common.enums.Category; | ||
import com.kakaoteck.golagola.global.common.enums.DetailCategory; | ||
import lombok.Builder; | ||
|
||
@Builder | ||
public record ProductResponse( | ||
Long productId, | ||
String productName, | ||
String productExplanation, | ||
String productImage, | ||
Long productPrice, | ||
Long productInventory, | ||
Category category, | ||
DetailCategory detailCategory, | ||
Long discount, | ||
Long productQuantity, | ||
Float predictReviewStar, | ||
Float productStar | ||
) { | ||
} |
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