|
|
@@ -52,6 +52,19 @@ public class ProductDTO {
|
|
|
// 配送与履约配置(按 deliveryMethod 附带 pickupLocations/servicePersons/onlineSlots)
|
|
|
private Map<String, Object> deliveryConfig;
|
|
|
|
|
|
+ // 套餐商品组成(仅 productType=bundle 时非空)
|
|
|
+ private List<BundleItemVO> bundleItems;
|
|
|
+
|
|
|
+ @Data
|
|
|
+ public static class BundleItemVO {
|
|
|
+ private Long childProductId;
|
|
|
+ private String childProductName;
|
|
|
+ private String coverImage;
|
|
|
+ private Long childSkuId;
|
|
|
+ private String specs; // SKU 规格描述(无 SKU 时为空)
|
|
|
+ private Integer quantity;
|
|
|
+ }
|
|
|
+
|
|
|
private Date createdAt;
|
|
|
private Date updatedAt;
|
|
|
|