From 0d5ce03a7e150d034fadc7f864ee659cf4c6150f Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期五, 08 八月 2025 17:23:13 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev
---
framework/src/main/java/cn/lili/modules/order/order/entity/dto/CouponExportDetailDTO.java | 77 ++++++++++++++++++++++++++++++++++++++
1 files changed, 77 insertions(+), 0 deletions(-)
diff --git a/framework/src/main/java/cn/lili/modules/order/order/entity/dto/CouponExportDetailDTO.java b/framework/src/main/java/cn/lili/modules/order/order/entity/dto/CouponExportDetailDTO.java
new file mode 100644
index 0000000..0e11133
--- /dev/null
+++ b/framework/src/main/java/cn/lili/modules/order/order/entity/dto/CouponExportDetailDTO.java
@@ -0,0 +1,77 @@
+package cn.lili.modules.order.order.entity.dto;
+
+
+import cn.lili.modules.promotion.entity.enums.MemberCouponStatusEnum;
+import cn.lili.modules.promotion.entity.enums.PromotionsScopeTypeEnum;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import org.springframework.data.elasticsearch.annotations.DateFormat;
+import org.springframework.data.elasticsearch.annotations.Field;
+import org.springframework.data.elasticsearch.annotations.FieldType;
+
+import java.util.Date;
+
+/**
+ * lmk-shop-java
+ *
+ * @author : zxl
+ * @date : 2025-08-07 17:42
+ **/
+@Data
+public class CouponExportDetailDTO {
+ @ApiModelProperty(value = "浼氬憳鍚嶇О")
+ private String memberName;
+
+ @ApiModelProperty(value = "浼樻儬鍒稿悕绉�")
+ private String couponName;
+
+ @ApiModelProperty(value = "鍟嗗鍚嶇О锛屽鏋滄槸骞冲彴锛岃繖涓�间负 platform")
+ private String storeName;
+
+
+ @ApiModelProperty(value = "闈㈤")
+ private Double price;
+
+ @ApiModelProperty(value = "鎶樻墸")
+ private Double discount;
+
+ @ApiModelProperty(value = "娑堣垂闂ㄦ")
+ private Double consumeThreshold;
+
+ /**
+ * @see cn.lili.modules.promotion.entity.enums.CouponGetEnum
+ */
+ @ApiModelProperty(value = "浼樻儬鍒哥被鍨嬶紝鍒嗕负鍏嶈垂棰嗗彇鍜屾椿鍔ㄨ禒閫�")
+ private String getType;
+
+ /**
+ * @see MemberCouponStatusEnum
+ */
+ @ApiModelProperty(value = "浼氬憳浼樻儬鍒哥姸鎬�")
+ private String memberCouponStatus;
+ /**
+ * POINT("鎵撴姌"), PRICE("鍑忓厤鐜伴噾");
+ *
+ * @see cn.lili.modules.promotion.entity.enums.CouponTypeEnum
+ */
+ @ApiModelProperty(value = "浼樻儬鍗风被鍨�")
+ private String couponType;
+
+ /**
+ * @see PromotionsScopeTypeEnum
+ */
+ @ApiModelProperty(value = "鍏宠仈鑼冨洿绫诲瀷")
+ private String scopeType;
+
+ @ApiModelProperty(value = "浣跨敤璧峰鏃堕棿")
+ @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
+ @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss || yyyy-MM-dd || yyyy/MM/dd HH:mm:ss|| yyyy/MM/dd ||epoch_millis")
+ private Date startTime;
+
+ @ApiModelProperty(value = "浣跨敤鎴鏃堕棿")
+ @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
+ @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss || yyyy-MM-dd || yyyy/MM/dd HH:mm:ss|| yyyy/MM/dd ||epoch_millis")
+ private Date endTime;
+
+}
--
Gitblit v1.8.0