package com.emotion.dto.websocket;

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

import javax.validation.constraints.NotBlank;

/**
 * WebSocket连接请求对象
 * 
 * @author huazhongmin
 * @date 2025-07-23
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ConnectRequest {
    
    /**
     * 用户ID
     */
    private String userId;
    
    /**
     * 用户名
     */
    private String username;
    
    /**
     * 客户端类型
     */
    private String clientType;
    
    /**
     * 客户端版本
     */
    private String clientVersion;
    
    /**
     * 连接时间戳
     */
    private Long timestamp;
}
