|
@@ -50,6 +50,12 @@ public class NoticeReadEntity extends WithIdJpaEntity {
|
|
|
@Column(nullable = false)
|
|
|
private Long userId;
|
|
|
|
|
|
+ /**
|
|
|
+ * 是否已读
|
|
|
+ */
|
|
|
+ @Column(nullable = false)
|
|
|
+ private Boolean read;
|
|
|
+
|
|
|
public Long getRootOrgId() {
|
|
|
return rootOrgId;
|
|
|
}
|
|
@@ -82,4 +88,12 @@ public class NoticeReadEntity extends WithIdJpaEntity {
|
|
|
this.userId = userId;
|
|
|
}
|
|
|
|
|
|
+ public Boolean getRead() {
|
|
|
+ return read;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRead(Boolean read) {
|
|
|
+ this.read = read;
|
|
|
+ }
|
|
|
+
|
|
|
}
|