package com.ycwl.basic.model.mobile.chat.entity;

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

import java.util.Date;

/**
 * 小程序人脸聊天消息，只保存文本。
 */
@Data
@TableName("face_chat_message")
public class FaceChatMessageEntity {
    @TableId
    private Long id;
    private Long conversationId;
    private Long faceId;
    private Integer seq;
    /**
     * user / assistant / system。
     */
    private String role;
    private String content;
    private String traceId;
    private Integer latencyMs;
    private Date createdAt;
}
