package com.tongran.rocketmq.domain.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class MacVlanRspVo {
    @JsonProperty("clientId")
    private String clientId;

    @JsonProperty("macVlans")
    private List<MacVlanVo> macVlans;

    @JsonProperty("timestamp")
    private long timestamp;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class MacVlanVo {
        /** 虚拟网卡id */
        private String vlanId;

        /** 编号 */
        private String mid;

        /** 状态 */
        private String status;
    }
}