package com.ruoyi.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 a
 * @date 2023/10/12 11:35
 */
@Data
public class WorksPageReq extends PageBasic {

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

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

    @ApiModelProperty(value = "分类id")
    private Long typeId;


    @ApiModelProperty(value = "作品绑定的分类ids")
    private List<Long> typeIds;

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

    @ApiModelProperty("是否高端;1 普通 2 高端")
    private Integer ifHighend;

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

    @ApiModelProperty("是否展示企业作品 1 展示 2 不展示")
    private Integer showEnterprise = 1;

    @ApiModelProperty("是否是查看自己的 1 是 2 否")
    private Integer isSelf = 2;

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

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

    @ApiModelProperty(value = "屏蔽的作品")
    private List<Long> shieldWorksIdList;
}
