package cn.sikey.websocket.message;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * @Author: nelson
 * @Date: 2025/5/29
 * @Description: test
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ToString(callSuper = true)
public class TestTextMessage extends BasicMessage implements Serializable {
    @Serial
    private static final long serialVersionUID = -7474476471144411028L;

    /**
     * 消息内容
     */
    private TestTextMessageContent content;

    @Data
    @Accessors(chain = true)
    public static class TestTextMessageContent {
        private String raw;
    }
}
