package com.erp.ai.model;

import lombok.Data;

import java.math.BigDecimal;
import java.time.OffsetDateTime;

/**
 * AI 사용량 로그 (테이블: ai_agent_usage_logs)
 */
@Data
public class AiAgentUsageLog {
    private Long id;
    private String user_id;
    private Long api_key_id;
    private Long agent_id;
    private Long conversation_id;
    private String provider_name;
    private String model_name;
    private Integer prompt_tokens;
    private Integer completion_tokens;
    private Integer total_tokens;
    private BigDecimal cost_usd;
    private Integer response_time_ms;
    private Boolean success;
    private String error_message;
    private String request_path;
    private String ip_address;
    private String company_code;
    private OffsetDateTime created_at;
}
