AppVersion.java
1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package com.hjx.miaohongentry.bean;
/**
* Created by l on 2017/7/8.
*/
public class AppVersion {
private int versionCode;
private String versionName;
private String url;
private String msg;
private boolean isForceUpdate;
public void setVersionCode( String versionCode){
this.versionCode = Integer.parseInt(versionCode); ;
}
public int getVersionCode(){
return versionCode;
}
public void setVersionName(String versionName){
this.versionName = versionName;
}
public String getVersionName(){
return versionName;
}
public void setURL(String url){
this.url = url;
}
public String getURL(){
return url;
}
public void setMsg(String msg){
this.msg = msg;
}
public String getMsg(){
return msg;
}
public void setForceUpdate(boolean isForceUpdate){
this.isForceUpdate = isForceUpdate;
}
public boolean isForceUpdate(){
return isForceUpdate;
}
}