From 5b04d19edea32888efa9ee4881395a21da348e3f Mon Sep 17 00:00:00 2001
From: 安瑾然 <107107765@qq.com>
Date: 星期四, 14 七月 2022 14:21:44 +0800
Subject: [PATCH] commit

---
 src/main/java/com/example/jz/modle/entity/Group.java |   68 ++++++++-------------------------
 1 files changed, 17 insertions(+), 51 deletions(-)

diff --git a/src/main/java/com/example/jz/modle/entity/Group.java b/src/main/java/com/example/jz/modle/entity/Group.java
index 1d7b931..6628fac 100644
--- a/src/main/java/com/example/jz/modle/entity/Group.java
+++ b/src/main/java/com/example/jz/modle/entity/Group.java
@@ -1,6 +1,12 @@
 package com.example.jz.modle.entity;
 
+import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.NoArgsConstructor;
+import lombok.experimental.Accessors;
 
 import java.io.Serializable;
 import java.util.Date;
@@ -9,10 +15,15 @@
  * 缇よ〃
 (Group)瀹炰綋绫�
  *
- * @author makejava
+ * @author 瀹夌懢鐒�
  * @since 2022-07-12 16:50:59
  */
 @TableName("qyjz.group")
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = false)
 public class Group implements Serializable {
     private static final long serialVersionUID = 208063400600909704L;
     /**
@@ -30,6 +41,7 @@
     /**
      * 缇� id
      */
+    @TableId
     private Integer id;
     /**
      * 鍒涘缓浜篿d
@@ -39,55 +51,9 @@
      * 缇ゅ垱寤烘椂闂�
      */
     private Date ctime;
-
-
-    public String getGroupName() {
-        return groupName;
-    }
-
-    public void setGroupName(String groupName) {
-        this.groupName = groupName;
-    }
-
-    public Date getUpdateTime() {
-        return updateTime;
-    }
-
-    public void setUpdateTime(Date updateTime) {
-        this.updateTime = updateTime;
-    }
-
-    public Integer getGroupAnnouncementId() {
-        return groupAnnouncementId;
-    }
-
-    public void setGroupAnnouncementId(Integer groupAnnouncementId) {
-        this.groupAnnouncementId = groupAnnouncementId;
-    }
-
-    public Integer getId() {
-        return id;
-    }
-
-    public void setId(Integer id) {
-        this.id = id;
-    }
-
-    public Integer getUserId() {
-        return userId;
-    }
-
-    public void setUserId(Integer userId) {
-        this.userId = userId;
-    }
-
-    public Date getCtime() {
-        return ctime;
-    }
-
-    public void setCtime(Date ctime) {
-        this.ctime = ctime;
-    }
-
+    /**
+     * 妗堜欢id
+     */
+    private Integer causeId;
 }
 

--
Gitblit v1.8.0