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

This commit is contained in:
gaoqr
2025-11-05 16:02:05 +08:00
parent 0ecb7ada52
commit a2c9804151
@@ -20,15 +20,24 @@ public class ProductPromotionRespVO {
@Schema(description = "活动名称", example = "赵六") @Schema(description = "活动名称", example = "赵六")
private String activityName; private String activityName;
@Schema(description = "购买时长",example = "1") @Schema(description = "购买时长", example = "1")
private Integer purchaseDuration; private Integer purchaseDuration;
@Schema(description = "购买时长单位,0:年、1:月、2:日",example = "1") @Schema(description = "购买时长单位,0:年、1:月、2:日", example = "1")
private Integer purchaseDurationUnit; private Integer purchaseDurationUnit;
@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;