From e5ebd02de9615e2a22694dba7e4207526054b2f8 Mon Sep 17 00:00:00 2001
From: whywhyo <1511349576@qq.com>
Date: 星期二, 11 七月 2023 23:21:44 +0800
Subject: [PATCH] 123456

---
 zhang-content/src/main/java/com/ruoyi/domain/ZSelfNote.java |   95 +++++++++++++++++------------------------------
 1 files changed, 34 insertions(+), 61 deletions(-)

diff --git a/zhang-content/src/main/java/com/ruoyi/domain/ZSelfNote.java b/zhang-content/src/main/java/com/ruoyi/domain/ZSelfNote.java
index a072ff2..ecef979 100644
--- a/zhang-content/src/main/java/com/ruoyi/domain/ZSelfNote.java
+++ b/zhang-content/src/main/java/com/ruoyi/domain/ZSelfNote.java
@@ -1,10 +1,16 @@
 package com.ruoyi.domain;
 
 import com.baomidou.mybatisplus.annotation.IdType;
+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 com.ruoyi.common.annotation.Excel;
+import lombok.Data;
+
 import java.io.Serializable;
 import java.time.LocalDateTime;
+import java.util.Date;
 
 /**
  * <p>
@@ -15,27 +21,23 @@
  * @since 2023-03-14
  */
 @TableName("z_self_note")
+@Data
 public class ZSelfNote implements Serializable {
 
     private static final long serialVersionUID = 1L;
 
     @TableId(value = "id", type = IdType.AUTO)
-    private Integer id;
+    private Long id;
 
     /**
      * 鐢ㄦ埛id
      */
-    private Integer userId;
+    private Long uid;
 
     /**
      * 鍦扮偣
      */
     private String address;
-
-    /**
-     * 鏃堕棿
-     */
-    private LocalDateTime noteDate;
 
     /**
      * 鏍囬
@@ -47,64 +49,35 @@
      */
     private String remark;
 
+    /**
+     * 浜虹墿
+     */
+    private String people;
 
-    public Integer getId() {
-        return id;
-    }
+    /**
+     * 鍒涘缓鏃堕棿
+     */
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    private Date createTime;
 
-    public void setId(Integer id) {
-        this.id = id;
-    }
+    /**
+     * 鍙戠敓鏃堕棿
+     */
+    @Excel(name = "鍙戠敓鏃堕棿",dateFormat = "yyyy-MM-dd")
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    private Date happenTime;
 
-    public Integer getUserId() {
-        return userId;
-    }
+    /**
+     * 鐢靛瓙鏂囦欢璺緞
+     */
+    private String url;
 
-    public void setUserId(Integer userId) {
-        this.userId = userId;
-    }
+    @TableField(exist = false)
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    private Date happenStartTime;
 
-    public String getAddress() {
-        return address;
-    }
+    @TableField(exist = false)
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    private Date happenEndTime;
 
-    public void setAddress(String address) {
-        this.address = address;
-    }
-
-    public LocalDateTime getNoteDate() {
-        return noteDate;
-    }
-
-    public void setNoteDate(LocalDateTime noteDate) {
-        this.noteDate = noteDate;
-    }
-
-    public String getTitle() {
-        return title;
-    }
-
-    public void setTitle(String title) {
-        this.title = title;
-    }
-
-    public String getRemark() {
-        return remark;
-    }
-
-    public void setRemark(String remark) {
-        this.remark = remark;
-    }
-
-    @Override
-    public String toString() {
-        return "ZSelfNote{" +
-        "id=" + id +
-        ", userId=" + userId +
-        ", address=" + address +
-        ", noteDate=" + noteDate +
-        ", title=" + title +
-        ", remark=" + remark +
-        "}";
-    }
 }

--
Gitblit v1.9.1