From 24f7f046f8854d63839ad52d0cff34ea45a0f449 Mon Sep 17 00:00:00 2001
From: gongzuming <gongzuming>
Date: 星期二, 12 十一月 2024 13:10:17 +0800
Subject: [PATCH] 优化

---
 src/main/java/com/mzl/flower/dto/request/comment/QueryFlowerCommentDTO.java |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/mzl/flower/dto/request/comment/QueryFlowerCommentDTO.java b/src/main/java/com/mzl/flower/dto/request/comment/QueryFlowerCommentDTO.java
index 39a8f47..a236bf4 100644
--- a/src/main/java/com/mzl/flower/dto/request/comment/QueryFlowerCommentDTO.java
+++ b/src/main/java/com/mzl/flower/dto/request/comment/QueryFlowerCommentDTO.java
@@ -1,10 +1,13 @@
 package com.mzl.flower.dto.request.comment;
 
+import com.fasterxml.jackson.annotation.JsonFormat;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
+import org.springframework.format.annotation.DateTimeFormat;
 
 import javax.validation.constraints.NotEmpty;
 import javax.validation.constraints.NotNull;
+import java.time.LocalDate;
 
 @Data
 public class QueryFlowerCommentDTO {
@@ -42,4 +45,27 @@
     @ApiModelProperty(value = "商品id")
     private Long flowerId;
 
+    @ApiModelProperty(value = "隐藏标识 0 显示 1隐藏")
+    private Integer showFlag;
+
+    @ApiModelProperty(value = "订单编号")
+    private String orderNo;
+
+    @ApiModelProperty(value = "商品名称")
+    private String flowerName;
+
+    @ApiModelProperty(value = "评价等级")
+    private Integer commentGrade;
+
+    @ApiModelProperty(value = "评价日期-开始日期")
+    @JsonFormat(pattern="yyyy-MM-dd" ,timezone="GMT+8")
+    @DateTimeFormat(pattern="yyyy-MM-dd")
+    private LocalDate commentStartDate;
+
+    @ApiModelProperty(value = "评价日期-结束日期")
+    @JsonFormat(pattern="yyyy-MM-dd" ,timezone="GMT+8")
+    @DateTimeFormat(pattern="yyyy-MM-dd")
+    private LocalDate commentEndDate;
+
+
 }

--
Gitblit v1.9.3