package org.xyzh.ai.client.dto;

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

import com.alibaba.fastjson2.annotation.JSONField;

/**
 * @description 对话列表响应
 * @filename ConversationListResponse.java
 * @author AI Assistant
 * @copyright xyzh
 * @since 2025-11-04
 */
@Data
public class ConversationListResponse {

    private Integer limit;
    
    @JSONField(name = "has_more")
    private Boolean hasMore;
    
    private List<ConversationInfo> data;

    @Data
    public static class ConversationInfo {
        private String id;
        
        private String name;
        
        private List<InputInfo> inputs;
        
        private String status;
        
        private String introduction;
        
        @JSONField(name = "created_at")
        private Long createdAt;
        
        @JSONField(name = "updated_at")
        private Long updatedAt;
    }

    @Data
    public static class InputInfo {
        private String key;
        private String value;
    }
}

