package com.erp.dashboard.dto;

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

import java.math.BigDecimal;

/**
 * API调用统计DTO - 用于数据库查询结果映射
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "API调用统计结果")
public class ApiStatsDTO {

    @Schema(description = "API调用总次数")
    private Long totalCalls;

    @Schema(description = "成功次数")
    private Long successCalls;

    @Schema(description = "失败次数")
    private Long failedCalls;

    @Schema(description = "拉取订单总数")
    private Long totalOrdersPulled;
}
