package com.emotion.dto.response;

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

/**
 * AI配置调用次数统计项
 * 通过 workflowId 关联 t_ai_config 与 t_coze_api_call，统计调用次数并排序展示
 *
 * @author system
 * @date 2025-12-24
 */
@Data
@Schema(description = "AI配置调用次数统计项")
public class AiConfigCallStatsItem {

    @Schema(description = "AI配置ID")
    private String configId;

    @Schema(description = "配置名称")
    private String configName;

    @Schema(description = "配置键值")
    private String configKey;

    @Schema(description = "服务提供商")
    private String provider;

    @Schema(description = "配置类型")
    private String configType;

    @Schema(description = "Workflow ID")
    private String workflowId;

    @Schema(description = "是否启用：0-禁用，1-启用")
    private Integer isEnabled;

    @Schema(description = "是否默认：0-否，1-是")
    private Integer isDefault;

    @Schema(description = "调用次数")
    private Long callCount;
}


