SHA256
поменял все названия таблиц и полей в таблицах на стиль только маленькие буквы и разделение через "_" . Все тесты проходят норм
44 lines
805 B
Java
44 lines
805 B
Java
package shine.db.entities;
|
|
|
|
/**
|
|
* Запись в таблице ip_geo_cache.
|
|
*/
|
|
public class IpGeoCacheEntry {
|
|
|
|
private String ip;
|
|
private String geo;
|
|
private long updatedAtMs;
|
|
|
|
public IpGeoCacheEntry() {
|
|
}
|
|
|
|
public IpGeoCacheEntry(String ip, String geo, long updatedAtMs) {
|
|
this.ip = ip;
|
|
this.geo = geo;
|
|
this.updatedAtMs = updatedAtMs;
|
|
}
|
|
|
|
public String getIp() {
|
|
return ip;
|
|
}
|
|
|
|
public void setIp(String ip) {
|
|
this.ip = ip;
|
|
}
|
|
|
|
public String getGeo() {
|
|
return geo;
|
|
}
|
|
|
|
public void setGeo(String geo) {
|
|
this.geo = geo;
|
|
}
|
|
|
|
public long getUpdatedAtMs() {
|
|
return updatedAtMs;
|
|
}
|
|
|
|
public void setUpdatedAtMs(long updatedAtMs) {
|
|
this.updatedAtMs = updatedAtMs;
|
|
}
|
|
} |