org.javaweb.utils.MobileLocation Maven / Gradle / Ivy
/*
* Copyright yz 2016-01-14 Email:[email protected].
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.javaweb.utils;
public class MobileLocation {
/**
* 手机号码段前3位数
*/
private int prefix;
/**
* 手机号7位数前缀
*/
private int mobilePrefix;
/**
* 省
*/
private String province;
/**
* 城市
*/
private String city;
/**
* 运营商
*/
private String isp;
/**
* 邮编
*/
private int postCode;
/**
* 城市代码
*/
private int cityCode;
/**
* 区域代码
*/
private int areaCode;
/**
* 手机卡类型
*/
private String types;
public int getPrefix() {
return prefix;
}
public void setPrefix(int prefix) {
this.prefix = prefix;
}
public int getMobilePrefix() {
return mobilePrefix;
}
public void setMobilePrefix(int mobilePrefix) {
this.mobilePrefix = mobilePrefix;
}
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 getIsp() {
return isp;
}
public void setIsp(String isp) {
this.isp = isp;
}
public int getPostCode() {
return postCode;
}
public void setPostCode(int postCode) {
this.postCode = postCode;
}
public int getCityCode() {
return cityCode;
}
public void setCityCode(int cityCode) {
this.cityCode = cityCode;
}
public int getAreaCode() {
return areaCode;
}
public void setAreaCode(int areaCode) {
this.areaCode = areaCode;
}
public String getTypes() {
return types;
}
public void setTypes(String types) {
this.types = types;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy