package com.zhongshu.card.client.model.mqtt;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author TRX
 * @date 2024/5/20
 */
@Data
public class SendMessageModel {

    @Schema(description = "接收信息的Topic，格式如：v1/device/001/on", required = true)
    private String topic;

    @Schema(description = "消息内容, JSONObject 字符串 或其他", required = true)
    private String message;

    @Schema(description = "用户ID")
    private String userId;
}
