|  |  | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import com.mzl.flower.base.AbstractTransDTO; | 
 |  |  | import com.mzl.flower.base.annotation.DictTrans; | 
 |  |  | import com.mzl.flower.entity.coupon.CouponTemplateDO; | 
 |  |  | import com.mzl.flower.entity.menber.Member; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
 |  |  | 
 |  |  |     @ApiModelProperty(value = "已经领取数") | 
 |  |  |     private Integer getNum; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 领取后有效类型(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; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "会员等级") | 
 |  |  |     private Integer memberId; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "会员等级名称") | 
 |  |  |     private String memberName; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "会员等级对象") | 
 |  |  |     private Member member; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "使用时间类型(COUPON_USAGE_TYPE)") | 
 |  |  |     @DictTrans(target = "usageTypeName",codeType = "COUPON_USAGE_TYPE") | 
 |  |  |     private String usageType; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "使用时间类型") | 
 |  |  |     private String usageTypeName; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "领取渠道(COUPON_GET_TYPE)") | 
 |  |  |     @DictTrans(target = "getTypeName",codeType = "COUPON_GET_TYPE") | 
 |  |  |     private String getType; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 领取渠道(COUPON_GET_TYPE)首页弹窗、活动入口、领券中心 | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value = "领取渠道(COUPON_GET_TYPE)") | 
 |  |  |     private String getTypeName; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 每人限领 | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value = "每人限领") | 
 |  |  |     private Integer getLimit; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 发放数量 | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value = "发放数量") | 
 |  |  |     private Integer couponAmount; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "发放时间") | 
 |  |  |     @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss" ,timezone="GMT+8") | 
 |  |  |     @DateTimeFormat | 
 |  |  |     private LocalDateTime createTime; | 
 |  |  |  | 
 |  |  |  | 
 |  |  | } |