From 15bda18aa937df5fde776f72dc8b0a7caa129588 Mon Sep 17 00:00:00 2001 From: zhangluping <1801075613@qq.com> Date: Sat, 28 Dec 2024 17:48:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/example/demo/domain/vo/DetailExport.java | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/main/java/com/example/demo/domain/vo/DetailExport.java diff --git a/src/main/java/com/example/demo/domain/vo/DetailExport.java b/src/main/java/com/example/demo/domain/vo/DetailExport.java new file mode 100644 index 0000000..031af79 --- /dev/null +++ b/src/main/java/com/example/demo/domain/vo/DetailExport.java @@ -0,0 +1,22 @@ +package com.example.demo.domain.vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import lombok.Data; +import org.springframework.format.annotation.DateTimeFormat; + +import java.util.Date; + +@Data +public class DetailExport { + + private String jwcode; + private String token; + private String area; + @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") + @DateTimeFormat(pattern = "yyyy-MM-dd") + private Date startDate; + @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") + @DateTimeFormat(pattern = "yyyy-MM-dd") + private Date endDate; + +}