Browse Source

Merge branch 'Dev' into 'Release'

Dev

See merge request mooctest-company/mooctest-org-backend!1
郭超 3 years ago
parent
commit
5c49494d00

+ 1 - 0
src/main/java/mooctest/org/backend/site/data/vo/NotificationVO.java

@@ -21,6 +21,7 @@ public class NotificationVO {
     private int isThirdParty;
     private int deletedStatus;
     private Timestamp createTime;
+    private int year;
 
     public NotificationVO(Notification notification){
         BeanUtils.copyProperties(notification, this);

+ 1 - 0
src/main/java/mooctest/org/backend/site/domainObject/Notification.java

@@ -25,6 +25,7 @@ public class Notification {
     private int deletedStatus;
     private int isChangingCreateTime = 0;
     private Timestamp createTime;
+    private int year;
 
 
     public Notification createNotification(){

+ 2 - 0
src/main/java/mooctest/org/backend/site/model/NotificationPO.java

@@ -43,4 +43,6 @@ public class NotificationPO implements Serializable {
     @Column(name = "N_CREATE_TIME")
     private Timestamp createTime;
 
+    @Column(name = "N_YEAR")
+    private int year;
 }