com.github.fartherp.framework.common.util.RemoteIpInfo Maven / Gradle / Ivy
/*
* Copyright (c) 2017. CK. All rights reserved.
*/
package com.github.fartherp.framework.common.util;
/**
* Created by IntelliJ IDEA.
*
* @author: CK
* @date: 2017/12/13
*/
public class RemoteIpInfo {
private String ret;
private Integer start;
private Integer end;
private String country;
private String province;
private String city;
private String district;
private String isp;
private String type;
private String desc;
public String getRet() {
return ret;
}
public void setRet(String ret) {
this.ret = ret;
}
public Integer getStart() {
return start;
}
public void setStart(Integer start) {
this.start = start;
}
public Integer getEnd() {
return end;
}
public void setEnd(Integer end) {
this.end = end;
}
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
public String getProvince() {
return province;
}
public void setProvince(String province) {
this.province = province;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getDistrict() {
return district;
}
public void setDistrict(String district) {
this.district = district;
}
public String getIsp() {
return isp;
}
public void setIsp(String isp) {
this.isp = isp;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getDesc() {
return desc;
}
public void setDesc(String desc) {
this.desc = desc;
}
@Override
public String toString() {
final StringBuilder sb = new StringBuilder("RemoteIpInfo{");
sb.append("ret='").append(ret).append('\'');
sb.append(", start=").append(start);
sb.append(", end=").append(end);
sb.append(", country='").append(country).append('\'');
sb.append(", province='").append(province).append('\'');
sb.append(", city='").append(city).append('\'');
sb.append(", district='").append(district).append('\'');
sb.append(", isp='").append(isp).append('\'');
sb.append(", type='").append(type).append('\'');
sb.append(", desc='").append(desc).append('\'');
sb.append('}');
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy