com.eshore.uas.module.Version Maven / Gradle / Ivy
package com.eshore.uas.module;
import com.eshore.tools.Tokens;
/**
* 核心版本
* @author eshore
*
*/
public class Version {
private String core="0.4.2";
private String server="2.8.2";
private String name="uas-core";
private static String hash;
private String random;
private String method;
private String ip;
private Long time;
private String publishDate="2019-11-29";
public String getCore() {
return core;
}
public void setCore(String core) {
this.core = core;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getHash() {
if(hash==null) {
hash=Tokens.randomString(256);
}
return hash;
}
public void setHash(String hash) {
this.hash = hash;
}
public String getPublishDate() {
return publishDate;
}
public void setPublishDate(String publishDate) {
this.publishDate = publishDate;
}
public String getServer() {
return server;
}
public void setServer(String server) {
this.server = server;
}
public String getRandom() {
return random;
}
public void setRandom(String random) {
this.random = random;
}
public String getIp() {
return ip;
}
public void setIp(String ip) {
this.ip = ip;
}
public Long getTime() {
return time;
}
public void setTime(Long time) {
this.time = time;
}
public String getMethod() {
return method;
}
public void setMethod(String method) {
this.method = method;
}
}