package org.dromara.pet.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
    import java.util.Date;
    import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serial;

/**
 * 多模态问诊对话明细对象 biz_triage_messages
 *
 * @author shuo
 * @date 2026-02-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("biz_triage_messages")
public class BizTriageMessages extends

        BaseEntity {

            @Serial
            private static final long serialVersionUID = 1L;

                    /**
                     * 主键ID
                     */
                    @TableId(value = "id")
                private Long id;

                    /**
                     * 关联分诊会话ID
                     */
                private Long sessionId;

                    /**
                     * 发送者角色(USER用户/AI模型)
                     */
                private String senderRole;

                    /**
                     * 消息类型(TEXT/IMAGE/VIDEO)
                     */
                private String messageType;

                    /**
                     * 文本内容
                     */
                private String content;

                    /**
                     * 多媒体文件链接
                     */
                private String mediaUrl;

                    /**
                     * 业务发送时间
                     */
                private Date createdAt;


        }
