package com.emotion.dto.websocket;

import lombok.Data;
import lombok.Builder;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import java.time.LocalDateTime;

/**
 * WebSocket消息对象
 * 
 * @author huazhongmin
 * @date 2025-07-23
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WebSocketMessage {
    
    /**
     * 消息ID
     */
    private String messageId;
    
    /**
     * 会话ID
     */
    private String conversationId;
    
    /**
     * 消息类型
     */
    private String type;
    
    /**
     * 消息内容
     */
    private String content;
    
    /**
     * 发送者ID
     */
    private String senderId;
    
    /**
     * 发送者类型
     */
    private String senderType;
    
    /**
     * 消息状态
     */
    private String status;
    
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    
    /**
     * 扩展数据
     */
    private Object data;
}
