package com.ruoyi.rocketmq.domain.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.ruoyi.rocketmq.domain.NetworkInfoDeserializer;
import com.ruoyi.system.api.domain.NetworkInfo;
import lombok.Data;

import java.util.List;

@Data
public class RegisterMsgVo {
    @JsonProperty("clientId")
    private String clientId;

    @JsonProperty("sn")
    private String sn;

    @JsonProperty("networkInfo")
    @JsonDeserialize(using = NetworkInfoDeserializer.class)
    private List<NetworkInfo> networkInfo;

    @JsonProperty("timestamp")
    private long timestamp;

}