All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.dengchen2020.ip.properties.IpBuilder Maven / Gradle / Ivy

There is a newer version: 0.0.30
Show newest version
package io.github.dengchen2020.ip.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author dengchen
 * @since 2024/6/5
 */
@ConfigurationProperties("dc.ip")
public class IpBuilder {

    private Windows windows = new Windows();

    private Linux linux = new Linux();

    public Windows getWindows() {
        return windows;
    }

    public void setWindows(Windows windows) {
        this.windows = windows;
    }

    public Linux getLinux() {
        return linux;
    }

    public void setLinux(Linux linux) {
        this.linux = linux;
    }

    public static class Windows {

        /**
         * ip数据包位置
         */
        private String location;

        public String getLocation() {
            return location;
        }

        public void setLocation(String location) {
            this.location = location;
        }

    }

    public static class Linux {

        /**
         * ip数据包位置
         */
        private String location;

        public String getLocation() {
            return location;
        }

        public void setLocation(String location) {
            this.location = location;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy