优化 获取关注、粉丝列表
This commit is contained in:
19
src/main/java/com/ai/da/model/dto/GetFollowListDTO.java
Normal file
19
src/main/java/com/ai/da/model/dto/GetFollowListDTO.java
Normal file
@@ -0,0 +1,19 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import com.ai.da.model.vo.PageQueryBaseVo;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Data
|
||||
@ApiModel("按条件分页查询关注列表")
|
||||
public class GetFollowListDTO extends PageQueryBaseVo {
|
||||
|
||||
@ApiModelProperty("查找指定用户名")
|
||||
private String searchByName;
|
||||
|
||||
@ApiModelProperty("按关注时间排序 DESC 降序 || ASC 升序")
|
||||
private String order;
|
||||
}
|
||||
16
src/main/java/com/ai/da/model/dto/GetNotificationDTO.java
Normal file
16
src/main/java/com/ai/da/model/dto/GetNotificationDTO.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import com.ai.da.model.vo.PageQueryBaseVo;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel
|
||||
@Data
|
||||
public class GetNotificationDTO extends PageQueryBaseVo {
|
||||
|
||||
@ApiModelProperty("system/like/comment/follow")
|
||||
private String type;
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@ApiModel("发布系统消息")
|
||||
public class PublishSysNotificationDTO {
|
||||
|
||||
@ApiModelProperty("系统消息标题")
|
||||
private String title;
|
||||
|
||||
@ApiModelProperty("系统消息内容")
|
||||
private String content;
|
||||
|
||||
@ApiModelProperty("系统消息 活动链接")
|
||||
private String link;
|
||||
}
|
||||
@@ -14,4 +14,6 @@ public class QueryPortfolioPageDTO extends PageQueryBaseVo {
|
||||
private Integer getMyPortfolio;
|
||||
|
||||
private Integer getLikePortfolio;
|
||||
|
||||
private Long accountId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user