promotion:实现部分优惠劵模板的前端列表

This commit is contained in:
YunaiV
2022-11-01 22:31:07 +08:00
parent 3c10058dbd
commit dc51a93533
7 changed files with 103 additions and 102 deletions

View File

@@ -24,7 +24,7 @@ public class CouponTemplateRespVO extends CouponTemplateBaseVO {
private Integer status;
@ApiModelProperty(value = "领取优惠券的数量", required = true, example = "1024")
private Integer takeNum;
private Integer takeCount;
@ApiModelProperty(value = "使用优惠券的次数", required = true, example = "2048")
private Integer useCount;

View File

@@ -105,6 +105,12 @@ public class CouponTemplateDO extends BaseDO {
* 当 {@link #validityType} 为 {@link CouponTemplateValidityTypeEnum#DATE}
*/
private Date validEndTime;
/**
* 领取日期 - 开始天数
*
* 当 {@link #validityType} 为 {@link CouponTemplateValidityTypeEnum#TERM}
*/
private Integer fixedStartTerm;
/**
* 领取日期 - 结束天数
*