package cn.meowrain.aioj.backend.blogservice.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 评论查询请求DTO
 *
 * @author AIOJ
 */
@Data
@Schema(description = "评论查询请求")
public class CommentQueryRequestDTO {

    @Schema(description = "页码", example = "1")
    private Integer current = 1;

    @Schema(description = "每页数量", example = "10")
    private Integer size = 10;

    @Schema(description = "文章ID", example = "1")
    private Long articleId;

    @Schema(description = "用户ID", example = "1")
    private Long userId;

    @Schema(description = "父评论ID（0表示查询一级评论）", example = "0")
    private Long parentId;

    @Schema(description = "状态：1=正常，2=待审核，3=已删除", example = "1")
    private Integer status;
}
