package org.xyzh.ai.client.dto;

import lombok.Data;
import java.util.List;

/**
 * @description 知识库列表响应
 * @filename DatasetListResponse.java
 * @author AI Assistant
 * @copyright xyzh
 * @since 2025-11-04
 */
@Data
public class DatasetListResponse {

    /**
     * 知识库列表
     */
    private List<DatasetInfo> data;

    /**
     * 是否有更多
     */
    private Boolean hasMore;

    /**
     * 分页限制
     */
    private Integer limit;

    /**
     * 总数
     */
    private Integer total;

    /**
     * 当前页
     */
    private Integer page;

    @Data
    public static class DatasetInfo {
        private String id;
        private String name;
        private String description;
        private String permission;
        private Integer documentCount;
        private Integer wordCount;
        private String createdBy;
        private Long createdAt;
        private Long updatedAt;
    }
}

