|
@@ -11,17 +11,18 @@ import cn.com.qmth.examcloud.api.commons.security.bean.UserType;
|
|
|
import cn.com.qmth.examcloud.web.jpa.WithIdJpaEntity;
|
|
|
|
|
|
/**
|
|
|
- * 公告阅读记录
|
|
|
+ * 用户公告表
|
|
|
*
|
|
|
* @author WANGWEI
|
|
|
* @date 2019年6月27日
|
|
|
* @Copyright (c) 2018-? http://qmth.com.cn All Rights Reserved.
|
|
|
*/
|
|
|
@Entity
|
|
|
-@Table(name = "EC_E_NOTICE_READ", indexes = {
|
|
|
- @Index(name = "IDX_E_N_READ_001001", columnList = "noticeId", unique = false),
|
|
|
- @Index(name = "IDX_E_N_READ_001002", columnList = "noticeId,userType,userId", unique = true)})
|
|
|
-public class NoticeReadEntity extends WithIdJpaEntity {
|
|
|
+@Table(name = "EC_E_USER_NOTICE", indexes = {
|
|
|
+ @Index(name = "IDX_E_U_NOTICE_001001", columnList = "noticeId", unique = false),
|
|
|
+ @Index(name = "IDX_E_U_NOTICE_001002", columnList = "noticeId,userType,userId", unique = true),
|
|
|
+ @Index(name = "IDX_E_U_NOTICE_001003", columnList = "userId", unique = false)})
|
|
|
+public class UserNoticeEntity extends WithIdJpaEntity {
|
|
|
|
|
|
private static final long serialVersionUID = 7071809872436511009L;
|
|
|
|