
package xyz.guyaaltonen.pickleirc;

/**
 *
 * @author Guy Aaltonen
 */
public class GeoLite2BlockIP4 
{
    private String network;                 // 1.0.0.0      (does not include the slash and network mask size)
    private String networkWithNetworkSize;  // 1.0.0.0/24   (with mask size, because the user might want to know)
    private int geoname_id;
    private double latitude;
    private double longitude;
    private int accuracy_radius;

    
    public GeoLite2BlockIP4(String network,String networkWithNetworkSize,int geoname_id,double latitude,double longitude,int accuracy_radius)
    {
        this.network = network;
        this.networkWithNetworkSize = networkWithNetworkSize;
        this.geoname_id = geoname_id;
        this.latitude = latitude;
        this.longitude = longitude;
        this.accuracy_radius = accuracy_radius;
    }

    public int getGeonameId() {
        return geoname_id;
    }
}
