From 405d0d6a560e9a4ce6dbf5457a677a010d0cfeb1 Mon Sep 17 00:00:00 2001 From: 安瑾然 <107107765@qq.com> Date: 星期二, 12 七月 2022 16:52:07 +0800 Subject: [PATCH] commit --- src/main/java/com/example/jz/modle/entity/Group.java | 89 +++++++++++++++++++++++++------------------- 1 files changed, 50 insertions(+), 39 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 009564e..8bf288e 100644 --- a/src/main/java/com/example/jz/modle/entity/Group.java +++ b/src/main/java/com/example/jz/modle/entity/Group.java @@ -1,39 +1,42 @@ package com.example.jz.modle.entity; -import java.util.Date; - -import com.baomidou.mybatisplus.extension.activerecord.Model; - import java.io.Serializable; +import java.util.Date; /** * 缇よ〃 - * (Group)琛ㄥ疄浣撶被 +(Group)瀹炰綋绫� * * @author makejava - * @since 2022-07-11 16:35:57 + * @since 2022-07-12 16:50:59 */ -@SuppressWarnings("serial") -public class Group extends Model<Group> { - //缇� id - private Integer groupId; - //缇ゅ悕绉� +public class Group implements Serializable { + private static final long serialVersionUID = 208063400600909704L; + /** + * 缇ゅ悕绉� + */ private String groupName; - //缇ゅ垱寤烘椂闂� - private Date createTime; - //缇や慨鏀规椂闂� + /** + * 缇や慨鏀规椂闂� + */ private Date updateTime; - //缇ゅ叕鍛奿d + /** + * 缇ゅ叕鍛奿d + */ private Integer groupAnnouncementId; + /** + * 缇� id + */ + private Integer id; + /** + * 鍒涘缓浜篿d + */ + private Integer userId; + /** + * 缇ゅ垱寤烘椂闂� + */ + private Date ctime; - - public Integer getGroupId() { - return groupId; - } - - public void setGroupId(Integer groupId) { - this.groupId = groupId; - } public String getGroupName() { return groupName; @@ -41,14 +44,6 @@ public void setGroupName(String groupName) { this.groupName = groupName; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; } public Date getUpdateTime() { @@ -67,13 +62,29 @@ this.groupAnnouncementId = groupAnnouncementId; } - /** - * 鑾峰彇涓婚敭鍊� - * - * @return 涓婚敭鍊� - */ - @Override - protected Serializable pkVal() { - return this.groupId; + 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; + } + } + -- Gitblit v1.8.0