From 16d10cef208de048f8b325facd143c54b7be9963 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期五, 31 五月 2024 11:53:39 +0800
Subject: [PATCH] 重构:lombok、vo、mybatisplus、beanutils、包名

---
 src/main/java/com/ycl/jxkg/domain/Message.java |   75 +------------------------------------
 1 files changed, 2 insertions(+), 73 deletions(-)

diff --git a/src/main/java/com/ycl/jxkg/domain/Message.java b/src/main/java/com/ycl/jxkg/domain/Message.java
index ebe7ae7..0539d78 100644
--- a/src/main/java/com/ycl/jxkg/domain/Message.java
+++ b/src/main/java/com/ycl/jxkg/domain/Message.java
@@ -1,10 +1,11 @@
 package com.ycl.jxkg.domain;
 
-import com.fasterxml.jackson.annotation.JsonFormat;
+import lombok.Data;
 
 import java.io.Serializable;
 import java.util.Date;
 
+@Data
 public class Message implements Serializable {
 
     private static final long serialVersionUID = -3510265139403747341L;
@@ -48,76 +49,4 @@
      */
     private Integer readCount;
 
-    public Integer getId() {
-        return id;
-    }
-
-    public void setId(Integer id) {
-        this.id = id;
-    }
-
-    public String getTitle() {
-        return title;
-    }
-
-    public void setTitle(String title) {
-        this.title = title == null ? null : title.trim();
-    }
-
-    public String getContent() {
-        return content;
-    }
-
-    public void setContent(String content) {
-        this.content = content == null ? null : content.trim();
-    }
-
-    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
-    public Date getCreateTime() {
-        return createTime;
-    }
-
-    public void setCreateTime(Date createTime) {
-        this.createTime = createTime;
-    }
-
-    public Integer getSendUserId() {
-        return sendUserId;
-    }
-
-    public void setSendUserId(Integer sendUserId) {
-        this.sendUserId = sendUserId;
-    }
-
-    public String getSendUserName() {
-        return sendUserName;
-    }
-
-    public void setSendUserName(String sendUserName) {
-        this.sendUserName = sendUserName == null ? null : sendUserName.trim();
-    }
-
-    public String getSendRealName() {
-        return sendRealName;
-    }
-
-    public void setSendRealName(String sendRealName) {
-        this.sendRealName = sendRealName == null ? null : sendRealName.trim();
-    }
-
-    public Integer getReceiveUserCount() {
-        return receiveUserCount;
-    }
-
-    public void setReceiveUserCount(Integer receiveUserCount) {
-        this.receiveUserCount = receiveUserCount;
-    }
-
-    public Integer getReadCount() {
-        return readCount;
-    }
-
-    public void setReadCount(Integer readCount) {
-        this.readCount = readCount;
-    }
 }

--
Gitblit v1.8.0