package com.yaoai.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("agent_prompt_snapshots")
public class AgentPromptSnapshot {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private Long runId;
    private String stepKey;
    private String promptRole;
    private String systemPromptVersion;
    private String contextHash;
    private String contextSummary;
    private String requestJson;
    private String responseRaw;
    private String parsedOutputJson;
    private String validationResultJson;
    private String modelProvider;
    private String modelId;
    private Long latencyMs;
    private String errorMessage;
    private LocalDateTime createdAt;
}
