From b2b82c1308fd2cf71e118ab8df8258f8160f010a Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期四, 29 八月 2024 15:52:17 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master-v2' into master-v2

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

diff --git a/src/main/java/com/mzl/flower/dto/response/coupon/CouponRecordResultVO.java b/src/main/java/com/mzl/flower/dto/response/coupon/CouponRecordResultVO.java
new file mode 100644
index 0000000..6584d80
--- /dev/null
+++ b/src/main/java/com/mzl/flower/dto/response/coupon/CouponRecordResultVO.java
@@ -0,0 +1,129 @@
+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 com.mzl.flower.entity.coupon.CouponTemplateDO;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import java.math.BigDecimal;
+import java.time.LocalDateTime;
+
+@Data
+public class CouponRecordResultVO extends AbstractTransDTO {
+
+    @ApiModelProperty(value = "ID ")
+    private String id;
+
+
+
+    @ApiModelProperty(value = "领取用户类型(COUPON_GET_USER_TYPE)")
+    @DictTrans(target = "getUserTypeName",codeType = "COUPON_GET_USER_TYPE")
+    private String getUserType;
+
+    /**
+     * 领取用户类型(COUPON_GET_USER_TYPE)全部用户,指定用户
+     */
+    @ApiModelProperty(value = "领取用户类型")
+    private String getUserTypeName;
+
+
+
+    /**
+     * 商户名称
+     */
+    @ApiModelProperty(value = "店铺名称")
+    private String customerName;
+
+    /**
+     * 电话
+     */
+    @ApiModelProperty(value = "联系方式")
+    private String tel;
+
+    /**
+     * 优惠券名称
+     */
+    @ApiModelProperty(value = "优惠券名称")
+    private String couponName;
+
+
+    @ApiModelProperty(value = "优惠券类型(COUPON_TYPE) ")
+    @DictTrans(target = "couponDiscountTypeName",codeType = "COUPON_TYPE")
+    private String couponDiscountType;
+
+
+    @ApiModelProperty(value = "优惠券类型 ")
+    private String couponDiscountTypeName;
+
+
+    @ApiModelProperty(value = "状态(COUPON_RECORD_STATUS)")
+    @DictTrans(target = "statusName",codeType = "COUPON_USED_STATUS")
+    private String status;
+    /**
+     * 状态名称
+     */
+    @ApiModelProperty(value = "状态名称")
+    private String statusName;
+
+    /**
+     * 领取结束时间
+     */
+    @ApiModelProperty(value = "领取时间")
+    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss" ,timezone="GMT+8")
+    @DateTimeFormat
+    private LocalDateTime createTime;
+
+    /**
+     * 有效开始时间
+     */
+    @ApiModelProperty(value = "有效开始时间")
+    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss" ,timezone="GMT+8")
+    @DateTimeFormat
+    private LocalDateTime effectiveStart;
+
+    /**
+     * 有效结束时间
+     */
+    @ApiModelProperty(value = "有效结束时间")
+    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss" ,timezone="GMT+8")
+    @DateTimeFormat
+    private LocalDateTime effectiveEnd;
+
+
+    /**
+     * 优惠券面值
+     */
+    @ApiModelProperty(value = "优惠券面值")
+    private BigDecimal couponDiscountValue;
+
+    /**
+     * 使用条件(满多少钱)
+     */
+    @ApiModelProperty(value = "使用条件")
+    private BigDecimal minOrderAmount;
+
+    /**
+     * 领取渠道(COUPON_GET_TYPE)首页弹窗、活动入口、领券中心
+     */
+    @ApiModelProperty(value = "领取渠道(COUPON_GET_TYPE)")
+    @DictTrans(target = "getTypeName",codeType = "COUPON_GET_TYPE")
+    private String getType;
+
+    /**
+     * 领取渠道(COUPON_GET_TYPE)首页弹窗、活动入口、领券中心
+     */
+    @ApiModelProperty(value = "领取渠道")
+    private String getTypeName;
+
+
+    /**
+     * 订单号
+     */
+    @ApiModelProperty(value = "订单号")
+    private String orderNo;
+
+
+}

--
Gitblit v1.9.3