package com.snack.server.module.notice.dto.req;

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

import java.io.Serializable;

/**
 * 公告分页查询
 */
@Data
@Schema(description = "公告分页查询请求")
public class NoticePageReq implements Serializable {

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

    @Schema(description = "每页条数", example = "10")
    private Long size = 10L;

    @Schema(description = "标题关键字（模糊）")
    private String keyword;

    @Schema(description = "公告类型：0-普通 1-重要 2-活动")
    private Integer type;

    @Schema(description = "状态：0-下线 1-上线")
    private Integer status;
}
