package com.erp.ai.model;

import lombok.Data;

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

/**
 * LLM 프로바이더 (테이블: ai_llm_providers)
 * api_key_encrypted 는 AES-GCM 암호화 base64 문자열.
 */
@Data
public class AiLlmProvider {
    private Long id;
    /** anthropic | openai | google | deepseek | ollama */
    private String name;
    private String display_name;
    private String api_key_encrypted;
    private String model_name;
    private String endpoint;
    private Integer priority;
    private Integer max_tokens;
    private BigDecimal temperature;
    private BigDecimal cost_per_1k_input;
    private BigDecimal cost_per_1k_output;
    private Boolean is_active;
    private String config;
    private OffsetDateTime created_at;
    private OffsetDateTime updated_at;
}
