| | |
| | | * @desc |
| | | */ |
| | | public class UpdateVersionBean implements Serializable { |
| | | // 版本号 |
| | | private int versionCode; |
| | | // 版本名称 |
| | | private String versionName; |
| | | // 下载地址 |
| | | private String appUrl; |
| | | // 更新内容 |
| | | private String content; |
| | | // 发布时间 |
| | | private String publishTime; |
| | | private boolean forceUpdate; |
| | | // 是否强制更新 1是 0否 |
| | | private int forceUpdate; |
| | | |
| | | public int getVersionCode() { |
| | | return versionCode; |
| | |
| | | this.publishTime = publishTime; |
| | | } |
| | | |
| | | public boolean isForceUpdate() { |
| | | public String getVersionName() { |
| | | return versionName; |
| | | } |
| | | |
| | | public void setVersionName(String versionName) { |
| | | this.versionName = versionName; |
| | | } |
| | | |
| | | public int getForceUpdate() { |
| | | return forceUpdate; |
| | | } |
| | | |
| | | public void setForceUpdate(boolean forceUpdate) { |
| | | public void setForceUpdate(int forceUpdate) { |
| | | this.forceUpdate = forceUpdate; |
| | | } |
| | | } |