From a99684a9a4ecbdd71d1c93ef824f7741ff52c5d9 Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期六, 16 九月 2023 11:06:13 +0800
Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/PlayPai

---
 cloud-server-other/src/main/java/com/dsh/other/entity/Site.java |   22 ++++++++++++++++++++--
 1 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/cloud-server-other/src/main/java/com/dsh/other/entity/Site.java b/cloud-server-other/src/main/java/com/dsh/other/entity/Site.java
index f6810d7..c85c10f 100644
--- a/cloud-server-other/src/main/java/com/dsh/other/entity/Site.java
+++ b/cloud-server-other/src/main/java/com/dsh/other/entity/Site.java
@@ -4,6 +4,7 @@
 import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
+import com.fasterxml.jackson.annotation.JsonFormat;
 import lombok.Data;
 
 import java.util.Date;
@@ -64,12 +65,12 @@
      * 预约开始时间
      */
     @TableField("appointmentStartTime")
-    private Date appointmentStartTime;
+    private String appointmentStartTime;
     /**
      * 预约结束时间
      */
     @TableField("appointmentEndTime")
-    private Date appointmentEndTime;
+    private String appointmentEndTime;
     /**
      * 现金价格(x/半小时)
      */
@@ -84,6 +85,7 @@
      * 场地责任险有效期
      */
     @TableField("insuranceEndTime")
+    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
     private Date insuranceEndTime;
     /**
      * 场地责任险图片
@@ -100,5 +102,21 @@
      */
     @TableField("state")
     private Integer state;
+    /**
+     * 添加时间
+     */
+    @TableField("insertTime")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
+    private Date insertTime;
+    @TableField("imgs")
+    private String imgs;
+    @TableField("introduce")
+    private String introduce;
+    @TableField("是否半场 1是 2否")
+    private Integer ishalf;
+    @TableField("场地名称 多个逗号分割")
+    private String nextName;
+    @TableField("半场名称 多个逗号分割")
+    private String halfName;
 
 }

--
Gitblit v1.7.1