File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
src/main/java/com/DecodEat/domain/products Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ public static ProductSearchResponseDto.ProductPrevDto toProductPrevDto(Product p
101101 public static ProductRegisterHistoryDto toProductRegisterHistoryDto (Product product ){
102102 return ProductRegisterHistoryDto .builder ()
103103 .productId (product .getProductId ())
104+ .name (product .getProductName ())
104105 .registerDate (product .getCreatedAt ())
105106 .productImage (product .getProductImage ())
106107 .decodeStatus (product .getDecodeStatus ())
Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ public class ProductRegisterHistoryDto {
1515 @ Schema (description = "상품 ID" , example = "1" )
1616 private Long productId ;
1717
18+ @ Schema (description = "상품명" , example = "곰곰육개장" )
19+ private String name ;
20+
1821 @ Schema (description = "상품 등록일" , example = "2025-09-05" )
1922 @ JsonFormat (pattern = "yyyy-MM-dd" )
2023 private LocalDateTime registerDate ;
You can’t perform that action at this time.
0 commit comments