消息通知系统
This commit is contained in:
15
src/main/java/com/ai/da/model/vo/GetNotificationVO.java
Normal file
15
src/main/java/com/ai/da/model/vo/GetNotificationVO.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package com.ai.da.model.vo;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel
|
||||
@Data
|
||||
public class GetNotificationVO extends PageQueryBaseVo{
|
||||
|
||||
@ApiModelProperty("system/like/comment/follow")
|
||||
private String type;
|
||||
}
|
||||
17
src/main/java/com/ai/da/model/vo/NotificationVO.java
Normal file
17
src/main/java/com/ai/da/model/vo/NotificationVO.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package com.ai.da.model.vo;
|
||||
|
||||
import com.ai.da.mapper.primary.entity.Notification;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Data
|
||||
public class NotificationVO extends Notification {
|
||||
|
||||
private String senderUserName;
|
||||
|
||||
private String senderUserAvatar;
|
||||
|
||||
private String portfolioName;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.ai.da.model.vo;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@ApiModel("发布系统消息")
|
||||
public class PublishSysNotificationVO {
|
||||
|
||||
@ApiModelProperty("系统消息标题")
|
||||
private String title;
|
||||
|
||||
@ApiModelProperty("系统消息内容")
|
||||
private String content;
|
||||
|
||||
@ApiModelProperty("系统消息 活动链接")
|
||||
private String link;
|
||||
}
|
||||
Reference in New Issue
Block a user