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;

/**
 * 小程序宫格介绍分页结果，字段形态与通知公告分页一致便于端上复用。
 *
 * @author jeesharp
 * @since 2026-05-15
 */
@Data
@Schema(description = "小程序-宫格介绍分页结果")
public class HomeGridIntroMobilePageVO {

    @Schema(description = "宫格介绍列表布局：0-大图卡片 … 10-动感频道页")
    private Integer listLayout;

    @Schema(description = "列表布局名称")
    private String listLayoutName;

    @Schema(description = "频道布局顶部轮播")
    private List<HomeGridIntroBannerItemVO> banners = new ArrayList<>();

    @Schema(description = "频道布局 Tab 标签（含「全部」）")
    private List<String> tabLabels = new ArrayList<>();

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

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

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

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