| | |
| | | package com.example.jz.modle.entity; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | import com.baomidou.mybatisplus.extension.activerecord.Model; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * 公告表(Announcement)表实体类 |
| | | * 公告表(Announcement)实体类 |
| | | * |
| | | * @author makejava |
| | | * @since 2022-07-11 16:35:52 |
| | | * @since 2022-07-12 16:50:56 |
| | | */ |
| | | @SuppressWarnings("serial") |
| | | public class Announcement extends Model<Announcement> { |
| | | //公告id |
| | | private Integer announcementId; |
| | | //公告内容 |
| | | public class Announcement implements Serializable { |
| | | private static final long serialVersionUID = -64538879138052915L; |
| | | /** |
| | | * 公告内容 |
| | | */ |
| | | private String text; |
| | | //群id |
| | | /** |
| | | * 群id |
| | | */ |
| | | private Integer groupId; |
| | | //创建时间 |
| | | private Date createTime; |
| | | /** |
| | | * 公告id |
| | | */ |
| | | private Integer id; |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | private Date ctime; |
| | | |
| | | public Integer getAnnouncementId() { |
| | | return announcementId; |
| | | } |
| | | |
| | | public void setAnnouncementId(Integer announcementId) { |
| | | this.announcementId = announcementId; |
| | | } |
| | | |
| | | public String getText() { |
| | | return text; |
| | |
| | | this.groupId = groupId; |
| | | } |
| | | |
| | | public Date getCreateTime() { |
| | | return createTime; |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setCreateTime(Date createTime) { |
| | | this.createTime = createTime; |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | /** |
| | | * 获取主键值 |
| | | * |
| | | * @return 主键值 |
| | | */ |
| | | @Override |
| | | protected Serializable pkVal() { |
| | | return this.announcementId; |
| | | public Date getCtime() { |
| | | return ctime; |
| | | } |
| | | |
| | | public void setCtime(Date ctime) { |
| | | this.ctime = ctime; |
| | | } |
| | | |
| | | } |
| | | |