package com.ruoyi.controller.req;

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

import javax.validation.constraints.NotNull;
import java.util.List;

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

    @NotNull(message = "作品id不能为空")
    @ApiModelProperty(value = "作品id", required = true)
    private Long worksId;

    @ApiModelProperty(value = "上级评论id", required = false)
    private Long parentId;

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

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

    @ApiModelProperty("排序 1时间 2热度")
    private Integer sortType;

    @ApiModelProperty(value = "1升序 2 降序")
    private Integer isAsc;
}
