package com.gameplatform.server.model.dto.link;

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

import java.util.List;

/**
 * 链接列表响应DTO
 */
@Data
@Schema(description = "链接列表响应")
public class LinkListResponse {
    
    @Schema(description = "链接列表")
    private List<LinkListItem> items;
    
    @Schema(description = "总记录数", example = "150")
    private Long total;
    
    @Schema(description = "当前页码", example = "1")
    private Integer page;
    
    @Schema(description = "每页大小", example = "20")
    private Integer pageSize;
    
    @Schema(description = "总页数", example = "8")
    private Integer totalPages;
    
    @Schema(description = "是否有下一页", example = "true")
    private Boolean hasNext;
    
    @Schema(description = "是否有上一页", example = "false")
    private Boolean hasPrev;
}
