package com.zy.ai.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import java.io.Serializable; import java.util.Date; @Data @TableName("sys_ai_token_usage") public class AiTokenUsage implements Serializable { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) private Integer id; @TableField("prompt_tokens") private Long promptTokens; @TableField("completion_tokens") private Long completionTokens; @TableField("total_tokens") private Long totalTokens; @TableField("llm_call_count") private Long llmCallCount; @TableField("update_time") private Date updateTime; }