From ca8b33cca81de0b367afd284d479ecf9f0a6960f Mon Sep 17 00:00:00 2001
From: phpcjl <phpcjl@gmail.com>
Date: 星期一, 16 十二月 2024 14:39:40 +0800
Subject: [PATCH] 1

---
 ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/CouponInfo.java |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/CouponInfo.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/CouponInfo.java
index c6ccb84..833e8a8 100644
--- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/CouponInfo.java
+++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/CouponInfo.java
@@ -86,12 +86,12 @@
     @ApiModelProperty(value = "有效期开始时间")
     @TableField("period_start_time")
     @JsonFormat(pattern = "yyyy-MM-dd")
-    private LocalDateTime periodStartTime;
+    private LocalDate periodStartTime;
 
     @ApiModelProperty(value = "有效期结束时间")
     @TableField("period_end_time")
     @JsonFormat(pattern = "yyyy-MM-dd")
-    private LocalDateTime periodEndTime;
+    private LocalDate periodEndTime;
 
     @ApiModelProperty(value = "领取后x天有效")
     @TableField("period_days")
@@ -141,4 +141,8 @@
     @ApiModelProperty(value = "其他商品名称")
     @TableField(exist = false)
     private List<String> goodsNameList;
+
+    public String getIdStr(){
+        return String.valueOf(id);
+    }
 }

--
Gitblit v1.7.1