提交 | 用户 | 时间
|
8286c6
|
1 |
package cn.stylefeng.guns.sys.modular.system.entity; |
懒 |
2 |
|
|
3 |
import com.baomidou.mybatisplus.annotation.*; |
|
4 |
|
|
5 |
import java.io.Serializable; |
|
6 |
import java.util.Date; |
|
7 |
|
|
8 |
/** |
|
9 |
* <p> |
|
10 |
* 通知表 |
|
11 |
* </p> |
|
12 |
* |
|
13 |
* @author stylefeng |
|
14 |
* @since 2019-04-01 |
|
15 |
*/ |
|
16 |
@TableName("sys_notice") |
|
17 |
public class Notice implements Serializable { |
|
18 |
|
|
19 |
private static final long serialVersionUID = 1L; |
|
20 |
|
|
21 |
/** |
|
22 |
* 主键 |
|
23 |
*/ |
|
24 |
@TableId(value = "notice_id", type = IdType.ID_WORKER) |
|
25 |
private Long noticeId; |
|
26 |
|
|
27 |
/** |
|
28 |
* 标题 |
|
29 |
*/ |
|
30 |
@TableField("title") |
|
31 |
private String title; |
|
32 |
|
|
33 |
/** |
|
34 |
* 内容 |
|
35 |
*/ |
|
36 |
@TableField("content") |
|
37 |
private String content; |
|
38 |
|
|
39 |
/** |
|
40 |
* 创建时间 |
|
41 |
*/ |
|
42 |
@TableField(value = "create_time", fill = FieldFill.INSERT) |
|
43 |
private Date createTime; |
|
44 |
|
|
45 |
/** |
|
46 |
* 创建人 |
|
47 |
*/ |
|
48 |
@TableField(value = "create_user", fill = FieldFill.INSERT) |
|
49 |
private Long createUser; |
|
50 |
|
|
51 |
/** |
|
52 |
* 修改时间 |
|
53 |
*/ |
|
54 |
@TableField(value = "update_time", fill = FieldFill.UPDATE) |
|
55 |
private Date updateTime; |
|
56 |
|
|
57 |
/** |
|
58 |
* 修改人 |
|
59 |
*/ |
|
60 |
@TableField(value = "update_user", fill = FieldFill.UPDATE) |
|
61 |
private Long updateUser; |
|
62 |
|
|
63 |
|
|
64 |
public Long getNoticeId() { |
|
65 |
return noticeId; |
|
66 |
} |
|
67 |
|
|
68 |
public void setNoticeId(Long noticeId) { |
|
69 |
this.noticeId = noticeId; |
|
70 |
} |
|
71 |
|
|
72 |
public String getTitle() { |
|
73 |
return title; |
|
74 |
} |
|
75 |
|
|
76 |
public void setTitle(String title) { |
|
77 |
this.title = title; |
|
78 |
} |
|
79 |
|
|
80 |
public String getContent() { |
|
81 |
return content; |
|
82 |
} |
|
83 |
|
|
84 |
public void setContent(String content) { |
|
85 |
this.content = content; |
|
86 |
} |
|
87 |
|
|
88 |
public Date getCreateTime() { |
|
89 |
return createTime; |
|
90 |
} |
|
91 |
|
|
92 |
public void setCreateTime(Date createTime) { |
|
93 |
this.createTime = createTime; |
|
94 |
} |
|
95 |
|
|
96 |
public Long getCreateUser() { |
|
97 |
return createUser; |
|
98 |
} |
|
99 |
|
|
100 |
public void setCreateUser(Long createUser) { |
|
101 |
this.createUser = createUser; |
|
102 |
} |
|
103 |
|
|
104 |
public Date getUpdateTime() { |
|
105 |
return updateTime; |
|
106 |
} |
|
107 |
|
|
108 |
public void setUpdateTime(Date updateTime) { |
|
109 |
this.updateTime = updateTime; |
|
110 |
} |
|
111 |
|
|
112 |
public Long getUpdateUser() { |
|
113 |
return updateUser; |
|
114 |
} |
|
115 |
|
|
116 |
public void setUpdateUser(Long updateUser) { |
|
117 |
this.updateUser = updateUser; |
|
118 |
} |
|
119 |
|
|
120 |
@Override |
|
121 |
public String toString() { |
|
122 |
return "Notice{" + |
|
123 |
"noticeId=" + noticeId + |
|
124 |
", title=" + title + |
|
125 |
", content=" + content + |
|
126 |
", createTime=" + createTime + |
|
127 |
", createUser=" + createUser + |
|
128 |
", updateTime=" + updateTime + |
|
129 |
", updateUser=" + updateUser + |
|
130 |
"}"; |
|
131 |
} |
|
132 |
} |