package com.zy.ai.entity; import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableName; import com.baomidou.mybatisplus.enums.IdType; import java.io.Serializable; import java.util.Date; @TableName("sys_llm_call_log") public class LlmCallLog implements Serializable { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) private Long id; @TableField("trace_id") private String traceId; private String scene; private Short stream; @TableField("attempt_no") private Integer attemptNo; @TableField("route_id") private Long routeId; @TableField("route_name") private String routeName; @TableField("base_url") private String baseUrl; private String model; private Short success; @TableField("http_status") private Integer httpStatus; @TableField("latency_ms") private Long latencyMs; @TableField("switch_mode") private String switchMode; @TableField("request_content") private String requestContent; @TableField("response_content") private String responseContent; @TableField("error_type") private String errorType; @TableField("error_message") private String errorMessage; private String extra; @TableField("create_time") private Date createTime; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getTraceId() { return traceId; } public void setTraceId(String traceId) { this.traceId = traceId; } public String getScene() { return scene; } public void setScene(String scene) { this.scene = scene; } public Short getStream() { return stream; } public void setStream(Short stream) { this.stream = stream; } public Integer getAttemptNo() { return attemptNo; } public void setAttemptNo(Integer attemptNo) { this.attemptNo = attemptNo; } public Long getRouteId() { return routeId; } public void setRouteId(Long routeId) { this.routeId = routeId; } public String getRouteName() { return routeName; } public void setRouteName(String routeName) { this.routeName = routeName; } public String getBaseUrl() { return baseUrl; } public void setBaseUrl(String baseUrl) { this.baseUrl = baseUrl; } public String getModel() { return model; } public void setModel(String model) { this.model = model; } public Short getSuccess() { return success; } public void setSuccess(Short success) { this.success = success; } public Integer getHttpStatus() { return httpStatus; } public void setHttpStatus(Integer httpStatus) { this.httpStatus = httpStatus; } public Long getLatencyMs() { return latencyMs; } public void setLatencyMs(Long latencyMs) { this.latencyMs = latencyMs; } public String getSwitchMode() { return switchMode; } public void setSwitchMode(String switchMode) { this.switchMode = switchMode; } public String getRequestContent() { return requestContent; } public void setRequestContent(String requestContent) { this.requestContent = requestContent; } public String getResponseContent() { return responseContent; } public void setResponseContent(String responseContent) { this.responseContent = responseContent; } public String getErrorType() { return errorType; } public void setErrorType(String errorType) { this.errorType = errorType; } public String getErrorMessage() { return errorMessage; } public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; } public String getExtra() { return extra; } public void setExtra(String extra) { this.extra = extra; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } }