package org.xyzh.ai.client.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.util.List;

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

    private Integer limit;
    
    @JsonProperty("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;
        
        @JsonProperty("created_at")
        private Long createdAt;
        
        @JsonProperty("updated_at")
        private Long updatedAt;
    }

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

