package com.ruoyi.post.controller.req;

import com.ruoyi.vo.PageBasic;
import com.ruoyi.vo.UserVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author liwenlong
 * @date 2023/4/17 14:07
 */
@Data
public class PostPageReq extends PageBasic {

    @ApiModelProperty(value = "类型 1 关注 2 发现")
    private Integer type;

    @ApiModelProperty(value = "帖子分类id")
    private Long postTypeId;

    @ApiModelProperty(value = "关键字搜索")
    private String keyword;

    @ApiModelProperty(value = "用户类型 1 用户 对应枚举 UserEnums")
    private Integer userType;

    @ApiModelProperty(value = "帖子类型 1 帖子（用户发布） 2资讯（平台发布）")
    private Integer postType;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty("排序方式 1 最新 2 点赞最多 3 评论最多")
    private Integer orderSort;

    @ApiModelProperty(value = "拉黑用户")
    private List<UserVo> blockUserList;

    @ApiModelProperty(value = "屏蔽用户")
    private List<UserVo> shieldUserList;

    @ApiModelProperty(value = "屏蔽的帖子")
    private List<Long> shieldPostIdList;
}
