优惠劵模板相关逻辑的迁移
This commit is contained in:
@@ -2,6 +2,9 @@ package cn.iocoder.mall.promotion.api.enums.coupon.template;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* 优惠劵(码)模板的类型的枚举
|
||||
*/
|
||||
public enum CouponTemplateTypeEnum {
|
||||
|
||||
CARD(1, "优惠劵"),
|
||||
|
||||
@@ -100,7 +100,7 @@ public class CouponCardTemplateCreateReqDTO implements Serializable {
|
||||
* 例如,0-当天;1-次天
|
||||
*/
|
||||
@Min(value = 0L, message = "领取日期开始时间最小为 {value}")
|
||||
private Integer fixedBeginTerm;
|
||||
private Integer fixedStartTerm;
|
||||
/**
|
||||
* 领取日期-结束天数
|
||||
*/
|
||||
|
||||
@@ -99,7 +99,7 @@ public class CouponCardTemplateUpdateReqDTO implements Serializable {
|
||||
// * 例如,0-当天;1-次天
|
||||
// */
|
||||
// @Min(value = 0L, message = "领取日期开始时间最小为 {value}")
|
||||
// private Integer fixedBeginTerm;
|
||||
// private Integer fixedStartTerm;
|
||||
// /**
|
||||
// * 领取日期-结束天数
|
||||
// */
|
||||
|
||||
Reference in New Issue
Block a user