package me.zhengjie.modules.system.service.webstocket.req;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.io.Serializable;
import java.util.Map;

@Data
public class WebSocketReqData implements Serializable {

    // 请求命令
    @JSONField(name = "Cmd")
    private Integer Cmd;

    @JSONField(name = "Data")
    private Map Data;

    @JSONField(name = "Type")
    private Integer Type;

    // 请求ID
    @JSONField(name = "RequestID")
    private String RequestID;

    // 主板ID
    @JSONField(name = "MainboardID")
    private String MainboardID;

    // 时间戳
    @JSONField(name = "TimeStamp")
    private Long TimeStamp;

    // 标识命令来源
    @JSONField(name = "From")
    private Integer From;

}
