package com.xindazhou.business.controller.app.community.post.vo;

import com.xindazhou.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "移动端 - 帖子分页 Request VO")
@Data
public class PostPageReqVO extends PageParam {

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

    @Schema(description = "标题，模糊匹配", example = "标题")
    private String title;

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

    @Schema(description = "标签", example = "Java")
    private String tag;

    @Schema(description = "分类：official-官方，hot-热门，latest-最新，recommended-推荐", example = "official")
    private String category;

    @Schema(description = "搜索关键词（标题和内容）", example = "关键词")
    private String keyword;

    @Schema(description = "排序方式：time-按时间，popularity-按热度", example = "time")
    private String sort;

    @Schema(description = "城市", example = "上海")
    private String city;

    @Schema(description = "话题ID", example = "1")
    private Long topicId;

}

