| | |
| | | package com.mzl.flower.dto.request.coupon; |
| | | |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.mzl.flower.base.annotation.DictTrans; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import javax.validation.constraints.NotEmpty; |
| | | import javax.validation.constraints.NotNull; |
| | | import java.math.BigDecimal; |
| | | import java.time.LocalDateTime; |
| | | |
| | | @Data |
| | | public class CreateCouponTemplateVipDTO { |
| | |
| | | @NotEmpty(message = "会员等级不能为空") |
| | | private String vipGrade; |
| | | |
| | | /** |
| | | * 领取后有效类型(COUPON_usage_time_type)天、小时、分钟 |
| | | */ |
| | | @ApiModelProperty(value = "领取后有效类型(COUPON_USAGE_TIME_TYPE)") |
| | | @DictTrans(target = "usageTimeTypeName",codeType = "COUPON_USAGE_TIME_TYPE") |
| | | private String usageTimeType; |
| | | |
| | | /** |
| | | * 领取后有效时间整数,比如90(天,小时,分钟) |
| | | */ |
| | | @ApiModelProperty(value = "领取后有效时间整数") |
| | | private Integer usageTimeNum; |
| | | |
| | | @ApiModelProperty(value = "领取后有效类型名称") |
| | | private String usageTimeTypeName; |
| | | |
| | | } |