优惠活动查询/分页接口补充属性

This commit is contained in:
gaoqr
2025-11-05 16:02:05 +08:00
parent 0ecb7ada52
commit a2c9804151
@@ -29,6 +29,15 @@ public class ProductPromotionRespVO {
@Schema(description = "赠送时长", example = "1") @Schema(description = "赠送时长", example = "1")
private Integer giftDuration; private Integer giftDuration;
@Schema(description = "赠送时长单位,0:年、1:月、2:日", example = "1")
private Integer giftDurationUnit;
@Schema(description = "关联产品编号")
private Long productId;
@Schema(description = "关联产品名称")
private String productName;
@Schema(description = "开始时间") @Schema(description = "开始时间")
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
private LocalDateTime startTime; private LocalDateTime startTime;