version
fix: update:修改包名
This commit is contained in:
150
app/src/main/java/com/xwad/os/bean/ActivityBean.java
Normal file
150
app/src/main/java/com/xwad/os/bean/ActivityBean.java
Normal file
@@ -0,0 +1,150 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class ActivityBean implements Serializable {
|
||||
private static final long serialVersionUID = 8046770505423171522L;
|
||||
|
||||
int id;
|
||||
//分类名
|
||||
String type_name;
|
||||
//标题
|
||||
String title;
|
||||
String location;
|
||||
//活动时间戳 单位秒
|
||||
long activity_time;
|
||||
//人数
|
||||
int people_num;
|
||||
//语音地址
|
||||
String voice;
|
||||
/*用户名*/
|
||||
String name;
|
||||
//设备头像
|
||||
String avatar;
|
||||
String address;
|
||||
long add_time;
|
||||
String file;
|
||||
int comment_count;
|
||||
int like_count;
|
||||
int join_num;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getType_name() {
|
||||
return type_name;
|
||||
}
|
||||
|
||||
public void setType_name(String type_name) {
|
||||
this.type_name = type_name;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getLocation() {
|
||||
return location;
|
||||
}
|
||||
|
||||
public void setLocation(String location) {
|
||||
this.location = location;
|
||||
}
|
||||
|
||||
public long getActivity_time() {
|
||||
return activity_time;
|
||||
}
|
||||
|
||||
public void setActivity_time(long activity_time) {
|
||||
this.activity_time = activity_time;
|
||||
}
|
||||
|
||||
public int getPeople_num() {
|
||||
return people_num;
|
||||
}
|
||||
|
||||
public void setPeople_num(int people_num) {
|
||||
this.people_num = people_num;
|
||||
}
|
||||
|
||||
public String getVoice() {
|
||||
return voice;
|
||||
}
|
||||
|
||||
public void setVoice(String voice) {
|
||||
this.voice = voice;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getAvatar() {
|
||||
return avatar;
|
||||
}
|
||||
|
||||
public void setAvatar(String avatar) {
|
||||
this.avatar = avatar;
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public long getAdd_time() {
|
||||
return add_time;
|
||||
}
|
||||
|
||||
public void setAdd_time(long add_time) {
|
||||
this.add_time = add_time;
|
||||
}
|
||||
|
||||
public String getFile() {
|
||||
return file;
|
||||
}
|
||||
|
||||
public void setFile(String file) {
|
||||
this.file = file;
|
||||
}
|
||||
|
||||
public int getComment_count() {
|
||||
return comment_count;
|
||||
}
|
||||
|
||||
public void setComment_count(int comment_count) {
|
||||
this.comment_count = comment_count;
|
||||
}
|
||||
|
||||
public int getLike_count() {
|
||||
return like_count;
|
||||
}
|
||||
|
||||
public void setLike_count(int like_count) {
|
||||
this.like_count = like_count;
|
||||
}
|
||||
|
||||
public int getJoin_num() {
|
||||
return join_num;
|
||||
}
|
||||
|
||||
public void setJoin_num(int join_num) {
|
||||
this.join_num = join_num;
|
||||
}
|
||||
}
|
||||
164
app/src/main/java/com/xwad/os/bean/AlarmClockData.java
Normal file
164
app/src/main/java/com/xwad/os/bean/AlarmClockData.java
Normal file
@@ -0,0 +1,164 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
import com.xwad.os.alarm.AlarmUtils;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.text.ParseException;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Calendar;
|
||||
import java.util.Date;
|
||||
|
||||
public class AlarmClockData implements Serializable {
|
||||
private static final long serialVersionUID = -5856502480745183157L;
|
||||
|
||||
int id;
|
||||
int type;//类型 1一次 2循环 3周一到周五 4 周六周日
|
||||
String time;//"2021-11-15 18:33:23",//时间格式化字符串,循环类型是18:33:23
|
||||
String title;//标题
|
||||
String voice;//语音文件地址
|
||||
String voice_md5;
|
||||
String file;//图片或视频文件地址
|
||||
int remind_type;
|
||||
int is_onoff;//0关闭 1开启
|
||||
|
||||
boolean finished = false;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getTime() {
|
||||
return time;
|
||||
}
|
||||
|
||||
public void setTime(String time) {
|
||||
this.time = time;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getVoice() {
|
||||
return voice;
|
||||
}
|
||||
|
||||
public void setVoice(String voice) {
|
||||
this.voice = voice;
|
||||
}
|
||||
|
||||
public String getVoice_md5() {
|
||||
return voice_md5;
|
||||
}
|
||||
|
||||
public void setVoice_md5(String voice_md5) {
|
||||
this.voice_md5 = voice_md5;
|
||||
}
|
||||
|
||||
public String getFile() {
|
||||
return file;
|
||||
}
|
||||
|
||||
public void setFile(String file) {
|
||||
this.file = file;
|
||||
}
|
||||
|
||||
public boolean isFinished() {
|
||||
return finished;
|
||||
}
|
||||
|
||||
public void setFinished(boolean finished) {
|
||||
this.finished = finished;
|
||||
}
|
||||
|
||||
public int getRemind_type() {
|
||||
return remind_type;
|
||||
}
|
||||
|
||||
public void setRemind_type(int remind_type) {
|
||||
this.remind_type = remind_type;
|
||||
}
|
||||
|
||||
public int getIs_onoff() {
|
||||
return is_onoff;
|
||||
}
|
||||
|
||||
public void setIs_onoff(int is_onoff) {
|
||||
this.is_onoff = is_onoff;
|
||||
}
|
||||
|
||||
public long getTimeStamp() {
|
||||
if (TextUtils.isEmpty(time)) {
|
||||
return 0L;
|
||||
}
|
||||
if (time.length() == 5) {
|
||||
String[] timeSplit = time.split(":");
|
||||
int hour = Integer.parseInt(timeSplit[0]);
|
||||
int minute = Integer.parseInt(timeSplit[1]);
|
||||
Calendar c = Calendar.getInstance();
|
||||
c.set(c.get(Calendar.YEAR), c.get(Calendar.MONTH),
|
||||
c.get(Calendar.DAY_OF_MONTH), hour, minute, 0);
|
||||
long mTimeInfo = c.getTimeInMillis();
|
||||
Log.e("AlarmClockData", "getTimeStamp: " + mTimeInfo);
|
||||
long actualTime = mTimeInfo > System.currentTimeMillis() ? mTimeInfo : mTimeInfo + AlarmUtils.ONE_DAY_TIME;
|
||||
return actualTime;
|
||||
} else {
|
||||
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||
try {
|
||||
Date date = simpleDateFormat.parse(time);
|
||||
long timestamp = date.getTime();
|
||||
return timestamp;
|
||||
} catch (ParseException e) {
|
||||
return System.currentTimeMillis();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(@Nullable Object obj) {
|
||||
if (obj == null) return false;
|
||||
if (!(obj instanceof AlarmClockData)) return false;
|
||||
if (id != ((AlarmClockData) obj).id) return false;
|
||||
if (type != ((AlarmClockData) obj).type) return false;
|
||||
if (!time.equals(((AlarmClockData) obj).time)) return false;
|
||||
if (!title.equals(((AlarmClockData) obj).title)) return false;
|
||||
if (!voice.equals(((AlarmClockData) obj).voice)) return false;
|
||||
if (!voice_md5.equals(((AlarmClockData) obj).voice_md5)) return false;
|
||||
if (!file.equals(((AlarmClockData) obj).file)) return false;
|
||||
if (remind_type != ((AlarmClockData) obj).remind_type) return false;
|
||||
if (is_onoff != ((AlarmClockData) obj).is_onoff) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
21
app/src/main/java/com/xwad/os/bean/AlarmItem.java
Normal file
21
app/src/main/java/com/xwad/os/bean/AlarmItem.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AlarmItem implements Serializable {
|
||||
private static final long serialVersionUID = -2760428066543837757L;
|
||||
public String mTitle;
|
||||
public String mTime;
|
||||
public String mRepeatType;
|
||||
public String mRepeatCode;
|
||||
public boolean mActive;
|
||||
|
||||
public AlarmItem(String time, String repeatNormal, String repeatDefine, boolean active) {
|
||||
// this.mTitle = title;
|
||||
this.mTime = time;
|
||||
this.mRepeatType = repeatNormal;
|
||||
this.mRepeatCode = repeatDefine;
|
||||
this.mActive = active;
|
||||
|
||||
}
|
||||
}
|
||||
58
app/src/main/java/com/xwad/os/bean/AppBase.java
Normal file
58
app/src/main/java/com/xwad/os/bean/AppBase.java
Normal file
@@ -0,0 +1,58 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AppBase implements Serializable {
|
||||
private static final long serialVersionUID = -1084612101570534997L;
|
||||
|
||||
int id;
|
||||
String app_name;
|
||||
String app_package;
|
||||
// @SerializedName(value = "icon", alternate = "app_icon")
|
||||
String icon;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getApp_name() {
|
||||
return app_name;
|
||||
}
|
||||
|
||||
public void setApp_name(String app_name) {
|
||||
this.app_name = app_name;
|
||||
}
|
||||
|
||||
public String getApp_package() {
|
||||
return app_package;
|
||||
}
|
||||
|
||||
public void setApp_package(String app_package) {
|
||||
this.app_package = app_package;
|
||||
}
|
||||
|
||||
public String getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(String icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
|
||||
}
|
||||
41
app/src/main/java/com/xwad/os/bean/AppListInfo.java
Normal file
41
app/src/main/java/com/xwad/os/bean/AppListInfo.java
Normal file
@@ -0,0 +1,41 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AppListInfo implements Serializable {
|
||||
String appName;
|
||||
String packageName;
|
||||
Bitmap icon;
|
||||
|
||||
public AppListInfo(String appName, String packageName, Bitmap icon) {
|
||||
this.appName = appName;
|
||||
this.packageName = packageName;
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public String getAppName() {
|
||||
return appName;
|
||||
}
|
||||
|
||||
public void setAppName(String appName) {
|
||||
this.appName = appName;
|
||||
}
|
||||
|
||||
public String getPackageName() {
|
||||
return packageName;
|
||||
}
|
||||
|
||||
public void setPackageName(String packageName) {
|
||||
this.packageName = packageName;
|
||||
}
|
||||
|
||||
public Bitmap getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(Bitmap icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
}
|
||||
43
app/src/main/java/com/xwad/os/bean/AppSelectBean.java
Normal file
43
app/src/main/java/com/xwad/os/bean/AppSelectBean.java
Normal file
@@ -0,0 +1,43 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import android.graphics.drawable.Drawable;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AppSelectBean implements Serializable {
|
||||
private static final long serialVersionUID = 5054284058523960678L;
|
||||
|
||||
String appName;
|
||||
String packageName;
|
||||
Drawable icon;
|
||||
|
||||
public AppSelectBean(String appName, String packageName, Drawable icon) {
|
||||
this.appName = appName;
|
||||
this.packageName = packageName;
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public String getAppName() {
|
||||
return appName;
|
||||
}
|
||||
|
||||
public void setAppName(String appName) {
|
||||
this.appName = appName;
|
||||
}
|
||||
|
||||
public String getPackageName() {
|
||||
return packageName;
|
||||
}
|
||||
|
||||
public void setPackageName(String packageName) {
|
||||
this.packageName = packageName;
|
||||
}
|
||||
|
||||
public Drawable getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(Drawable icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
}
|
||||
109
app/src/main/java/com/xwad/os/bean/AppUpdateInfo.java
Normal file
109
app/src/main/java/com/xwad/os/bean/AppUpdateInfo.java
Normal file
@@ -0,0 +1,109 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AppUpdateInfo implements Serializable {
|
||||
private static final long serialVersionUID = -683006285701880863L;
|
||||
|
||||
int id;
|
||||
int app_id;
|
||||
String app_version_name;
|
||||
long app_version_code;
|
||||
long app_size;
|
||||
String app_desc;
|
||||
String app_md5;
|
||||
String app_url;
|
||||
String is_forcedown;
|
||||
AppBase app;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getApp_id() {
|
||||
return app_id;
|
||||
}
|
||||
|
||||
public void setApp_id(int app_id) {
|
||||
this.app_id = app_id;
|
||||
}
|
||||
|
||||
public String getApp_version_name() {
|
||||
return app_version_name;
|
||||
}
|
||||
|
||||
public void setApp_version_name(String app_version_name) {
|
||||
this.app_version_name = app_version_name;
|
||||
}
|
||||
|
||||
public long getApp_version_code() {
|
||||
return app_version_code;
|
||||
}
|
||||
|
||||
public void setApp_version_code(long app_version_code) {
|
||||
this.app_version_code = app_version_code;
|
||||
}
|
||||
|
||||
public long getApp_size() {
|
||||
return app_size;
|
||||
}
|
||||
|
||||
public void setApp_size(long app_size) {
|
||||
this.app_size = app_size;
|
||||
}
|
||||
|
||||
public String getApp_desc() {
|
||||
return app_desc;
|
||||
}
|
||||
|
||||
public void setApp_desc(String app_desc) {
|
||||
this.app_desc = app_desc;
|
||||
}
|
||||
|
||||
public String getApp_md5() {
|
||||
return app_md5;
|
||||
}
|
||||
|
||||
public void setApp_md5(String app_md5) {
|
||||
this.app_md5 = app_md5;
|
||||
}
|
||||
|
||||
public String getApp_url() {
|
||||
return app_url;
|
||||
}
|
||||
|
||||
public void setApp_url(String app_url) {
|
||||
this.app_url = app_url;
|
||||
}
|
||||
|
||||
public String getIs_forcedown() {
|
||||
return is_forcedown;
|
||||
}
|
||||
|
||||
public void setIs_forcedown(String is_forcedown) {
|
||||
this.is_forcedown = is_forcedown;
|
||||
}
|
||||
|
||||
public AppBase getApp() {
|
||||
return app;
|
||||
}
|
||||
|
||||
public void setApp(AppBase app) {
|
||||
this.app = app;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
45
app/src/main/java/com/xwad/os/bean/AppUsed.java
Normal file
45
app/src/main/java/com/xwad/os/bean/AppUsed.java
Normal file
@@ -0,0 +1,45 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AppUsed implements Serializable {
|
||||
private static final long serialVersionUID = -317163343719361595L;
|
||||
String packages;
|
||||
long useTime;
|
||||
String app_name;
|
||||
|
||||
public String getPackages() {
|
||||
return packages;
|
||||
}
|
||||
|
||||
public void setPackages(String packages) {
|
||||
this.packages = packages;
|
||||
}
|
||||
|
||||
public long getUseTime() {
|
||||
return useTime;
|
||||
}
|
||||
|
||||
public void setUseTime(long useTime) {
|
||||
this.useTime = useTime;
|
||||
}
|
||||
|
||||
public String getApp_name() {
|
||||
return app_name;
|
||||
}
|
||||
|
||||
public void setApp_name(String app_name) {
|
||||
this.app_name = app_name;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
140
app/src/main/java/com/xwad/os/bean/AriaDownloadInfo.java
Normal file
140
app/src/main/java/com/xwad/os/bean/AriaDownloadInfo.java
Normal file
@@ -0,0 +1,140 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AriaDownloadInfo implements Serializable {
|
||||
private static final long serialVersionUID = -2835281454196323431L;
|
||||
|
||||
int appId;
|
||||
String appName;
|
||||
String appPackage;
|
||||
String appVersionName;
|
||||
long appVersionCode;
|
||||
String appUrl;
|
||||
String appIcon;
|
||||
long appSize;
|
||||
String appMd5;
|
||||
|
||||
public AriaDownloadInfo(int appId, String appName, String appPackage, String appVersionName, long appVersionCode, String appUrl, String appIcon, long appSize, String appMd5) {
|
||||
this.appId = appId;
|
||||
this.appName = appName;
|
||||
this.appPackage = appPackage;
|
||||
this.appVersionName = appVersionName;
|
||||
this.appVersionCode = appVersionCode;
|
||||
this.appUrl = appUrl;
|
||||
this.appIcon = appIcon;
|
||||
this.appSize = appSize;
|
||||
this.appMd5 = appMd5;
|
||||
}
|
||||
|
||||
public int getAppId() {
|
||||
return appId;
|
||||
}
|
||||
|
||||
public void setAppId(int appId) {
|
||||
this.appId = appId;
|
||||
}
|
||||
|
||||
public String getAppName() {
|
||||
return appName;
|
||||
}
|
||||
|
||||
public void setAppName(String appName) {
|
||||
this.appName = appName;
|
||||
}
|
||||
|
||||
public String getAppPackage() {
|
||||
return appPackage;
|
||||
}
|
||||
|
||||
public void setAppPackage(String appPackage) {
|
||||
this.appPackage = appPackage;
|
||||
}
|
||||
|
||||
public String getAppVersionName() {
|
||||
return appVersionName;
|
||||
}
|
||||
|
||||
public void setAppVersionName(String appVersionName) {
|
||||
this.appVersionName = appVersionName;
|
||||
}
|
||||
|
||||
public long getAppVersionCode() {
|
||||
return appVersionCode;
|
||||
}
|
||||
|
||||
public void setAppVersionCode(long appVersionCode) {
|
||||
this.appVersionCode = appVersionCode;
|
||||
}
|
||||
|
||||
public String getAppUrl() {
|
||||
return appUrl;
|
||||
}
|
||||
|
||||
public void setAppUrl(String appUrl) {
|
||||
this.appUrl = appUrl;
|
||||
}
|
||||
|
||||
public String getAppIcon() {
|
||||
return appIcon;
|
||||
}
|
||||
|
||||
public void setAppIcon(String appIcon) {
|
||||
this.appIcon = appIcon;
|
||||
}
|
||||
|
||||
public long getAppSize() {
|
||||
return appSize;
|
||||
}
|
||||
|
||||
public void setAppSize(long appSize) {
|
||||
this.appSize = appSize;
|
||||
}
|
||||
|
||||
public String getAppMd5() {
|
||||
return appMd5;
|
||||
}
|
||||
|
||||
public void setAppMd5(String appMd5) {
|
||||
this.appMd5 = appMd5;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
|
||||
public static AriaDownloadInfo toAriaDownloadInfo(AppUpdateInfo appUpdateInfo) {
|
||||
return new AriaDownloadInfo(
|
||||
appUpdateInfo.getApp_id(),
|
||||
appUpdateInfo.getApp().getApp_name(),
|
||||
appUpdateInfo.getApp().getApp_package(),
|
||||
appUpdateInfo.getApp_version_name(),
|
||||
appUpdateInfo.getApp_version_code(),
|
||||
appUpdateInfo.getApp_url(),
|
||||
appUpdateInfo.getApp().getIcon(),
|
||||
appUpdateInfo.getApp_size(),
|
||||
appUpdateInfo.getApp_md5()
|
||||
);
|
||||
}
|
||||
//
|
||||
// public static AriaDownloadInfo toAriaDownloadInfo(AppDetails appDetails) {
|
||||
// return new AriaDownloadInfo(
|
||||
// appDetails.getId(),
|
||||
// appDetails.getApp_name(),
|
||||
// appDetails.getApp_package(),
|
||||
// appDetails.getApp_version_name(),
|
||||
// appDetails.getApp_version_code(),
|
||||
// appDetails.getApp_url(),
|
||||
// appDetails.getApp_icon(),
|
||||
// appDetails.getApp_size(),
|
||||
// appDetails.getApp_md5()
|
||||
// );
|
||||
// }
|
||||
}
|
||||
44
app/src/main/java/com/xwad/os/bean/ArticleDetails.java
Normal file
44
app/src/main/java/com/xwad/os/bean/ArticleDetails.java
Normal file
@@ -0,0 +1,44 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class ArticleDetails implements Serializable {
|
||||
private static final long serialVersionUID = -1838902080467423485L;
|
||||
|
||||
int id;
|
||||
String title;
|
||||
String content;
|
||||
String img;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public String getImg() {
|
||||
return img;
|
||||
}
|
||||
|
||||
public void setImg(String img) {
|
||||
this.img = img;
|
||||
}
|
||||
}
|
||||
57
app/src/main/java/com/xwad/os/bean/ArticleInfo.java
Normal file
57
app/src/main/java/com/xwad/os/bean/ArticleInfo.java
Normal file
@@ -0,0 +1,57 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class ArticleInfo implements Serializable {
|
||||
private static final long serialVersionUID = 5156317868469352633L;
|
||||
|
||||
int id;
|
||||
/*标题*/
|
||||
String title;
|
||||
/*内容*/
|
||||
String content;
|
||||
/*缩略图链接*/
|
||||
String img;
|
||||
/*跳转链接*/
|
||||
String jump_url;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public String getImg() {
|
||||
return img;
|
||||
}
|
||||
|
||||
public void setImg(String img) {
|
||||
this.img = img;
|
||||
}
|
||||
|
||||
public String getJump_url() {
|
||||
return jump_url;
|
||||
}
|
||||
|
||||
public void setJump_url(String jump_url) {
|
||||
this.jump_url = jump_url;
|
||||
}
|
||||
}
|
||||
23
app/src/main/java/com/xwad/os/bean/BaseResponse.java
Normal file
23
app/src/main/java/com/xwad/os/bean/BaseResponse.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
public class BaseResponse<T> implements Serializable {
|
||||
private static final long serialVersionUID = 5468533687801294972L;
|
||||
|
||||
public int code;
|
||||
public String msg;
|
||||
public T data;
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
64
app/src/main/java/com/xwad/os/bean/Contact.java
Normal file
64
app/src/main/java/com/xwad/os/bean/Contact.java
Normal file
@@ -0,0 +1,64 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class Contact implements Serializable {
|
||||
private static final long serialVersionUID = 8814155739557674021L;
|
||||
|
||||
int id;
|
||||
String name;//名称
|
||||
int is_urgent;//是否紧急联系人 0否1是
|
||||
String mobile;//手机号
|
||||
String avatar;//头像
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public int getIs_urgent() {
|
||||
return is_urgent;
|
||||
}
|
||||
|
||||
public void setIs_urgent(int is_urgent) {
|
||||
this.is_urgent = is_urgent;
|
||||
}
|
||||
|
||||
public String getMobile() {
|
||||
return mobile;
|
||||
}
|
||||
|
||||
public void setMobile(String mobile) {
|
||||
this.mobile = mobile;
|
||||
}
|
||||
|
||||
public String getAvatar() {
|
||||
return avatar;
|
||||
}
|
||||
|
||||
public void setAvatar(String avatar) {
|
||||
this.avatar = avatar;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
142
app/src/main/java/com/xwad/os/bean/DemandBean.java
Normal file
142
app/src/main/java/com/xwad/os/bean/DemandBean.java
Normal file
@@ -0,0 +1,142 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class DemandBean implements Serializable {
|
||||
private static final long serialVersionUID = 8046770505423171522L;
|
||||
|
||||
int id;
|
||||
//分类名
|
||||
String type_name;
|
||||
//标题
|
||||
String title;
|
||||
String address;
|
||||
String location;
|
||||
//活动时间戳 单位秒
|
||||
long demand_time;
|
||||
//价格
|
||||
int price;
|
||||
//语音地址
|
||||
String voice;
|
||||
//设备名
|
||||
String name;
|
||||
//设备头像
|
||||
String avatar;
|
||||
long add_time;
|
||||
String file;
|
||||
int comment_count;
|
||||
int like_count;
|
||||
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getType_name() {
|
||||
return type_name;
|
||||
}
|
||||
|
||||
public void setType_name(String type_name) {
|
||||
this.type_name = type_name;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public String getLocation() {
|
||||
return location;
|
||||
}
|
||||
|
||||
public void setLocation(String location) {
|
||||
this.location = location;
|
||||
}
|
||||
|
||||
public long getDemand_time() {
|
||||
return demand_time;
|
||||
}
|
||||
|
||||
public void setDemand_time(long demand_time) {
|
||||
this.demand_time = demand_time;
|
||||
}
|
||||
|
||||
public int getPrice() {
|
||||
return price;
|
||||
}
|
||||
|
||||
public void setPrice(int price) {
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
public String getVoice() {
|
||||
return voice;
|
||||
}
|
||||
|
||||
public void setVoice(String voice) {
|
||||
this.voice = voice;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getAvatar() {
|
||||
return avatar;
|
||||
}
|
||||
|
||||
public void setAvatar(String avatar) {
|
||||
this.avatar = avatar;
|
||||
}
|
||||
|
||||
public long getAdd_time() {
|
||||
return add_time;
|
||||
}
|
||||
|
||||
public void setAdd_time(long add_time) {
|
||||
this.add_time = add_time;
|
||||
}
|
||||
|
||||
public String getFile() {
|
||||
return file;
|
||||
}
|
||||
|
||||
public void setFile(String file) {
|
||||
this.file = file;
|
||||
}
|
||||
|
||||
public int getComment_count() {
|
||||
return comment_count;
|
||||
}
|
||||
|
||||
public void setComment_count(int comment_count) {
|
||||
this.comment_count = comment_count;
|
||||
}
|
||||
|
||||
public int getLike_count() {
|
||||
return like_count;
|
||||
}
|
||||
|
||||
public void setLike_count(int like_count) {
|
||||
this.like_count = like_count;
|
||||
}
|
||||
}
|
||||
140
app/src/main/java/com/xwad/os/bean/DesktopIcon.java
Normal file
140
app/src/main/java/com/xwad/os/bean/DesktopIcon.java
Normal file
@@ -0,0 +1,140 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.content.pm.ResolveInfo;
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.PixelFormat;
|
||||
import android.graphics.drawable.BitmapDrawable;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.graphics.drawable.VectorDrawable;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class DesktopIcon implements Serializable, Parcelable {
|
||||
private static final long serialVersionUID = 3358230413497783708L;
|
||||
|
||||
String packageName;
|
||||
String className;
|
||||
Drawable icon;
|
||||
String lable;
|
||||
int position;
|
||||
|
||||
public DesktopIcon() {
|
||||
|
||||
}
|
||||
|
||||
private DesktopIcon(Parcel in) {
|
||||
packageName = in.readStringNoHelper();
|
||||
lable = in.readStringNoHelper();
|
||||
position = in.readInt();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeToParcel(Parcel dest, int flags) {
|
||||
dest.writeStringNoHelper(packageName);
|
||||
dest.writeStringNoHelper(lable);
|
||||
dest.writeInt(position);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int describeContents() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static final Creator<DesktopIcon> CREATOR = new Creator<DesktopIcon>() {
|
||||
@Override
|
||||
public DesktopIcon createFromParcel(Parcel in) {
|
||||
return new DesktopIcon(in);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DesktopIcon[] newArray(int size) {
|
||||
return new DesktopIcon[size];
|
||||
}
|
||||
};
|
||||
|
||||
public String getPackageName() {
|
||||
return packageName;
|
||||
}
|
||||
|
||||
public void setPackageName(String packageName) {
|
||||
this.packageName = packageName;
|
||||
}
|
||||
|
||||
public String getClassName() {
|
||||
return className;
|
||||
}
|
||||
|
||||
public void setClassName(String className) {
|
||||
this.className = className;
|
||||
}
|
||||
|
||||
public Drawable getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(Drawable icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public String getLable() {
|
||||
return lable;
|
||||
}
|
||||
|
||||
public void setLable(String lable) {
|
||||
this.lable = lable;
|
||||
}
|
||||
|
||||
public int getPosition() {
|
||||
return position;
|
||||
}
|
||||
|
||||
public void setPosition(int position) {
|
||||
this.position = position;
|
||||
}
|
||||
|
||||
public static DesktopIcon creatDesktopIcon(Context context, ResolveInfo resolveInfo) {
|
||||
PackageManager pm = context.getPackageManager();
|
||||
DesktopIcon desktopIcon = new DesktopIcon();
|
||||
desktopIcon.setPackageName(resolveInfo.activityInfo.packageName);
|
||||
desktopIcon.setClassName(resolveInfo.activityInfo.name);
|
||||
Drawable drawable = resolveInfo.loadIcon(pm);
|
||||
if (drawable instanceof VectorDrawable) {
|
||||
Bitmap bitmap = Bitmap.createBitmap(drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight(),
|
||||
drawable.getOpacity() != PixelFormat.OPAQUE ? Bitmap.Config.ARGB_8888 : Bitmap.Config.RGB_565);
|
||||
Canvas canvas = new Canvas(bitmap);
|
||||
drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight());
|
||||
drawable.draw(canvas);
|
||||
Drawable d = new BitmapDrawable(context.getResources(), bitmap);
|
||||
desktopIcon.setIcon(d);
|
||||
} else {
|
||||
desktopIcon.setIcon(drawable);
|
||||
}
|
||||
desktopIcon.setLable(resolveInfo.loadLabel(pm).toString());
|
||||
desktopIcon.setPosition(0);
|
||||
return desktopIcon;
|
||||
}
|
||||
|
||||
public static DesktopIcon creatDesktopIcon(Context context, ResolveInfo resolveInfo, int position) {
|
||||
PackageManager pm = context.getPackageManager();
|
||||
DesktopIcon desktopIcon = new DesktopIcon();
|
||||
desktopIcon.setPackageName(resolveInfo.activityInfo.packageName);
|
||||
desktopIcon.setClassName(resolveInfo.activityInfo.name);
|
||||
desktopIcon.setIcon(resolveInfo.loadIcon(pm));
|
||||
desktopIcon.setLable(resolveInfo.loadLabel(pm).toString());
|
||||
desktopIcon.setPosition(position);
|
||||
return desktopIcon;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return packageName + "/" + className;
|
||||
}
|
||||
}
|
||||
88
app/src/main/java/com/xwad/os/bean/GoodsDetails.java
Normal file
88
app/src/main/java/com/xwad/os/bean/GoodsDetails.java
Normal file
@@ -0,0 +1,88 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class GoodsDetails implements Serializable {
|
||||
private static final long serialVersionUID = 8555224831444328502L;
|
||||
int id;
|
||||
String goods_name;
|
||||
String img;
|
||||
String goods_desc;
|
||||
float original_price;
|
||||
float buying_price;
|
||||
int stock;
|
||||
String details_img;
|
||||
String video_url;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getGoods_name() {
|
||||
return goods_name;
|
||||
}
|
||||
|
||||
public void setGoods_name(String goods_name) {
|
||||
this.goods_name = goods_name;
|
||||
}
|
||||
|
||||
public String getImg() {
|
||||
return img;
|
||||
}
|
||||
|
||||
public void setImg(String img) {
|
||||
this.img = img;
|
||||
}
|
||||
|
||||
public String getGoods_desc() {
|
||||
return goods_desc;
|
||||
}
|
||||
|
||||
public void setGoods_desc(String goods_desc) {
|
||||
this.goods_desc = goods_desc;
|
||||
}
|
||||
|
||||
public float getOriginal_price() {
|
||||
return original_price;
|
||||
}
|
||||
|
||||
public void setOriginal_price(float original_price) {
|
||||
this.original_price = original_price;
|
||||
}
|
||||
|
||||
public float getBuying_price() {
|
||||
return buying_price;
|
||||
}
|
||||
|
||||
public void setBuying_price(float buying_price) {
|
||||
this.buying_price = buying_price;
|
||||
}
|
||||
|
||||
public int getStock() {
|
||||
return stock;
|
||||
}
|
||||
|
||||
public void setStock(int stock) {
|
||||
this.stock = stock;
|
||||
}
|
||||
|
||||
public String getDetails_img() {
|
||||
return details_img;
|
||||
}
|
||||
|
||||
public void setDetails_img(String details_img) {
|
||||
this.details_img = details_img;
|
||||
}
|
||||
|
||||
public String getVideo_url() {
|
||||
return video_url;
|
||||
}
|
||||
|
||||
public void setVideo_url(String video_url) {
|
||||
this.video_url = video_url;
|
||||
}
|
||||
}
|
||||
107
app/src/main/java/com/xwad/os/bean/GoodsInfo.java
Normal file
107
app/src/main/java/com/xwad/os/bean/GoodsInfo.java
Normal file
@@ -0,0 +1,107 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class GoodsInfo implements Serializable {
|
||||
private static final long serialVersionUID = -229267734972111105L;
|
||||
int id;
|
||||
/*商品名*/
|
||||
String goods_name;
|
||||
/*简介*/
|
||||
String goods_desc;
|
||||
/*缩略图链接*/
|
||||
String img;
|
||||
/*详情图链接*/
|
||||
String details_img;
|
||||
/*视频链接*/
|
||||
String video_url;
|
||||
/*原价*/
|
||||
float original_price;
|
||||
/*抢购价*/
|
||||
float buying_price;
|
||||
/*库存*/
|
||||
int stock;
|
||||
/*跳转链接*/
|
||||
String jump_url;
|
||||
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getGoods_name() {
|
||||
return goods_name;
|
||||
}
|
||||
|
||||
public void setGoods_name(String goods_name) {
|
||||
this.goods_name = goods_name;
|
||||
}
|
||||
|
||||
public String getGoods_desc() {
|
||||
return goods_desc;
|
||||
}
|
||||
|
||||
public void setGoods_desc(String goods_desc) {
|
||||
this.goods_desc = goods_desc;
|
||||
}
|
||||
|
||||
public String getImg() {
|
||||
return img;
|
||||
}
|
||||
|
||||
public void setImg(String img) {
|
||||
this.img = img;
|
||||
}
|
||||
|
||||
public String getDetails_img() {
|
||||
return details_img;
|
||||
}
|
||||
|
||||
public void setDetails_img(String details_img) {
|
||||
this.details_img = details_img;
|
||||
}
|
||||
|
||||
public String getVideo_url() {
|
||||
return video_url;
|
||||
}
|
||||
|
||||
public void setVideo_url(String video_url) {
|
||||
this.video_url = video_url;
|
||||
}
|
||||
|
||||
public float getOriginal_price() {
|
||||
return original_price;
|
||||
}
|
||||
|
||||
public void setOriginal_price(float original_price) {
|
||||
this.original_price = original_price;
|
||||
}
|
||||
|
||||
public float getBuying_price() {
|
||||
return buying_price;
|
||||
}
|
||||
|
||||
public void setBuying_price(float buying_price) {
|
||||
this.buying_price = buying_price;
|
||||
}
|
||||
|
||||
public int getStock() {
|
||||
return stock;
|
||||
}
|
||||
|
||||
public void setStock(int stock) {
|
||||
this.stock = stock;
|
||||
}
|
||||
|
||||
public String getJump_url() {
|
||||
return jump_url;
|
||||
}
|
||||
|
||||
public void setJump_url(String jump_url) {
|
||||
this.jump_url = jump_url;
|
||||
}
|
||||
}
|
||||
26
app/src/main/java/com/xwad/os/bean/GuideBean.java
Normal file
26
app/src/main/java/com/xwad/os/bean/GuideBean.java
Normal file
@@ -0,0 +1,26 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class GuideBean implements Serializable {
|
||||
private static final long serialVersionUID = 603876094734315379L;
|
||||
|
||||
String type;
|
||||
String file;
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getFile() {
|
||||
return file;
|
||||
}
|
||||
|
||||
public void setFile(String file) {
|
||||
this.file = file;
|
||||
}
|
||||
}
|
||||
26
app/src/main/java/com/xwad/os/bean/HealthCode.java
Normal file
26
app/src/main/java/com/xwad/os/bean/HealthCode.java
Normal file
@@ -0,0 +1,26 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class HealthCode implements Serializable {
|
||||
private static final long serialVersionUID = 3722434160181671038L;
|
||||
|
||||
int id;
|
||||
String img;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getImg() {
|
||||
return img;
|
||||
}
|
||||
|
||||
public void setImg(String img) {
|
||||
this.img = img;
|
||||
}
|
||||
}
|
||||
188
app/src/main/java/com/xwad/os/bean/HomeworkBean.java
Normal file
188
app/src/main/java/com/xwad/os/bean/HomeworkBean.java
Normal file
@@ -0,0 +1,188 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class HomeworkBean implements Serializable, Parcelable {
|
||||
private static final long serialVersionUID = 4974017718666880157L;
|
||||
|
||||
int id;
|
||||
int subject_id;
|
||||
int status;
|
||||
String sn;
|
||||
String title;
|
||||
String content;
|
||||
List<String> file_url;
|
||||
String file_name;
|
||||
int file_type;
|
||||
int work_type;
|
||||
String end_time;
|
||||
String created_at;
|
||||
String updated_at;
|
||||
HomeworkSubject subject;
|
||||
|
||||
protected HomeworkBean(Parcel in) {
|
||||
id = in.readInt();
|
||||
subject_id = in.readInt();
|
||||
status = in.readInt();
|
||||
sn = in.readStringNoHelper();
|
||||
title = in.readStringNoHelper();
|
||||
content = in.readStringNoHelper();
|
||||
file_url = in.createStringArrayList();
|
||||
file_name = in.readStringNoHelper();
|
||||
file_type = in.readInt();
|
||||
work_type = in.readInt();
|
||||
end_time = in.readStringNoHelper();
|
||||
created_at = in.readStringNoHelper();
|
||||
updated_at = in.readStringNoHelper();
|
||||
}
|
||||
|
||||
public static final Creator<HomeworkBean> CREATOR = new Creator<HomeworkBean>() {
|
||||
@Override
|
||||
public HomeworkBean createFromParcel(Parcel in) {
|
||||
return new HomeworkBean(in);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HomeworkBean[] newArray(int size) {
|
||||
return new HomeworkBean[size];
|
||||
}
|
||||
};
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getSubject_id() {
|
||||
return subject_id;
|
||||
}
|
||||
|
||||
public void setSubject_id(int subject_id) {
|
||||
this.subject_id = subject_id;
|
||||
}
|
||||
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getSn() {
|
||||
return sn;
|
||||
}
|
||||
|
||||
public void setSn(String sn) {
|
||||
this.sn = sn;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public List<String> getFile_url() {
|
||||
return file_url;
|
||||
}
|
||||
|
||||
public void setFile_url(List<String> file_url) {
|
||||
this.file_url = file_url;
|
||||
}
|
||||
|
||||
public String getFile_name() {
|
||||
return file_name;
|
||||
}
|
||||
|
||||
public void setFile_name(String file_name) {
|
||||
this.file_name = file_name;
|
||||
}
|
||||
|
||||
public int getFile_type() {
|
||||
return file_type;
|
||||
}
|
||||
|
||||
public void setFile_type(int file_type) {
|
||||
this.file_type = file_type;
|
||||
}
|
||||
|
||||
public int getWork_type() {
|
||||
return work_type;
|
||||
}
|
||||
|
||||
public void setWork_type(int work_type) {
|
||||
this.work_type = work_type;
|
||||
}
|
||||
|
||||
public String getEnd_time() {
|
||||
return end_time;
|
||||
}
|
||||
|
||||
public void setEnd_time(String end_time) {
|
||||
this.end_time = end_time;
|
||||
}
|
||||
|
||||
public String getCreated_at() {
|
||||
return created_at;
|
||||
}
|
||||
|
||||
public void setCreated_at(String created_at) {
|
||||
this.created_at = created_at;
|
||||
}
|
||||
|
||||
public String getUpdated_at() {
|
||||
return updated_at;
|
||||
}
|
||||
|
||||
public void setUpdated_at(String updated_at) {
|
||||
this.updated_at = updated_at;
|
||||
}
|
||||
|
||||
public HomeworkSubject getSubject() {
|
||||
return subject;
|
||||
}
|
||||
|
||||
public void setSubject(HomeworkSubject subject) {
|
||||
this.subject = subject;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int describeContents() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeToParcel(Parcel parcel, int i) {
|
||||
parcel.writeInt(id);
|
||||
parcel.writeInt(subject_id);
|
||||
parcel.writeInt(status);
|
||||
parcel.writeString(sn);
|
||||
parcel.writeString(title);
|
||||
parcel.writeString(content);
|
||||
parcel.writeStringList(file_url);
|
||||
parcel.writeString(file_name);
|
||||
parcel.writeInt(file_type);
|
||||
parcel.writeInt(work_type);
|
||||
parcel.writeString(end_time);
|
||||
parcel.writeString(created_at);
|
||||
parcel.writeString(updated_at);
|
||||
}
|
||||
}
|
||||
26
app/src/main/java/com/xwad/os/bean/HomeworkSubject.java
Normal file
26
app/src/main/java/com/xwad/os/bean/HomeworkSubject.java
Normal file
@@ -0,0 +1,26 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class HomeworkSubject implements Serializable {
|
||||
private static final long serialVersionUID = 8454145003419075553L;
|
||||
|
||||
int id;
|
||||
String name;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
}
|
||||
79
app/src/main/java/com/xwad/os/bean/LessonApp.java
Normal file
79
app/src/main/java/com/xwad/os/bean/LessonApp.java
Normal file
@@ -0,0 +1,79 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class LessonApp implements Serializable {
|
||||
private static final long serialVersionUID = -7239207868023265592L;
|
||||
|
||||
int id;
|
||||
List<App> app;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public List<App> getApp() {
|
||||
return app;
|
||||
}
|
||||
|
||||
public void setApp(List<App> app) {
|
||||
this.app = app;
|
||||
}
|
||||
|
||||
public class App implements Serializable {
|
||||
private static final long serialVersionUID = -3442928771696560097L;
|
||||
|
||||
int id;
|
||||
String app_package;
|
||||
String app_md5;
|
||||
String app_url;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getApp_package() {
|
||||
return app_package;
|
||||
}
|
||||
|
||||
public void setApp_package(String app_package) {
|
||||
this.app_package = app_package;
|
||||
}
|
||||
|
||||
public String getApp_md5() {
|
||||
return app_md5;
|
||||
}
|
||||
|
||||
public void setApp_md5(String app_md5) {
|
||||
this.app_md5 = app_md5;
|
||||
}
|
||||
|
||||
public String getApp_url() {
|
||||
return app_url;
|
||||
}
|
||||
|
||||
public void setApp_url(String app_url) {
|
||||
this.app_url = app_url;
|
||||
}
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
64
app/src/main/java/com/xwad/os/bean/LessonJson.java
Normal file
64
app/src/main/java/com/xwad/os/bean/LessonJson.java
Normal file
@@ -0,0 +1,64 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class LessonJson implements Serializable {
|
||||
private static final long serialVersionUID = 6825242822560631014L;
|
||||
|
||||
int is_lesson;
|
||||
String start_time;
|
||||
String end_time;
|
||||
int is_monitor;
|
||||
String pkgs;
|
||||
|
||||
public int getIs_lesson() {
|
||||
return is_lesson;
|
||||
}
|
||||
|
||||
public void setIs_lesson(int is_lesson) {
|
||||
this.is_lesson = is_lesson;
|
||||
}
|
||||
|
||||
public String getStart_time() {
|
||||
return start_time;
|
||||
}
|
||||
|
||||
public void setStart_time(String start_time) {
|
||||
this.start_time = start_time;
|
||||
}
|
||||
|
||||
public String getEnd_time() {
|
||||
return end_time;
|
||||
}
|
||||
|
||||
public void setEnd_time(String end_time) {
|
||||
this.end_time = end_time;
|
||||
}
|
||||
|
||||
public int getIs_monitor() {
|
||||
return is_monitor;
|
||||
}
|
||||
|
||||
public void setIs_monitor(int is_monitor) {
|
||||
this.is_monitor = is_monitor;
|
||||
}
|
||||
|
||||
public String getPkgs() {
|
||||
return pkgs;
|
||||
}
|
||||
|
||||
public void setPkgs(String pkgs) {
|
||||
this.pkgs = pkgs;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
64
app/src/main/java/com/xwad/os/bean/LessonSetting.java
Normal file
64
app/src/main/java/com/xwad/os/bean/LessonSetting.java
Normal file
@@ -0,0 +1,64 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class LessonSetting implements Serializable {
|
||||
private static final long serialVersionUID = -6129161360078961573L;
|
||||
|
||||
int id;
|
||||
int is_lesson;//是否开启网课模式 0否1是
|
||||
String start_time;//可用时段 开始时间
|
||||
String end_time;//可用时段 结束时间
|
||||
int is_monitor;//是否开启网课监控 0否1是
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getIs_lesson() {
|
||||
return is_lesson;
|
||||
}
|
||||
|
||||
public void setIs_lesson(int is_lesson) {
|
||||
this.is_lesson = is_lesson;
|
||||
}
|
||||
|
||||
public String getStart_time() {
|
||||
return start_time;
|
||||
}
|
||||
|
||||
public void setStart_time(String start_time) {
|
||||
this.start_time = start_time;
|
||||
}
|
||||
|
||||
public String getEnd_time() {
|
||||
return end_time;
|
||||
}
|
||||
|
||||
public void setEnd_time(String end_time) {
|
||||
this.end_time = end_time;
|
||||
}
|
||||
|
||||
public int getIs_monitor() {
|
||||
return is_monitor;
|
||||
}
|
||||
|
||||
public void setIs_monitor(int is_monitor) {
|
||||
this.is_monitor = is_monitor;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
134
app/src/main/java/com/xwad/os/bean/MapBean.java
Normal file
134
app/src/main/java/com/xwad/os/bean/MapBean.java
Normal file
@@ -0,0 +1,134 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class MapBean implements Serializable {
|
||||
private static final long serialVersionUID = -4356064111098876676L;
|
||||
|
||||
double longitude;
|
||||
double latitude;
|
||||
String adcode;
|
||||
String address;
|
||||
String city;
|
||||
String cityCode;
|
||||
String country;
|
||||
String countryCode;
|
||||
String district;
|
||||
String province;
|
||||
String street;
|
||||
String streetNumber;
|
||||
String town;
|
||||
String locationDescribe;
|
||||
|
||||
public double getLongitude() {
|
||||
return longitude;
|
||||
}
|
||||
|
||||
public void setLongitude(double longitude) {
|
||||
this.longitude = longitude;
|
||||
}
|
||||
|
||||
public double getLatitude() {
|
||||
return latitude;
|
||||
}
|
||||
|
||||
public void setLatitude(double latitude) {
|
||||
this.latitude = latitude;
|
||||
}
|
||||
|
||||
public String getAdcode() {
|
||||
return adcode;
|
||||
}
|
||||
|
||||
public void setAdcode(String adcode) {
|
||||
this.adcode = adcode;
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public String getCity() {
|
||||
return city;
|
||||
}
|
||||
|
||||
public void setCity(String city) {
|
||||
this.city = city;
|
||||
}
|
||||
|
||||
public String getCityCode() {
|
||||
return cityCode;
|
||||
}
|
||||
|
||||
public void setCityCode(String cityCode) {
|
||||
this.cityCode = cityCode;
|
||||
}
|
||||
|
||||
public String getCountry() {
|
||||
return country;
|
||||
}
|
||||
|
||||
public void setCountry(String country) {
|
||||
this.country = country;
|
||||
}
|
||||
|
||||
public String getCountryCode() {
|
||||
return countryCode;
|
||||
}
|
||||
|
||||
public void setCountryCode(String countryCode) {
|
||||
this.countryCode = countryCode;
|
||||
}
|
||||
|
||||
public String getDistrict() {
|
||||
return district;
|
||||
}
|
||||
|
||||
public void setDistrict(String district) {
|
||||
this.district = district;
|
||||
}
|
||||
|
||||
public String getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
public void setProvince(String province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
public String getStreet() {
|
||||
return street;
|
||||
}
|
||||
|
||||
public void setStreet(String street) {
|
||||
this.street = street;
|
||||
}
|
||||
|
||||
public String getStreetNumber() {
|
||||
return streetNumber;
|
||||
}
|
||||
|
||||
public void setStreetNumber(String streetNumber) {
|
||||
this.streetNumber = streetNumber;
|
||||
}
|
||||
|
||||
public String getTown() {
|
||||
return town;
|
||||
}
|
||||
|
||||
public void setTown(String town) {
|
||||
this.town = town;
|
||||
}
|
||||
|
||||
public String getLocationDescribe() {
|
||||
return locationDescribe;
|
||||
}
|
||||
|
||||
public void setLocationDescribe(String locationDescribe) {
|
||||
this.locationDescribe = locationDescribe;
|
||||
}
|
||||
}
|
||||
57
app/src/main/java/com/xwad/os/bean/NetDesktopIcon.java
Normal file
57
app/src/main/java/com/xwad/os/bean/NetDesktopIcon.java
Normal file
@@ -0,0 +1,57 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class NetDesktopIcon implements Serializable {
|
||||
private static final long serialVersionUID = 7070889522236163187L;
|
||||
int id;
|
||||
String name;
|
||||
@SerializedName("package")
|
||||
String packages;
|
||||
Bitmap icon;
|
||||
int num;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getPackages() {
|
||||
return packages;
|
||||
}
|
||||
|
||||
public void setPackages(String packages) {
|
||||
this.packages = packages;
|
||||
}
|
||||
|
||||
public Bitmap getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(Bitmap icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public int getNum() {
|
||||
return num;
|
||||
}
|
||||
|
||||
public void setNum(int num) {
|
||||
this.num = num;
|
||||
}
|
||||
}
|
||||
17
app/src/main/java/com/xwad/os/bean/PhraseContent.java
Normal file
17
app/src/main/java/com/xwad/os/bean/PhraseContent.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class PhraseContent implements Serializable {
|
||||
private static final long serialVersionUID = -3136093792143273374L;
|
||||
|
||||
String content;
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
}
|
||||
28
app/src/main/java/com/xwad/os/bean/ScreenPassword.java
Normal file
28
app/src/main/java/com/xwad/os/bean/ScreenPassword.java
Normal file
@@ -0,0 +1,28 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class ScreenPassword implements Serializable {
|
||||
private static final long serialVersionUID = 4417211558962408699L;
|
||||
|
||||
String pwd;
|
||||
|
||||
public String getPwd() {
|
||||
return pwd;
|
||||
}
|
||||
|
||||
public void setPwd(String pwd) {
|
||||
this.pwd = pwd;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
181
app/src/main/java/com/xwad/os/bean/SnInfo.java
Normal file
181
app/src/main/java/com/xwad/os/bean/SnInfo.java
Normal file
@@ -0,0 +1,181 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class SnInfo implements Serializable {
|
||||
private static final long serialVersionUID = -5268233433601073239L;
|
||||
|
||||
String sn_value;
|
||||
int is_log;
|
||||
int is_log_type;
|
||||
int sex;//1 男 2 女 0 默认
|
||||
String devices_version;
|
||||
String sn_name;
|
||||
String school;
|
||||
String is_lock;
|
||||
String is_reset;
|
||||
String grade;
|
||||
String class_name;
|
||||
/*
|
||||
*3 商用——企业用户
|
||||
4 C端——老人用户
|
||||
5 教育——机构用户
|
||||
6 C端——学生用户
|
||||
7 C端——DIY用户
|
||||
8 C端——经销商
|
||||
*
|
||||
* */
|
||||
int type_id;
|
||||
String mobile;
|
||||
String avatar;
|
||||
long binding_time;
|
||||
long study_time;
|
||||
int study_time_ranking;
|
||||
|
||||
public String getSn_value() {
|
||||
return sn_value;
|
||||
}
|
||||
|
||||
public void setSn_value(String sn_value) {
|
||||
this.sn_value = sn_value;
|
||||
}
|
||||
|
||||
public int getIs_log() {
|
||||
return is_log;
|
||||
}
|
||||
|
||||
public void setIs_log(int is_log) {
|
||||
this.is_log = is_log;
|
||||
}
|
||||
|
||||
public int getIs_log_type() {
|
||||
return is_log_type;
|
||||
}
|
||||
|
||||
public void setIs_log_type(int is_log_type) {
|
||||
this.is_log_type = is_log_type;
|
||||
}
|
||||
|
||||
public int getSex() {
|
||||
return sex;
|
||||
}
|
||||
|
||||
public void setSex(int sex) {
|
||||
this.sex = sex;
|
||||
}
|
||||
|
||||
public String getDevices_version() {
|
||||
return devices_version;
|
||||
}
|
||||
|
||||
public void setDevices_version(String devices_version) {
|
||||
this.devices_version = devices_version;
|
||||
}
|
||||
|
||||
public String getSn_name() {
|
||||
return sn_name;
|
||||
}
|
||||
|
||||
public void setSn_name(String sn_name) {
|
||||
this.sn_name = sn_name;
|
||||
}
|
||||
|
||||
public String getSchool() {
|
||||
return school;
|
||||
}
|
||||
|
||||
public void setSchool(String school) {
|
||||
this.school = school;
|
||||
}
|
||||
|
||||
public String getIs_lock() {
|
||||
return is_lock;
|
||||
}
|
||||
|
||||
public void setIs_lock(String is_lock) {
|
||||
this.is_lock = is_lock;
|
||||
}
|
||||
|
||||
public String getIs_reset() {
|
||||
return is_reset;
|
||||
}
|
||||
|
||||
public void setIs_reset(String is_reset) {
|
||||
this.is_reset = is_reset;
|
||||
}
|
||||
|
||||
public String getGrade() {
|
||||
return grade;
|
||||
}
|
||||
|
||||
public void setGrade(String grade) {
|
||||
this.grade = grade;
|
||||
}
|
||||
|
||||
public String getClass_name() {
|
||||
return class_name;
|
||||
}
|
||||
|
||||
public void setClass_name(String class_name) {
|
||||
this.class_name = class_name;
|
||||
}
|
||||
|
||||
public int getType_id() {
|
||||
return type_id;
|
||||
}
|
||||
|
||||
public void setType_id(int type_id) {
|
||||
this.type_id = type_id;
|
||||
}
|
||||
|
||||
public String getMobile() {
|
||||
return mobile;
|
||||
}
|
||||
|
||||
public void setMobile(String mobile) {
|
||||
this.mobile = mobile;
|
||||
}
|
||||
|
||||
public String getAvatar() {
|
||||
return avatar;
|
||||
}
|
||||
|
||||
public void setAvatar(String avatar) {
|
||||
this.avatar = avatar;
|
||||
}
|
||||
|
||||
public long getBinding_time() {
|
||||
return binding_time;
|
||||
}
|
||||
|
||||
public void setBinding_time(long binding_time) {
|
||||
this.binding_time = binding_time;
|
||||
}
|
||||
|
||||
public long getStudy_time() {
|
||||
return study_time;
|
||||
}
|
||||
|
||||
public void setStudy_time(long study_time) {
|
||||
this.study_time = study_time;
|
||||
}
|
||||
|
||||
public int getStudy_time_ranking() {
|
||||
return study_time_ranking;
|
||||
}
|
||||
|
||||
public void setStudy_time_ranking(int study_time_ranking) {
|
||||
this.study_time_ranking = study_time_ranking;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
29
app/src/main/java/com/xwad/os/bean/StudyStatBean.java
Normal file
29
app/src/main/java/com/xwad/os/bean/StudyStatBean.java
Normal file
@@ -0,0 +1,29 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class StudyStatBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -5373574945126624447L;
|
||||
|
||||
String study_exceed;
|
||||
|
||||
public String getStudy_exceed() {
|
||||
return study_exceed;
|
||||
}
|
||||
|
||||
public void setStudy_exceed(String study_exceed) {
|
||||
this.study_exceed = study_exceed;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
529
app/src/main/java/com/xwad/os/bean/SystemSettings.java
Normal file
529
app/src/main/java/com/xwad/os/bean/SystemSettings.java
Normal file
@@ -0,0 +1,529 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class SystemSettings implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -7763589370400496883L;
|
||||
|
||||
int setting_call;
|
||||
int setting_memory;
|
||||
String setting_usb;
|
||||
int setting_bluetooth;
|
||||
int setting_navigation;
|
||||
int setting_statusbar;
|
||||
int setting_tfmedia;
|
||||
String setting_phones;
|
||||
int setting_phone;
|
||||
int setting_camera;
|
||||
String setting_tfmedia_format;
|
||||
int setting_clock;
|
||||
int setting_recording;
|
||||
int setting_music;
|
||||
int setting_picture;
|
||||
int setting_wallpaper;
|
||||
int setting_file;
|
||||
int setting_browser;
|
||||
int setting_bhtvideo;
|
||||
String setting_context;
|
||||
|
||||
int setting_bht;
|
||||
int setting_hotspot;
|
||||
int qch_restore;
|
||||
int setting_browserInput;
|
||||
int dev_mode;
|
||||
String setting_sos;
|
||||
String setting_volume;
|
||||
String setting_luminance;
|
||||
String setting_typeface;
|
||||
int setting_admin_app;
|
||||
int projection_screen;
|
||||
int hot_point;
|
||||
String desktop_app;
|
||||
String browser_app;
|
||||
String typewriting_app;
|
||||
int is_control;
|
||||
|
||||
int setting_rotation;
|
||||
int setting_airplane;
|
||||
int setting_disturbance;
|
||||
int setting_location;
|
||||
int setting_charge;
|
||||
int setting_other_appInstaller;
|
||||
int is_quickapp;
|
||||
String quickapp;
|
||||
int is_storeinstall;
|
||||
int is_timecontrol;
|
||||
String timecontrol_start;
|
||||
String timecontrol_end;
|
||||
int is_return_android;
|
||||
|
||||
int is_bluetooth_share;
|
||||
int is_developer_mode;
|
||||
int is_device_recover;
|
||||
int is_top_notify;
|
||||
int is_bottom_bar;
|
||||
int is_notify_bar_show;
|
||||
int voice_assistant;
|
||||
|
||||
public int getQch_restore() {
|
||||
return qch_restore;
|
||||
}
|
||||
|
||||
public void setQch_restore(int qch_restore) {
|
||||
this.qch_restore = qch_restore;
|
||||
}
|
||||
|
||||
public int getSetting_browserInput() {
|
||||
return setting_browserInput;
|
||||
}
|
||||
|
||||
public void setSetting_browserInput(int setting_browserInput) {
|
||||
this.setting_browserInput = setting_browserInput;
|
||||
}
|
||||
|
||||
public int getDev_mode() {
|
||||
return dev_mode;
|
||||
}
|
||||
|
||||
public void setDev_mode(int dev_mode) {
|
||||
this.dev_mode = dev_mode;
|
||||
}
|
||||
|
||||
|
||||
public int getSetting_call() {
|
||||
return setting_call;
|
||||
}
|
||||
|
||||
public void setSetting_call(int setting_call) {
|
||||
this.setting_call = setting_call;
|
||||
}
|
||||
|
||||
public int getSetting_memory() {
|
||||
return setting_memory;
|
||||
}
|
||||
|
||||
public void setSetting_memory(int setting_memory) {
|
||||
this.setting_memory = setting_memory;
|
||||
}
|
||||
|
||||
public String getSetting_usb() {
|
||||
return setting_usb;
|
||||
}
|
||||
|
||||
public void setSetting_usb(String setting_usb) {
|
||||
this.setting_usb = setting_usb;
|
||||
}
|
||||
|
||||
public int getSetting_bluetooth() {
|
||||
return setting_bluetooth;
|
||||
}
|
||||
|
||||
public void setSetting_bluetooth(int setting_bluetooth) {
|
||||
this.setting_bluetooth = setting_bluetooth;
|
||||
}
|
||||
|
||||
public int getSetting_navigation() {
|
||||
return setting_navigation;
|
||||
}
|
||||
|
||||
public void setSetting_navigation(int setting_navigation) {
|
||||
this.setting_navigation = setting_navigation;
|
||||
}
|
||||
|
||||
public int getSetting_statusbar() {
|
||||
return setting_statusbar;
|
||||
}
|
||||
|
||||
public void setSetting_statusbar(int setting_statusbar) {
|
||||
this.setting_statusbar = setting_statusbar;
|
||||
}
|
||||
|
||||
public int getSetting_tfmedia() {
|
||||
return setting_tfmedia;
|
||||
}
|
||||
|
||||
public void setSetting_tfmedia(int setting_tfmedia) {
|
||||
this.setting_tfmedia = setting_tfmedia;
|
||||
}
|
||||
|
||||
public String getSetting_phones() {
|
||||
return setting_phones;
|
||||
}
|
||||
|
||||
public void setSetting_phones(String setting_phones) {
|
||||
this.setting_phones = setting_phones;
|
||||
}
|
||||
|
||||
public int getSetting_phone() {
|
||||
return setting_phone;
|
||||
}
|
||||
|
||||
public void setSetting_phone(int setting_phone) {
|
||||
this.setting_phone = setting_phone;
|
||||
}
|
||||
|
||||
public int getSetting_camera() {
|
||||
return setting_camera;
|
||||
}
|
||||
|
||||
public void setSetting_camera(int setting_camera) {
|
||||
this.setting_camera = setting_camera;
|
||||
}
|
||||
|
||||
public String getSetting_tfmedia_format() {
|
||||
return setting_tfmedia_format;
|
||||
}
|
||||
|
||||
public void setSetting_tfmedia_format(String setting_tfmedia_format) {
|
||||
this.setting_tfmedia_format = setting_tfmedia_format;
|
||||
}
|
||||
|
||||
public int getSetting_clock() {
|
||||
return setting_clock;
|
||||
}
|
||||
|
||||
public void setSetting_clock(int setting_clock) {
|
||||
this.setting_clock = setting_clock;
|
||||
}
|
||||
|
||||
public int getSetting_recording() {
|
||||
return setting_recording;
|
||||
}
|
||||
|
||||
public void setSetting_recording(int setting_recording) {
|
||||
this.setting_recording = setting_recording;
|
||||
}
|
||||
|
||||
public int getSetting_music() {
|
||||
return setting_music;
|
||||
}
|
||||
|
||||
public void setSetting_music(int setting_music) {
|
||||
this.setting_music = setting_music;
|
||||
}
|
||||
|
||||
public int getSetting_picture() {
|
||||
return setting_picture;
|
||||
}
|
||||
|
||||
public void setSetting_picture(int setting_picture) {
|
||||
this.setting_picture = setting_picture;
|
||||
}
|
||||
|
||||
public int getSetting_wallpaper() {
|
||||
return setting_wallpaper;
|
||||
}
|
||||
|
||||
public void setSetting_wallpaper(int setting_wallpaper) {
|
||||
this.setting_wallpaper = setting_wallpaper;
|
||||
}
|
||||
|
||||
public int getSetting_file() {
|
||||
return setting_file;
|
||||
}
|
||||
|
||||
public void setSetting_file(int setting_file) {
|
||||
this.setting_file = setting_file;
|
||||
}
|
||||
|
||||
public int getSetting_browser() {
|
||||
return setting_browser;
|
||||
}
|
||||
|
||||
public void setSetting_browser(int setting_browser) {
|
||||
this.setting_browser = setting_browser;
|
||||
}
|
||||
|
||||
public int getSetting_bhtvideo() {
|
||||
return setting_bhtvideo;
|
||||
}
|
||||
|
||||
public void setSetting_bhtvideo(int setting_bhtvideo) {
|
||||
this.setting_bhtvideo = setting_bhtvideo;
|
||||
}
|
||||
|
||||
public String getSetting_context() {
|
||||
return setting_context;
|
||||
}
|
||||
|
||||
public void setSetting_context(String setting_context) {
|
||||
this.setting_context = setting_context;
|
||||
}
|
||||
|
||||
public int getSetting_bht() {
|
||||
return setting_bht;
|
||||
}
|
||||
|
||||
public void setSetting_bht(int setting_bht) {
|
||||
this.setting_bht = setting_bht;
|
||||
}
|
||||
|
||||
public int getSetting_hotspot() {
|
||||
return setting_hotspot;
|
||||
}
|
||||
|
||||
public void setSetting_hotspot(int setting_hotspot) {
|
||||
this.setting_hotspot = setting_hotspot;
|
||||
}
|
||||
|
||||
public String getSetting_sos() {
|
||||
return setting_sos;
|
||||
}
|
||||
|
||||
public void setSetting_sos(String setting_sos) {
|
||||
this.setting_sos = setting_sos;
|
||||
}
|
||||
|
||||
public String getSetting_volume() {
|
||||
return setting_volume;
|
||||
}
|
||||
|
||||
public void setSetting_volume(String setting_volume) {
|
||||
this.setting_volume = setting_volume;
|
||||
}
|
||||
|
||||
public String getSetting_luminance() {
|
||||
return setting_luminance;
|
||||
}
|
||||
|
||||
public void setSetting_luminance(String setting_luminance) {
|
||||
this.setting_luminance = setting_luminance;
|
||||
}
|
||||
|
||||
public String getSetting_typeface() {
|
||||
return setting_typeface;
|
||||
}
|
||||
|
||||
public void setSetting_typeface(String setting_typeface) {
|
||||
this.setting_typeface = setting_typeface;
|
||||
}
|
||||
|
||||
public int getSetting_admin_app() {
|
||||
return setting_admin_app;
|
||||
}
|
||||
|
||||
public void setSetting_admin_app(int setting_admin_app) {
|
||||
this.setting_admin_app = setting_admin_app;
|
||||
}
|
||||
|
||||
public int getProjection_screen() {
|
||||
return projection_screen;
|
||||
}
|
||||
|
||||
public void setProjection_screen(int projection_screen) {
|
||||
this.projection_screen = projection_screen;
|
||||
}
|
||||
|
||||
public int getHot_point() {
|
||||
return hot_point;
|
||||
}
|
||||
|
||||
public void setHot_point(int hot_point) {
|
||||
this.hot_point = hot_point;
|
||||
}
|
||||
|
||||
public String getDesktop_app() {
|
||||
return desktop_app;
|
||||
}
|
||||
|
||||
public void setDesktop_app(String desktop_app) {
|
||||
this.desktop_app = desktop_app;
|
||||
}
|
||||
|
||||
public String getBrowser_app() {
|
||||
return browser_app;
|
||||
}
|
||||
|
||||
public void setBrowser_app(String browser_app) {
|
||||
this.browser_app = browser_app;
|
||||
}
|
||||
|
||||
public String getTypewriting_app() {
|
||||
return typewriting_app;
|
||||
}
|
||||
|
||||
public void setTypewriting_app(String typewriting_app) {
|
||||
this.typewriting_app = typewriting_app;
|
||||
}
|
||||
|
||||
public int getIs_control() {
|
||||
return is_control;
|
||||
}
|
||||
|
||||
public void setIs_control(int is_control) {
|
||||
this.is_control = is_control;
|
||||
}
|
||||
|
||||
public int getSetting_rotation() {
|
||||
return setting_rotation;
|
||||
}
|
||||
|
||||
public void setSetting_rotation(int setting_rotation) {
|
||||
this.setting_rotation = setting_rotation;
|
||||
}
|
||||
|
||||
public int getSetting_airplane() {
|
||||
return setting_airplane;
|
||||
}
|
||||
|
||||
public void setSetting_airplane(int setting_airplane) {
|
||||
this.setting_airplane = setting_airplane;
|
||||
}
|
||||
|
||||
public int getSetting_disturbance() {
|
||||
return setting_disturbance;
|
||||
}
|
||||
|
||||
public void setSetting_disturbance(int setting_disturbance) {
|
||||
this.setting_disturbance = setting_disturbance;
|
||||
}
|
||||
|
||||
public int getSetting_location() {
|
||||
return setting_location;
|
||||
}
|
||||
|
||||
public void setSetting_location(int setting_location) {
|
||||
this.setting_location = setting_location;
|
||||
}
|
||||
|
||||
public int getSetting_charge() {
|
||||
return setting_charge;
|
||||
}
|
||||
|
||||
public void setSetting_charge(int setting_charge) {
|
||||
this.setting_charge = setting_charge;
|
||||
}
|
||||
|
||||
public int getSetting_other_appInstaller() {
|
||||
return setting_other_appInstaller;
|
||||
}
|
||||
|
||||
public void setSetting_other_appInstaller(int setting_other_appInstaller) {
|
||||
this.setting_other_appInstaller = setting_other_appInstaller;
|
||||
}
|
||||
|
||||
public int getIs_quickapp() {
|
||||
return is_quickapp;
|
||||
}
|
||||
|
||||
public void setIs_quickapp(int is_quickapp) {
|
||||
this.is_quickapp = is_quickapp;
|
||||
}
|
||||
|
||||
public String getQuickapp() {
|
||||
return quickapp;
|
||||
}
|
||||
|
||||
public void setQuickapp(String quickapp) {
|
||||
this.quickapp = quickapp;
|
||||
}
|
||||
|
||||
public int getIs_storeinstall() {
|
||||
return is_storeinstall;
|
||||
}
|
||||
|
||||
public void setIs_storeinstall(int is_storeinstall) {
|
||||
this.is_storeinstall = is_storeinstall;
|
||||
}
|
||||
|
||||
public int getIs_timecontrol() {
|
||||
return is_timecontrol;
|
||||
}
|
||||
|
||||
public void setIs_timecontrol(int is_timecontrol) {
|
||||
this.is_timecontrol = is_timecontrol;
|
||||
}
|
||||
|
||||
public String getTimecontrol_start() {
|
||||
return timecontrol_start;
|
||||
}
|
||||
|
||||
public void setTimecontrol_start(String timecontrol_start) {
|
||||
this.timecontrol_start = timecontrol_start;
|
||||
}
|
||||
|
||||
public String getTimecontrol_end() {
|
||||
return timecontrol_end;
|
||||
}
|
||||
|
||||
public void setTimecontrol_end(String timecontrol_end) {
|
||||
this.timecontrol_end = timecontrol_end;
|
||||
}
|
||||
|
||||
public int getIs_return_android() {
|
||||
return is_return_android;
|
||||
}
|
||||
|
||||
public void setIs_return_android(int is_return_android) {
|
||||
this.is_return_android = is_return_android;
|
||||
}
|
||||
|
||||
public int getIs_bluetooth_share() {
|
||||
return is_bluetooth_share;
|
||||
}
|
||||
|
||||
public void setIs_bluetooth_share(int is_bluetooth_share) {
|
||||
this.is_bluetooth_share = is_bluetooth_share;
|
||||
}
|
||||
|
||||
public int getIs_developer_mode() {
|
||||
return is_developer_mode;
|
||||
}
|
||||
|
||||
public void setIs_developer_mode(int is_developer_mode) {
|
||||
this.is_developer_mode = is_developer_mode;
|
||||
}
|
||||
|
||||
public int getIs_device_recover() {
|
||||
return is_device_recover;
|
||||
}
|
||||
|
||||
public void setIs_device_recover(int is_device_recover) {
|
||||
this.is_device_recover = is_device_recover;
|
||||
}
|
||||
|
||||
public int getIs_top_notify() {
|
||||
return is_top_notify;
|
||||
}
|
||||
|
||||
public void setIs_top_notify(int is_top_notify) {
|
||||
this.is_top_notify = is_top_notify;
|
||||
}
|
||||
|
||||
public int getIs_bottom_bar() {
|
||||
return is_bottom_bar;
|
||||
}
|
||||
|
||||
public void setIs_bottom_bar(int is_bottom_bar) {
|
||||
this.is_bottom_bar = is_bottom_bar;
|
||||
}
|
||||
|
||||
public int getIs_notify_bar_show() {
|
||||
return is_notify_bar_show;
|
||||
}
|
||||
|
||||
public void setIs_notify_bar_show(int is_notify_bar_show) {
|
||||
this.is_notify_bar_show = is_notify_bar_show;
|
||||
}
|
||||
|
||||
public int getVoice_assistant() {
|
||||
return voice_assistant;
|
||||
}
|
||||
|
||||
public void setVoice_assistant(int voice_assistant) {
|
||||
this.voice_assistant = voice_assistant;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
62
app/src/main/java/com/xwad/os/bean/UserAvatarInfo.java
Normal file
62
app/src/main/java/com/xwad/os/bean/UserAvatarInfo.java
Normal file
@@ -0,0 +1,62 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class UserAvatarInfo implements Serializable {
|
||||
private static final long serialVersionUID = 7700643058775210597L;
|
||||
|
||||
int id;
|
||||
String avatar;
|
||||
String mobile;
|
||||
String sn_name;
|
||||
String class_name;
|
||||
String username;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getAvatar() {
|
||||
return avatar;
|
||||
}
|
||||
|
||||
public void setAvatar(String avatar) {
|
||||
this.avatar = avatar;
|
||||
}
|
||||
|
||||
public String getMobile() {
|
||||
return mobile;
|
||||
}
|
||||
|
||||
public void setMobile(String mobile) {
|
||||
this.mobile = mobile;
|
||||
}
|
||||
|
||||
public String getSn_name() {
|
||||
return sn_name;
|
||||
}
|
||||
|
||||
public void setSn_name(String sn_name) {
|
||||
this.sn_name = sn_name;
|
||||
}
|
||||
|
||||
public String getClass_name() {
|
||||
return class_name;
|
||||
}
|
||||
|
||||
public void setClass_name(String class_name) {
|
||||
this.class_name = class_name;
|
||||
}
|
||||
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
public void setUsername(String username) {
|
||||
this.username = username;
|
||||
}
|
||||
}
|
||||
17
app/src/main/java/com/xwad/os/bean/UserId.java
Normal file
17
app/src/main/java/com/xwad/os/bean/UserId.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package com.xwad.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class UserId implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 8035934571639651952L;
|
||||
int user_id;
|
||||
|
||||
public int getUser_id() {
|
||||
return user_id;
|
||||
}
|
||||
|
||||
public void setUser_id(int user_id) {
|
||||
this.user_id = user_id;
|
||||
}
|
||||
}
|
||||
40
app/src/main/java/com/xwad/os/bean/jxw/ItemsBean.java
Normal file
40
app/src/main/java/com/xwad/os/bean/jxw/ItemsBean.java
Normal file
@@ -0,0 +1,40 @@
|
||||
package com.xwad.os.bean.jxw;
|
||||
|
||||
public class ItemsBean {
|
||||
private String icon;
|
||||
private String learnStage;
|
||||
private String tag;
|
||||
private String text;
|
||||
|
||||
public String getText() {
|
||||
return this.text;
|
||||
}
|
||||
|
||||
public void setText(String str) {
|
||||
this.text = str;
|
||||
}
|
||||
|
||||
public String getIcon() {
|
||||
return this.icon;
|
||||
}
|
||||
|
||||
public void setIcon(String str) {
|
||||
this.icon = str;
|
||||
}
|
||||
|
||||
public String getTag() {
|
||||
return this.tag;
|
||||
}
|
||||
|
||||
public void setTag(String str) {
|
||||
this.tag = str;
|
||||
}
|
||||
|
||||
public String getLearnStage() {
|
||||
return this.learnStage;
|
||||
}
|
||||
|
||||
public void setLearnStage(String str) {
|
||||
this.learnStage = str;
|
||||
}
|
||||
}
|
||||
107
app/src/main/java/com/xwad/os/bean/jxw/TabBean.java
Normal file
107
app/src/main/java/com/xwad/os/bean/jxw/TabBean.java
Normal file
@@ -0,0 +1,107 @@
|
||||
package com.xwad.os.bean.jxw;
|
||||
|
||||
public class TabBean {
|
||||
private String className;
|
||||
private boolean select;
|
||||
private int tab_Color;
|
||||
private String tab_Name;
|
||||
private int tab_Normal;
|
||||
private int tab_Press;
|
||||
private String tab_Title;
|
||||
private int tab_icon;
|
||||
private int tab_press_bg;
|
||||
|
||||
public TabBean(String str, int i, int i2, int i3, String str2) {
|
||||
this.tab_Name = str;
|
||||
this.tab_icon = i;
|
||||
this.tab_Color = i3;
|
||||
this.tab_press_bg = i2;
|
||||
this.className = str2;
|
||||
}
|
||||
|
||||
public TabBean(String str, int i, int i2) {
|
||||
this.tab_Title = str;
|
||||
this.tab_Normal = i;
|
||||
this.tab_Press = i2;
|
||||
}
|
||||
|
||||
public int getTab_press_bg() {
|
||||
return this.tab_press_bg;
|
||||
}
|
||||
|
||||
public void setTab_press_bg(int i) {
|
||||
this.tab_press_bg = i;
|
||||
}
|
||||
|
||||
public String getTab_Name() {
|
||||
return this.tab_Name;
|
||||
}
|
||||
|
||||
public void setTab_Name(String str) {
|
||||
this.tab_Name = str;
|
||||
}
|
||||
|
||||
public int getTab_icon() {
|
||||
return this.tab_icon;
|
||||
}
|
||||
|
||||
public void setTab_icon(int i) {
|
||||
this.tab_icon = i;
|
||||
}
|
||||
|
||||
public int getTab_Color() {
|
||||
return this.tab_Color;
|
||||
}
|
||||
|
||||
public void setTab_Color(int i) {
|
||||
this.tab_Color = i;
|
||||
}
|
||||
|
||||
public String getClassName() {
|
||||
return this.className;
|
||||
}
|
||||
|
||||
public void setClassName(String str) {
|
||||
this.className = str;
|
||||
}
|
||||
|
||||
public TabBean(String str) {
|
||||
this.tab_Title = str;
|
||||
}
|
||||
|
||||
public int getTab_Normal() {
|
||||
return this.tab_Normal;
|
||||
}
|
||||
|
||||
public void setTab_Normal(int i) {
|
||||
this.tab_Normal = i;
|
||||
}
|
||||
|
||||
public int getTab_Press() {
|
||||
return this.tab_Press;
|
||||
}
|
||||
|
||||
public void setTab_Pressl(int i) {
|
||||
this.tab_Press = i;
|
||||
}
|
||||
|
||||
public void setTab_Press(int i) {
|
||||
this.tab_Press = i;
|
||||
}
|
||||
|
||||
public String getTab_Title() {
|
||||
return this.tab_Title;
|
||||
}
|
||||
|
||||
public void setTab_Title(String str) {
|
||||
this.tab_Title = str;
|
||||
}
|
||||
|
||||
public boolean isSelect() {
|
||||
return this.select;
|
||||
}
|
||||
|
||||
public void setSelect(boolean z) {
|
||||
this.select = z;
|
||||
}
|
||||
}
|
||||
131
app/src/main/java/com/xwad/os/bean/jxw/TaskBean.java
Normal file
131
app/src/main/java/com/xwad/os/bean/jxw/TaskBean.java
Normal file
@@ -0,0 +1,131 @@
|
||||
package com.xwad.os.bean.jxw;
|
||||
|
||||
public class TaskBean {
|
||||
private String className;
|
||||
private String createTime;
|
||||
private String deviceId;
|
||||
private String experience;
|
||||
|
||||
private String id;
|
||||
private String moduleName;
|
||||
private String packageName;
|
||||
private String state;
|
||||
private String taskDetail;
|
||||
private String taskId;
|
||||
private String taskName;
|
||||
private String taskType;
|
||||
private String type;
|
||||
private String updateTime;
|
||||
|
||||
public String getTaskType() {
|
||||
return this.taskType;
|
||||
}
|
||||
|
||||
public void setTaskType(String str) {
|
||||
this.taskType = str;
|
||||
}
|
||||
|
||||
public String getPackageName() {
|
||||
return this.packageName;
|
||||
}
|
||||
|
||||
public void setPackageName(String str) {
|
||||
this.packageName = str;
|
||||
}
|
||||
|
||||
public String getClassName() {
|
||||
return this.className;
|
||||
}
|
||||
|
||||
public void setClassName(String str) {
|
||||
this.className = str;
|
||||
}
|
||||
|
||||
public String getTaskDetail() {
|
||||
return this.taskDetail;
|
||||
}
|
||||
|
||||
public void setTaskDetail(String str) {
|
||||
this.taskDetail = str;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String str) {
|
||||
this.id = str;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String str) {
|
||||
this.deviceId = str;
|
||||
}
|
||||
|
||||
public String getTaskId() {
|
||||
return this.taskId;
|
||||
}
|
||||
|
||||
public void setTaskId(String str) {
|
||||
this.taskId = str;
|
||||
}
|
||||
|
||||
public String getTaskName() {
|
||||
return this.taskName;
|
||||
}
|
||||
|
||||
public void setTaskName(String str) {
|
||||
this.taskName = str;
|
||||
}
|
||||
|
||||
public String getModuleName() {
|
||||
return this.moduleName;
|
||||
}
|
||||
|
||||
public void setModuleName(String str) {
|
||||
this.moduleName = str;
|
||||
}
|
||||
|
||||
public String getExperience() {
|
||||
return this.experience;
|
||||
}
|
||||
|
||||
public void setExperience(String str) {
|
||||
this.experience = str;
|
||||
}
|
||||
|
||||
public String getState() {
|
||||
return this.state;
|
||||
}
|
||||
|
||||
public void setState(String str) {
|
||||
this.state = str;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public void setType(String str) {
|
||||
this.type = str;
|
||||
}
|
||||
|
||||
public String getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(String str) {
|
||||
this.createTime = str;
|
||||
}
|
||||
|
||||
public String getUpdateTime() {
|
||||
return this.updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(String str) {
|
||||
this.updateTime = str;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user