package com.luojia_channel.modules.post.dto.req;

import com.luojia_channel.common.domain.page.PageRequest;
import com.luojia_channel.common.domain.page.ScrollPageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(title = "分页查询评论请求DTO")
public class CommentPageQueryDTO extends ScrollPageRequest {
    @Schema(title = "帖子ID")
    private Long postId;

    @Schema(title = "评论ID")
    private Long parentCommentId;

    @Schema(title = "排序类型，0表示按时间，1表示按热度")
    private Integer type = 0;
}
