-
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.
이미지기능을 할때 dto에 collection 파싱 에러 java.lang.UnsupportedOperationException: null
- Loading branch information
1 parent
5a757b8
commit 35ea59c
Showing
5 changed files
with
112 additions
and
18 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
src/main/java/com/bulkpurchase/domain/dto/product/ProductForSalesVolumeSortDTO.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,46 @@ | ||
package com.bulkpurchase.domain.dto.product; | ||
|
||
import com.bulkpurchase.domain.entity.user.User; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
import java.util.List; | ||
|
||
@Getter | ||
@Setter | ||
public class ProductForSalesVolumeSortDTO { | ||
private Long productID; | ||
private String productName; | ||
private Double price; | ||
private Integer stock; | ||
private String username; // 판매자 이름 | ||
private List<String> imageUrls; | ||
private Long totalQuantity; | ||
private User user; | ||
|
||
public ProductForSalesVolumeSortDTO(Long productID, String productName, Double price, Integer stock, String username, List<String> imageUrls, Long totalQuantity, User user) { | ||
this.productID = productID; | ||
this.productName = productName; | ||
this.price = price; | ||
this.stock = stock; | ||
this.username = username; | ||
this.imageUrls = imageUrls; | ||
this.totalQuantity = totalQuantity; | ||
this.user = user; | ||
} | ||
|
||
public ProductForSalesVolumeSortDTO(Long productID, String productName, Double price, Integer stock, String username, Long totalQuantity, User user) { | ||
this.productID = productID; | ||
this.productName = productName; | ||
this.price = price; | ||
this.stock = stock; | ||
this.username = username; | ||
this.totalQuantity = totalQuantity; | ||
this.user = user; | ||
} | ||
|
||
|
||
|
||
public ProductForSalesVolumeSortDTO() { | ||
} | ||
} |
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