优惠劵模板相关逻辑的迁移

This commit is contained in:
YunaiV
2020-08-22 17:58:52 +08:00
parent 6fd899bca2
commit 60b0043a78
9 changed files with 26 additions and 178 deletions

View File

@@ -2,6 +2,9 @@ package cn.iocoder.mall.promotion.api.enums.coupon.template;
import java.util.Arrays;
/**
* 优惠劵(码)模板的类型的枚举
*/
public enum CouponTemplateTypeEnum {
CARD(1, "优惠劵"),

View File

@@ -100,7 +100,7 @@ public class CouponCardTemplateCreateReqDTO implements Serializable {
* 例如0-当天1-次天
*/
@Min(value = 0L, message = "领取日期开始时间最小为 {value}")
private Integer fixedBeginTerm;
private Integer fixedStartTerm;
/**
* 领取日期-结束天数
*/

View File

@@ -99,7 +99,7 @@ public class CouponCardTemplateUpdateReqDTO implements Serializable {
// * 例如0-当天1-次天
// */
// @Min(value = 0L, message = "领取日期开始时间最小为 {value}")
// private Integer fixedBeginTerm;
// private Integer fixedStartTerm;
// /**
// * 领取日期-结束天数
// */