TASK: 对话 扣除积分
This commit is contained in:
@@ -39,6 +39,22 @@ public class ChatMessage implements Serializable {
|
||||
|
||||
@ApiModelProperty("0对话内容1颜色2图片")
|
||||
private Integer isImage;
|
||||
/**
|
||||
* 输入
|
||||
*/
|
||||
private Long inputTokens;
|
||||
/**
|
||||
* 输出
|
||||
*/
|
||||
private Long outputTokens;
|
||||
/**
|
||||
* 思考
|
||||
*/
|
||||
private Long reasoningTokens;
|
||||
/**
|
||||
* 本次输出消耗的总金额
|
||||
*/
|
||||
private String totalCost;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@@ -9,10 +9,10 @@ import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
@TableName("workspace_rel_style")
|
||||
public class WorkspaceRelStyle implements Serializable {
|
||||
public class WorkspaceRelStyle extends BaseEntity implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
// @TableId(value = "id", type = IdType.AUTO)
|
||||
// private Long id;
|
||||
private Long workspaceId;
|
||||
private Long styleId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user