package com.mini.capi.model.info;

import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@Builder  // 生成构建者模式代码
public class NetworkInfo implements Serializable {

    private String hostName;

    private String localIp;

    private List<String> allIps;

    public NetworkInfo(String hostName, String localIp, List<String> allIps) {
        this.hostName = hostName;
        this.localIp = localIp;
        this.allIps = allIps;
    }
}
