From a768dc3daa04d35fedfbe75c0a59b9b2545b85c4 Mon Sep 17 00:00:00 2001
From: gongzuming <gongzuming>
Date: 星期四, 19 九月 2024 16:59:33 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master-v2'

---
 src/main/java/com/mzl/flower/dto/response/coupon/CouponTemplateActivyVO.java |  186 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 186 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/mzl/flower/dto/response/coupon/CouponTemplateActivyVO.java b/src/main/java/com/mzl/flower/dto/response/coupon/CouponTemplateActivyVO.java
new file mode 100644
index 0000000..568c196
--- /dev/null
+++ b/src/main/java/com/mzl/flower/dto/response/coupon/CouponTemplateActivyVO.java
@@ -0,0 +1,186 @@
+package com.mzl.flower.dto.response.coupon;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.mzl.flower.base.AbstractTransDTO;
+import com.mzl.flower.base.annotation.DictTrans;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import java.math.BigDecimal;
+import java.time.LocalDateTime;
+
+@Data
+@ApiModel("活动优惠券")
+public class CouponTemplateActivyVO extends AbstractTransDTO {
+
+    @ApiModelProperty(value = "ID")
+    private String id;
+
+    /**
+     * 优惠券名称
+     */
+    @ApiModelProperty(value = "优惠券名称")
+    private String couponName;
+
+    /**
+     * 优惠券描述(使用规则)
+     */
+    @ApiModelProperty(value = "优惠券描述(使用规则)")
+    private String couponDescription;
+
+    /**
+     * 发放数量
+     */
+    @ApiModelProperty(value = "总数")
+    private Integer couponAmount;
+
+    /**
+     * 优惠券类型(COUPON_TYPE)满减和无门槛
+     */
+    @ApiModelProperty(value = "优惠券类型(COUPON_TYPE) ")
+    @DictTrans(target = "couponDiscountTypeName",codeType = "COUPON_TYPE")
+    private String couponDiscountType;
+
+    @ApiModelProperty(value = "领取用户类型")
+    @DictTrans(target = "getUserTypeName",codeType = "COUPON_GET_USER_TYPE")
+    private String getUserType;
+
+    /**
+     * 优惠券面值  折扣值(百分比或金额)
+     */
+    @ApiModelProperty(value = "优惠券面值")
+    private BigDecimal couponDiscountValue;
+
+    /**
+     * 使用条件,最小订单金额(可选)=》使用条件
+     */
+    @ApiModelProperty(value = "使用条件")
+    private BigDecimal minOrderAmount;
+
+
+    /**
+     * 领取开始时间
+     */
+    @ApiModelProperty(value = "领取开始时间")
+    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss" ,timezone="GMT+8")
+    @DateTimeFormat
+    private LocalDateTime getStartDate;
+
+    /**
+     * 领取结束时间
+     */
+    @ApiModelProperty(value = "领取结束时间")
+    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss" ,timezone="GMT+8")
+    @DateTimeFormat
+    private LocalDateTime getEndDate;
+
+
+    /**
+     * 优惠券状态(COUPON_STATUS)
+     */
+    @ApiModelProperty(value = "优惠券状态(COUPON_STATUS)")
+    @DictTrans(target = "statusName",codeType = "COUPON_STATUS")
+    private String status;
+
+
+
+    @ApiModelProperty(value = "使用开始时间")
+    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss" ,timezone="GMT+8")
+    @DateTimeFormat
+    private LocalDateTime usageStartDate;
+
+    /**
+     * 使用结束时间
+     */
+    @ApiModelProperty(value = "使用结束时间")
+    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss" ,timezone="GMT+8")
+    @DateTimeFormat
+    private LocalDateTime usageEndDate;
+
+
+    /**
+     * 优惠券类型名称 COUPON_TYPE)满减和无门槛
+     */
+    @ApiModelProperty(value = "优惠券类型名称 ")
+    private String couponDiscountTypeName;
+
+    /**
+     * 状态名称
+     */
+    @ApiModelProperty(value = "状态名称")
+    private String statusName;
+
+    @ApiModelProperty(value = "操作人")
+    private String createByName;
+
+    @ApiModelProperty(value = "领取用户类型")
+    private String getUserTypeName;
+
+    /**
+     * 已经领取数
+     */
+    @ApiModelProperty(value = "已经领取数")
+    private Integer getNum;
+
+    /**
+     * 未领取数
+     */
+    @ApiModelProperty(value = "未领取数")
+    private Integer unGetNum;
+
+
+    /**
+     * 领取后有效类型(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 = "使用时间类型(COUPON_USAGE_TYPE)")
+    @DictTrans(target = "usageTypeName",codeType = "COUPON_USAGE_TYPE")
+    private String usageType;
+
+    @ApiModelProperty(value = "使用时间类型")
+    private String usageTypeName;
+
+    @ApiModelProperty(value = "领取后有效类型名称")
+    private String usageTimeTypeName;
+
+    @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 = "发放时间")
+    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss" ,timezone="GMT+8")
+    @DateTimeFormat
+    private LocalDateTime createTime;
+
+    /**
+     * 优惠券图片
+     */
+    @ApiModelProperty(value = "优惠券图片")
+    private String imageUrl;
+
+
+}

--
Gitblit v1.9.3