package com.jeesharp.business.modules.setting.vo;

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

import java.util.ArrayList;
import java.util.List;

/**
 * 小程序「通知公告」分页结果，与 C 端 {@code PageResponse}（total/page/pageSize/list）一致。
 *
 * @author jeesharp
 * @since 2026-05-12
 */
@Data
@Schema(description = "通知公告-分页结果")
public class NoticeAnnouncementPageVO {

    @Schema(description = "总条数")
    private long total;

    @Schema(description = "当前页码（从1开始）")
    private long page;

    @Schema(description = "每页条数")
    private long pageSize;

    @Schema(description = "当前页数据")
    private List<NoticeAnnouncementItemVO> list = new ArrayList<>();
}
