version:1.0.0
update:更换包名 bugfixes:
This commit is contained in:
150
app/src/main/java/com/xxpatx/os/bean/ActivityBean.java
Normal file
150
app/src/main/java/com/xxpatx/os/bean/ActivityBean.java
Normal file
@@ -0,0 +1,150 @@
|
||||
package com.xxpatx.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;
|
||||
}
|
||||
}
|
||||
63
app/src/main/java/com/xxpatx/os/bean/AddressBean.java
Normal file
63
app/src/main/java/com/xxpatx/os/bean/AddressBean.java
Normal file
@@ -0,0 +1,63 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import android.text.TextUtils;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AddressBean implements Serializable {
|
||||
private static final long serialVersionUID = 5408415869212907187L;
|
||||
|
||||
private String mProvince;
|
||||
private String mCity;
|
||||
private String mDistrict;
|
||||
|
||||
public AddressBean(String province, String city, String district) {
|
||||
mProvince = province;
|
||||
mCity = city;
|
||||
mDistrict = district;
|
||||
}
|
||||
|
||||
|
||||
public AddressBean(String district) {
|
||||
mDistrict = district;
|
||||
}
|
||||
|
||||
public String getProvince() {
|
||||
return mProvince;
|
||||
}
|
||||
|
||||
public void setProvince(String province) {
|
||||
mProvince = province;
|
||||
}
|
||||
|
||||
public String getCity() {
|
||||
return mCity;
|
||||
}
|
||||
|
||||
public void setCity(String city) {
|
||||
mCity = city;
|
||||
}
|
||||
|
||||
public String getDistrict() {
|
||||
return mDistrict;
|
||||
}
|
||||
|
||||
public void setDistrict(String district) {
|
||||
mDistrict = district;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder s = new StringBuilder();
|
||||
if (!TextUtils.isEmpty(mProvince))
|
||||
s.append(mProvince);
|
||||
if (!TextUtils.isEmpty(mCity))
|
||||
s.append(" ").append(mCity);
|
||||
if (!TextUtils.isEmpty(mDistrict))
|
||||
s.append(" ").append(mDistrict);
|
||||
return s.toString();
|
||||
}
|
||||
}
|
||||
97
app/src/main/java/com/xxpatx/os/bean/AddressInfo.java
Normal file
97
app/src/main/java/com/xxpatx/os/bean/AddressInfo.java
Normal file
@@ -0,0 +1,97 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AddressInfo implements Serializable {
|
||||
private static final long serialVersionUID = -4450893534418777122L;
|
||||
|
||||
int id;
|
||||
String fullname;//姓名
|
||||
String tel;
|
||||
String province_id;
|
||||
String city_id;
|
||||
String county_id;
|
||||
String address;//详细地址
|
||||
int is_default;// 1 默认 2 非默认
|
||||
String area;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getFullname() {
|
||||
return fullname;
|
||||
}
|
||||
|
||||
public void setFullname(String fullname) {
|
||||
this.fullname = fullname;
|
||||
}
|
||||
|
||||
public String getTel() {
|
||||
return tel;
|
||||
}
|
||||
|
||||
public void setTel(String tel) {
|
||||
this.tel = tel;
|
||||
}
|
||||
|
||||
public String getProvince_id() {
|
||||
return province_id;
|
||||
}
|
||||
|
||||
public void setProvince_id(String province_id) {
|
||||
this.province_id = province_id;
|
||||
}
|
||||
|
||||
public String getCity_id() {
|
||||
return city_id;
|
||||
}
|
||||
|
||||
public void setCity_id(String city_id) {
|
||||
this.city_id = city_id;
|
||||
}
|
||||
|
||||
public String getCounty_id() {
|
||||
return county_id;
|
||||
}
|
||||
|
||||
public void setCounty_id(String county_id) {
|
||||
this.county_id = county_id;
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public int getIs_default() {
|
||||
return is_default;
|
||||
}
|
||||
|
||||
public void setIs_default(int is_default) {
|
||||
this.is_default = is_default;
|
||||
}
|
||||
|
||||
public String getArea() {
|
||||
return area;
|
||||
}
|
||||
|
||||
public void setArea(String area) {
|
||||
this.area = area;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
26
app/src/main/java/com/xxpatx/os/bean/AdminInfo.java
Normal file
26
app/src/main/java/com/xxpatx/os/bean/AdminInfo.java
Normal file
@@ -0,0 +1,26 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AdminInfo implements Serializable {
|
||||
private static final long serialVersionUID = -4113446564225253506L;
|
||||
|
||||
int id;
|
||||
String username;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
public void setUsername(String username) {
|
||||
this.username = username;
|
||||
}
|
||||
}
|
||||
16
app/src/main/java/com/xxpatx/os/bean/AlarmClockId.java
Normal file
16
app/src/main/java/com/xxpatx/os/bean/AlarmClockId.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AlarmClockId implements Serializable {
|
||||
private static final long serialVersionUID = 4423679466957746841L;
|
||||
int id;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
21
app/src/main/java/com/xxpatx/os/bean/AlarmItem.java
Normal file
21
app/src/main/java/com/xxpatx/os/bean/AlarmItem.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package com.xxpatx.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;
|
||||
|
||||
}
|
||||
}
|
||||
41
app/src/main/java/com/xxpatx/os/bean/AppListInfo.java
Normal file
41
app/src/main/java/com/xxpatx/os/bean/AppListInfo.java
Normal file
@@ -0,0 +1,41 @@
|
||||
package com.xxpatx.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/xxpatx/os/bean/AppSelectBean.java
Normal file
43
app/src/main/java/com/xxpatx/os/bean/AppSelectBean.java
Normal file
@@ -0,0 +1,43 @@
|
||||
package com.xxpatx.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;
|
||||
}
|
||||
}
|
||||
44
app/src/main/java/com/xxpatx/os/bean/ArticleDetails.java
Normal file
44
app/src/main/java/com/xxpatx/os/bean/ArticleDetails.java
Normal file
@@ -0,0 +1,44 @@
|
||||
package com.xxpatx.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;
|
||||
}
|
||||
}
|
||||
94
app/src/main/java/com/xxpatx/os/bean/ArticleInfo.java
Normal file
94
app/src/main/java/com/xxpatx/os/bean/ArticleInfo.java
Normal file
@@ -0,0 +1,94 @@
|
||||
package com.xxpatx.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;
|
||||
|
||||
int weight;//权重
|
||||
int click_count;
|
||||
String third_url;
|
||||
long update_time;
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
public int getWeight() {
|
||||
return weight;
|
||||
}
|
||||
|
||||
public void setWeight(int weight) {
|
||||
this.weight = weight;
|
||||
}
|
||||
|
||||
public int getClick_count() {
|
||||
return click_count;
|
||||
}
|
||||
|
||||
public void setClick_count(int click_count) {
|
||||
this.click_count = click_count;
|
||||
}
|
||||
|
||||
public String getThird_url() {
|
||||
return third_url;
|
||||
}
|
||||
|
||||
public void setThird_url(String third_url) {
|
||||
this.third_url = third_url;
|
||||
}
|
||||
|
||||
public long getUpdate_time() {
|
||||
return update_time;
|
||||
}
|
||||
|
||||
public void setUpdate_time(long update_time) {
|
||||
this.update_time = update_time;
|
||||
}
|
||||
}
|
||||
27
app/src/main/java/com/xxpatx/os/bean/ArticleList.java
Normal file
27
app/src/main/java/com/xxpatx/os/bean/ArticleList.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class ArticleList implements Serializable {
|
||||
private static final long serialVersionUID = 2429549762527224397L;
|
||||
|
||||
int current_page;
|
||||
List<ArticleInfo> data;
|
||||
|
||||
public int getCurrent_page() {
|
||||
return current_page;
|
||||
}
|
||||
|
||||
public void setCurrent_page(int current_page) {
|
||||
this.current_page = current_page;
|
||||
}
|
||||
|
||||
public List<ArticleInfo> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<ArticleInfo> data) {
|
||||
this.data = data;
|
||||
}
|
||||
}
|
||||
37
app/src/main/java/com/xxpatx/os/bean/BaiduMapGeoBean.java
Normal file
37
app/src/main/java/com/xxpatx/os/bean/BaiduMapGeoBean.java
Normal file
@@ -0,0 +1,37 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class BaiduMapGeoBean implements Serializable {
|
||||
private static final long serialVersionUID = 3502542257994267517L;
|
||||
|
||||
int status;
|
||||
MapGeoResult result;
|
||||
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public MapGeoResult getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(MapGeoResult result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
23
app/src/main/java/com/xxpatx/os/bean/BaseResponse.java
Normal file
23
app/src/main/java/com/xxpatx/os/bean/BaseResponse.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package com.xxpatx.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();
|
||||
}
|
||||
}
|
||||
26
app/src/main/java/com/xxpatx/os/bean/CategoryBean.java
Normal file
26
app/src/main/java/com/xxpatx/os/bean/CategoryBean.java
Normal file
@@ -0,0 +1,26 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class CategoryBean implements Serializable {
|
||||
private static final long serialVersionUID = -1254376015727204975L;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
92
app/src/main/java/com/xxpatx/os/bean/Contact.java
Normal file
92
app/src/main/java/com/xxpatx/os/bean/Contact.java
Normal file
@@ -0,0 +1,92 @@
|
||||
package com.xxpatx.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;
|
||||
|
||||
String id;
|
||||
String name;//名称
|
||||
int is_urgent;//是否紧急联系人 0否1是
|
||||
String mobile;//手机号
|
||||
String avatar;//头像
|
||||
String tag;//标签
|
||||
boolean simContact;
|
||||
|
||||
public Contact() {
|
||||
|
||||
}
|
||||
|
||||
public Contact(String name, String mobile, boolean sim) {
|
||||
this.name = name;
|
||||
this.mobile = mobile;
|
||||
this.simContact = sim;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String 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;
|
||||
}
|
||||
|
||||
public String getTag() {
|
||||
return tag;
|
||||
}
|
||||
|
||||
public void setTag(String tag) {
|
||||
this.tag = tag;
|
||||
}
|
||||
|
||||
public boolean isSimContact() {
|
||||
return simContact;
|
||||
}
|
||||
|
||||
public void setSimContact(boolean simContact) {
|
||||
this.simContact = simContact;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
72
app/src/main/java/com/xxpatx/os/bean/DailyAppBean.java
Normal file
72
app/src/main/java/com/xxpatx/os/bean/DailyAppBean.java
Normal file
@@ -0,0 +1,72 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.pm.ApplicationInfo;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.graphics.drawable.Drawable;
|
||||
|
||||
import com.xxpatx.os.BuildConfig;
|
||||
import com.xxpatx.os.utils.IconUtils;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class DailyAppBean implements Serializable {
|
||||
private static final long serialVersionUID = 5054284058523960678L;
|
||||
|
||||
String appName;
|
||||
String packageName;
|
||||
String className;
|
||||
|
||||
public DailyAppBean(String appName, String packageName, String className) {
|
||||
this.appName = appName;
|
||||
this.packageName = packageName;
|
||||
this.className = className;
|
||||
}
|
||||
|
||||
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 String getClassName() {
|
||||
return className;
|
||||
}
|
||||
|
||||
public void setClassName(String className) {
|
||||
this.className = className;
|
||||
}
|
||||
|
||||
public Drawable getIcon(Context context) {
|
||||
PackageManager pm = context.getPackageManager();
|
||||
ApplicationInfo info = null;
|
||||
try {
|
||||
info = pm.getApplicationInfo(packageName, 0);
|
||||
} catch (PackageManager.NameNotFoundException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
if (info == null) {
|
||||
return null;
|
||||
} else {
|
||||
int i = IconUtils.appClassNameList.indexOf(packageName);
|
||||
if (i != -1) {
|
||||
String val = IconUtils.appIconList.get(i);
|
||||
int resID = context.getResources().getIdentifier(val, "drawable", BuildConfig.APPLICATION_ID);
|
||||
if (resID != 0) {
|
||||
return context.getResources().getDrawable(resID);
|
||||
}
|
||||
}
|
||||
return info.loadIcon(pm);
|
||||
}
|
||||
}
|
||||
}
|
||||
142
app/src/main/java/com/xxpatx/os/bean/DemandBean.java
Normal file
142
app/src/main/java/com/xxpatx/os/bean/DemandBean.java
Normal file
@@ -0,0 +1,142 @@
|
||||
package com.xxpatx.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;
|
||||
}
|
||||
}
|
||||
154
app/src/main/java/com/xxpatx/os/bean/DesktopIcon.java
Normal file
154
app/src/main/java/com/xxpatx/os/bean/DesktopIcon.java
Normal file
@@ -0,0 +1,154 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.pm.ApplicationInfo;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.content.pm.ResolveInfo;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
import com.xxpatx.os.BuildConfig;
|
||||
import com.xxpatx.os.R;
|
||||
import com.xxpatx.os.manager.AppManager;
|
||||
import com.xxpatx.os.utils.IconUtils;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class DesktopIcon implements Serializable, Parcelable {
|
||||
private static final long serialVersionUID = 3358230413497783708L;
|
||||
|
||||
protected String mTitle;
|
||||
protected String mClass;
|
||||
protected String mPackage;
|
||||
|
||||
int position;
|
||||
|
||||
public DesktopIcon() {
|
||||
|
||||
}
|
||||
|
||||
private DesktopIcon(Parcel in) {
|
||||
mPackage = in.readString();
|
||||
mTitle = in.readString();
|
||||
position = in.readInt();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeToParcel(Parcel dest, int flags) {
|
||||
dest.writeString(mPackage);
|
||||
dest.writeString(mTitle);
|
||||
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 getPackage() {
|
||||
return mPackage;
|
||||
}
|
||||
|
||||
public void setPackage(String aPackage) {
|
||||
this.mPackage = aPackage;
|
||||
}
|
||||
|
||||
public String getClazz() {
|
||||
return mClass;
|
||||
}
|
||||
|
||||
public void setClass(String aClass) {
|
||||
this.mClass = aClass;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return mTitle;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.mTitle = title;
|
||||
}
|
||||
|
||||
public int getPosition() {
|
||||
return position;
|
||||
}
|
||||
|
||||
public void setPosition(int position) {
|
||||
this.position = position;
|
||||
}
|
||||
|
||||
public Drawable getIcon(Context context) {
|
||||
switch (mPackage) {
|
||||
case AppManager.ADD_NAME:
|
||||
return context.getDrawable(R.drawable.home_icon_add);
|
||||
case "aios.daily.app":
|
||||
return context.getDrawable(R.drawable.icon_daily_app);
|
||||
case "aios.appstore":
|
||||
return context.getDrawable(R.drawable.com_android_appstore);
|
||||
default:
|
||||
PackageManager pm = context.getPackageManager();
|
||||
ApplicationInfo info = null;
|
||||
try {
|
||||
info = pm.getApplicationInfo(mPackage, 0);
|
||||
} catch (PackageManager.NameNotFoundException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
if (info == null) {
|
||||
return null;
|
||||
} else {
|
||||
int i = IconUtils.appClassNameList.indexOf(mPackage);
|
||||
if (i != -1) {
|
||||
String val = IconUtils.appIconList.get(i);
|
||||
int resID = context.getResources().getIdentifier(val, "drawable", BuildConfig.APPLICATION_ID);
|
||||
if (resID != 0) {
|
||||
return context.getResources().getDrawable(resID);
|
||||
}
|
||||
}
|
||||
return info.loadIcon(pm);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static DesktopIcon creatDesktopIcon(Context context, ResolveInfo resolveInfo) {
|
||||
PackageManager pm = context.getPackageManager();
|
||||
DesktopIcon desktopIcon = new DesktopIcon();
|
||||
desktopIcon.setPackage(resolveInfo.activityInfo.packageName);
|
||||
desktopIcon.setClass(resolveInfo.activityInfo.name);
|
||||
desktopIcon.setTitle(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.setPackage(resolveInfo.activityInfo.packageName);
|
||||
desktopIcon.setClass(resolveInfo.activityInfo.name);
|
||||
desktopIcon.setTitle(resolveInfo.loadLabel(pm).toString());
|
||||
desktopIcon.setPosition(position);
|
||||
return desktopIcon;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
44
app/src/main/java/com/xxpatx/os/bean/ExpressData.java
Normal file
44
app/src/main/java/com/xxpatx/os/bean/ExpressData.java
Normal file
@@ -0,0 +1,44 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class ExpressData implements Serializable {
|
||||
private static final long serialVersionUID = 6282718995656979667L;
|
||||
|
||||
String traceId;
|
||||
String trace_id;
|
||||
boolean success;
|
||||
LogisticsTrace logisticsTrace;
|
||||
|
||||
public String getTraceId() {
|
||||
return traceId;
|
||||
}
|
||||
|
||||
public void setTraceId(String traceId) {
|
||||
this.traceId = traceId;
|
||||
}
|
||||
|
||||
public String getTrace_id() {
|
||||
return trace_id;
|
||||
}
|
||||
|
||||
public void setTrace_id(String trace_id) {
|
||||
this.trace_id = trace_id;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public LogisticsTrace getLogisticsTrace() {
|
||||
return logisticsTrace;
|
||||
}
|
||||
|
||||
public void setLogisticsTrace(LogisticsTrace logisticsTrace) {
|
||||
this.logisticsTrace = logisticsTrace;
|
||||
}
|
||||
}
|
||||
26
app/src/main/java/com/xxpatx/os/bean/ExpressInfo.java
Normal file
26
app/src/main/java/com/xxpatx/os/bean/ExpressInfo.java
Normal file
@@ -0,0 +1,26 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class ExpressInfo implements Serializable {
|
||||
private static final long serialVersionUID = 8208144013177074189L;
|
||||
|
||||
int id;
|
||||
String express_name;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getExpress_name() {
|
||||
return express_name;
|
||||
}
|
||||
|
||||
public void setExpress_name(String express_name) {
|
||||
this.express_name = express_name;
|
||||
}
|
||||
}
|
||||
16
app/src/main/java/com/xxpatx/os/bean/FamilyAddress.java
Normal file
16
app/src/main/java/com/xxpatx/os/bean/FamilyAddress.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class FamilyAddress implements Serializable {
|
||||
private static final long serialVersionUID = 6029825322662748631L;
|
||||
String address;
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
}
|
||||
89
app/src/main/java/com/xxpatx/os/bean/GoodsDetails.java
Normal file
89
app/src/main/java/com/xxpatx/os/bean/GoodsDetails.java
Normal file
@@ -0,0 +1,89 @@
|
||||
package com.xxpatx.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;
|
||||
}
|
||||
}
|
||||
183
app/src/main/java/com/xxpatx/os/bean/GoodsInfo.java
Normal file
183
app/src/main/java/com/xxpatx/os/bean/GoodsInfo.java
Normal file
@@ -0,0 +1,183 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class GoodsInfo implements Serializable {
|
||||
private static final long serialVersionUID = -229267734972111105L;
|
||||
|
||||
String id;
|
||||
/*商品名*/
|
||||
String goods_name;
|
||||
/*简介*/
|
||||
String goods_desc;
|
||||
/*缩略图链接*/
|
||||
String img;
|
||||
/*详情图链接*/
|
||||
String details_img;
|
||||
/*视频链接*/
|
||||
String video_url;
|
||||
/*原价*/
|
||||
String original_price;
|
||||
/*抢购价*/
|
||||
String buying_price;
|
||||
/*库存*/
|
||||
int stock;
|
||||
/*跳转链接*/
|
||||
String jump_url;
|
||||
String insure;
|
||||
String deliver_goods;
|
||||
String after_sales;
|
||||
String ensure;
|
||||
@SerializedName("class")
|
||||
String type;
|
||||
int weight;//权重
|
||||
int click_count;
|
||||
int type_id;
|
||||
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String 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 String getOriginal_price() {
|
||||
return original_price;
|
||||
}
|
||||
|
||||
public void setOriginal_price(String original_price) {
|
||||
this.original_price = original_price;
|
||||
}
|
||||
|
||||
public String getBuying_price() {
|
||||
return buying_price;
|
||||
}
|
||||
|
||||
public void setBuying_price(String 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;
|
||||
}
|
||||
|
||||
public String getInsure() {
|
||||
return insure;
|
||||
}
|
||||
|
||||
public void setInsure(String insure) {
|
||||
this.insure = insure;
|
||||
}
|
||||
|
||||
public String getDeliver_goods() {
|
||||
return deliver_goods;
|
||||
}
|
||||
|
||||
public void setDeliver_goods(String deliver_goods) {
|
||||
this.deliver_goods = deliver_goods;
|
||||
}
|
||||
|
||||
public String getAfter_sales() {
|
||||
return after_sales;
|
||||
}
|
||||
|
||||
public void setAfter_sales(String after_sales) {
|
||||
this.after_sales = after_sales;
|
||||
}
|
||||
|
||||
public String getEnsure() {
|
||||
return ensure;
|
||||
}
|
||||
|
||||
public void setEnsure(String ensure) {
|
||||
this.ensure = ensure;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public int getWeight() {
|
||||
return weight;
|
||||
}
|
||||
|
||||
public void setWeight(int weight) {
|
||||
this.weight = weight;
|
||||
}
|
||||
|
||||
public int getClick_count() {
|
||||
return click_count;
|
||||
}
|
||||
|
||||
public void setClick_count(int click_count) {
|
||||
this.click_count = click_count;
|
||||
}
|
||||
|
||||
public int getType_id() {
|
||||
return type_id;
|
||||
}
|
||||
|
||||
public void setType_id(int type_id) {
|
||||
this.type_id = type_id;
|
||||
}
|
||||
}
|
||||
27
app/src/main/java/com/xxpatx/os/bean/GoodsList.java
Normal file
27
app/src/main/java/com/xxpatx/os/bean/GoodsList.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class GoodsList implements Serializable {
|
||||
private static final long serialVersionUID = 2691720359257416172L;
|
||||
|
||||
int current_page;
|
||||
List<GoodsInfo> data;
|
||||
|
||||
public int getCurrent_page() {
|
||||
return current_page;
|
||||
}
|
||||
|
||||
public void setCurrent_page(int current_page) {
|
||||
this.current_page = current_page;
|
||||
}
|
||||
|
||||
public List<GoodsInfo> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<GoodsInfo> data) {
|
||||
this.data = data;
|
||||
}
|
||||
}
|
||||
25
app/src/main/java/com/xxpatx/os/bean/GoodsType.java
Normal file
25
app/src/main/java/com/xxpatx/os/bean/GoodsType.java
Normal file
@@ -0,0 +1,25 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class GoodsType implements Serializable {
|
||||
private static final long serialVersionUID = -3861404325733396969L;
|
||||
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;
|
||||
}
|
||||
}
|
||||
26
app/src/main/java/com/xxpatx/os/bean/HealthCode.java
Normal file
26
app/src/main/java/com/xxpatx/os/bean/HealthCode.java
Normal file
@@ -0,0 +1,26 @@
|
||||
package com.xxpatx.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;
|
||||
}
|
||||
}
|
||||
76
app/src/main/java/com/xxpatx/os/bean/JsonBean.java
Normal file
76
app/src/main/java/com/xxpatx/os/bean/JsonBean.java
Normal file
@@ -0,0 +1,76 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
|
||||
import com.contrarywind.interfaces.IPickerViewData;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* TODO<json数据源>
|
||||
*
|
||||
* @author: 小嵩
|
||||
* @date: 2017/3/16 15:36
|
||||
*/
|
||||
|
||||
public class JsonBean implements IPickerViewData {
|
||||
|
||||
|
||||
/**
|
||||
* name : 省份
|
||||
* city : [{"name":"北京市","area":["东城区","西城区","崇文区","宣武区","朝阳区"]}]
|
||||
*/
|
||||
|
||||
private String name;
|
||||
private List<CityBean> city;
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public List<CityBean> getCityList() {
|
||||
return city;
|
||||
}
|
||||
|
||||
public void setCityList(List<CityBean> city) {
|
||||
this.city = city;
|
||||
}
|
||||
|
||||
// 实现 IPickerViewData 接口,
|
||||
// 这个用来显示在PickerView上面的字符串,
|
||||
// PickerView会通过IPickerViewData获取getPickerViewText方法显示出来。
|
||||
@Override
|
||||
public String getPickerViewText() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
|
||||
public static class CityBean {
|
||||
/**
|
||||
* name : 城市
|
||||
* area : ["东城区","西城区","崇文区","昌平区"]
|
||||
*/
|
||||
|
||||
private String name;
|
||||
private List<String> area;
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public List<String> getArea() {
|
||||
return area;
|
||||
}
|
||||
|
||||
public void setArea(List<String> area) {
|
||||
this.area = area;
|
||||
}
|
||||
}
|
||||
}
|
||||
99
app/src/main/java/com/xxpatx/os/bean/LogisticsTrace.java
Normal file
99
app/src/main/java/com/xxpatx/os/bean/LogisticsTrace.java
Normal file
@@ -0,0 +1,99 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class LogisticsTrace implements Serializable {
|
||||
private static final long serialVersionUID = 3064293483233992595L;
|
||||
|
||||
String theLastTime;
|
||||
String cpCode;
|
||||
String cpUrl;
|
||||
String logisticsStatusDesc;
|
||||
List<LogisticsTraceDeta> logisticsTraceDetailList;
|
||||
String mailNo;
|
||||
String theLastMessage;
|
||||
String cpMobile;
|
||||
String logisticsCompanyName;
|
||||
String logisticsStatus;
|
||||
|
||||
public String getTheLastTime() {
|
||||
return theLastTime;
|
||||
}
|
||||
|
||||
public void setTheLastTime(String theLastTime) {
|
||||
this.theLastTime = theLastTime;
|
||||
}
|
||||
|
||||
public String getCpCode() {
|
||||
return cpCode;
|
||||
}
|
||||
|
||||
public void setCpCode(String cpCode) {
|
||||
this.cpCode = cpCode;
|
||||
}
|
||||
|
||||
public String getCpUrl() {
|
||||
return cpUrl;
|
||||
}
|
||||
|
||||
public void setCpUrl(String cpUrl) {
|
||||
this.cpUrl = cpUrl;
|
||||
}
|
||||
|
||||
public String getLogisticsStatusDesc() {
|
||||
return logisticsStatusDesc;
|
||||
}
|
||||
|
||||
public void setLogisticsStatusDesc(String logisticsStatusDesc) {
|
||||
this.logisticsStatusDesc = logisticsStatusDesc;
|
||||
}
|
||||
|
||||
public List<LogisticsTraceDeta> getLogisticsTraceDetailList() {
|
||||
return logisticsTraceDetailList;
|
||||
}
|
||||
|
||||
public void setLogisticsTraceDetailList(List<LogisticsTraceDeta> logisticsTraceDetailList) {
|
||||
this.logisticsTraceDetailList = logisticsTraceDetailList;
|
||||
}
|
||||
|
||||
public String getMailNo() {
|
||||
return mailNo;
|
||||
}
|
||||
|
||||
public void setMailNo(String mailNo) {
|
||||
this.mailNo = mailNo;
|
||||
}
|
||||
|
||||
public String getTheLastMessage() {
|
||||
return theLastMessage;
|
||||
}
|
||||
|
||||
public void setTheLastMessage(String theLastMessage) {
|
||||
this.theLastMessage = theLastMessage;
|
||||
}
|
||||
|
||||
public String getCpMobile() {
|
||||
return cpMobile;
|
||||
}
|
||||
|
||||
public void setCpMobile(String cpMobile) {
|
||||
this.cpMobile = cpMobile;
|
||||
}
|
||||
|
||||
public String getLogisticsCompanyName() {
|
||||
return logisticsCompanyName;
|
||||
}
|
||||
|
||||
public void setLogisticsCompanyName(String logisticsCompanyName) {
|
||||
this.logisticsCompanyName = logisticsCompanyName;
|
||||
}
|
||||
|
||||
public String getLogisticsStatus() {
|
||||
return logisticsStatus;
|
||||
}
|
||||
|
||||
public void setLogisticsStatus(String logisticsStatus) {
|
||||
this.logisticsStatus = logisticsStatus;
|
||||
}
|
||||
}
|
||||
62
app/src/main/java/com/xxpatx/os/bean/LogisticsTraceDeta.java
Normal file
62
app/src/main/java/com/xxpatx/os/bean/LogisticsTraceDeta.java
Normal file
@@ -0,0 +1,62 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class LogisticsTraceDeta implements Serializable {
|
||||
private static final long serialVersionUID = 6775968129767296804L;
|
||||
|
||||
String areaCode;
|
||||
String areaName;
|
||||
String subLogisticsStatus;
|
||||
long time;
|
||||
String logisticsStatus;
|
||||
String desc;
|
||||
|
||||
public String getAreaCode() {
|
||||
return areaCode;
|
||||
}
|
||||
|
||||
public void setAreaCode(String areaCode) {
|
||||
this.areaCode = areaCode;
|
||||
}
|
||||
|
||||
public String getAreaName() {
|
||||
return areaName;
|
||||
}
|
||||
|
||||
public void setAreaName(String areaName) {
|
||||
this.areaName = areaName;
|
||||
}
|
||||
|
||||
public String getSubLogisticsStatus() {
|
||||
return subLogisticsStatus;
|
||||
}
|
||||
|
||||
public void setSubLogisticsStatus(String subLogisticsStatus) {
|
||||
this.subLogisticsStatus = subLogisticsStatus;
|
||||
}
|
||||
|
||||
public long getTime() {
|
||||
return time;
|
||||
}
|
||||
|
||||
public void setTime(long time) {
|
||||
this.time = time;
|
||||
}
|
||||
|
||||
public String getLogisticsStatus() {
|
||||
return logisticsStatus;
|
||||
}
|
||||
|
||||
public void setLogisticsStatus(String logisticsStatus) {
|
||||
this.logisticsStatus = logisticsStatus;
|
||||
}
|
||||
|
||||
public String getDesc() {
|
||||
return desc;
|
||||
}
|
||||
|
||||
public void setDesc(String desc) {
|
||||
this.desc = desc;
|
||||
}
|
||||
}
|
||||
134
app/src/main/java/com/xxpatx/os/bean/MapBean.java
Normal file
134
app/src/main/java/com/xxpatx/os/bean/MapBean.java
Normal file
@@ -0,0 +1,134 @@
|
||||
package com.xxpatx.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;
|
||||
}
|
||||
}
|
||||
34
app/src/main/java/com/xxpatx/os/bean/MapGeoLocation.java
Normal file
34
app/src/main/java/com/xxpatx/os/bean/MapGeoLocation.java
Normal file
@@ -0,0 +1,34 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class MapGeoLocation implements Serializable {
|
||||
private static final long serialVersionUID = -1877191050083863647L;
|
||||
|
||||
String lng;
|
||||
String lat;
|
||||
|
||||
public String getLng() {
|
||||
return lng;
|
||||
}
|
||||
|
||||
public void setLng(String lng) {
|
||||
this.lng = lng;
|
||||
}
|
||||
|
||||
public String getLat() {
|
||||
return lat;
|
||||
}
|
||||
|
||||
public void setLat(String lat) {
|
||||
this.lat = lat;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return lng + "," + lat;
|
||||
}
|
||||
}
|
||||
64
app/src/main/java/com/xxpatx/os/bean/MapGeoResult.java
Normal file
64
app/src/main/java/com/xxpatx/os/bean/MapGeoResult.java
Normal file
@@ -0,0 +1,64 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class MapGeoResult implements Serializable {
|
||||
private static final long serialVersionUID = 2065809223607379059L;
|
||||
|
||||
MapGeoLocation location;
|
||||
int precise;
|
||||
int confidence;
|
||||
int comprehension;
|
||||
String level;
|
||||
|
||||
public MapGeoLocation getLocation() {
|
||||
return location;
|
||||
}
|
||||
|
||||
public void setLocation(MapGeoLocation location) {
|
||||
this.location = location;
|
||||
}
|
||||
|
||||
public int getPrecise() {
|
||||
return precise;
|
||||
}
|
||||
|
||||
public void setPrecise(int precise) {
|
||||
this.precise = precise;
|
||||
}
|
||||
|
||||
public int getConfidence() {
|
||||
return confidence;
|
||||
}
|
||||
|
||||
public void setConfidence(int confidence) {
|
||||
this.confidence = confidence;
|
||||
}
|
||||
|
||||
public int getComprehension() {
|
||||
return comprehension;
|
||||
}
|
||||
|
||||
public void setComprehension(int comprehension) {
|
||||
this.comprehension = comprehension;
|
||||
}
|
||||
|
||||
public String getLevel() {
|
||||
return level;
|
||||
}
|
||||
|
||||
public void setLevel(String level) {
|
||||
this.level = level;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
57
app/src/main/java/com/xxpatx/os/bean/NetDesktopIcon.java
Normal file
57
app/src/main/java/com/xxpatx/os/bean/NetDesktopIcon.java
Normal file
@@ -0,0 +1,57 @@
|
||||
package com.xxpatx.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;
|
||||
}
|
||||
}
|
||||
35
app/src/main/java/com/xxpatx/os/bean/OrderBean.java
Normal file
35
app/src/main/java/com/xxpatx/os/bean/OrderBean.java
Normal file
@@ -0,0 +1,35 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class OrderBean implements Serializable {
|
||||
private static final long serialVersionUID = -7589758006696263943L;
|
||||
|
||||
String order_id;
|
||||
String order_sn;
|
||||
String sn;
|
||||
|
||||
public String getOrder_id() {
|
||||
return order_id;
|
||||
}
|
||||
|
||||
public void setOrder_id(String order_id) {
|
||||
this.order_id = order_id;
|
||||
}
|
||||
|
||||
public String getOrder_sn() {
|
||||
return order_sn;
|
||||
}
|
||||
|
||||
public void setOrder_sn(String order_sn) {
|
||||
this.order_sn = order_sn;
|
||||
}
|
||||
|
||||
public String getSn() {
|
||||
return sn;
|
||||
}
|
||||
|
||||
public void setSn(String sn) {
|
||||
this.sn = sn;
|
||||
}
|
||||
}
|
||||
89
app/src/main/java/com/xxpatx/os/bean/OrderGoods.java
Normal file
89
app/src/main/java/com/xxpatx/os/bean/OrderGoods.java
Normal file
@@ -0,0 +1,89 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class OrderGoods implements Serializable {
|
||||
private static final long serialVersionUID = 7257019166037379938L;
|
||||
|
||||
int id;
|
||||
String order_id;
|
||||
String goods_id;
|
||||
String goods_name;
|
||||
String price;// 原价
|
||||
int num;
|
||||
String buy_price;// 抢购价
|
||||
String pay_price;// 实付款
|
||||
String image;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getOrder_id() {
|
||||
return order_id;
|
||||
}
|
||||
|
||||
public void setOrder_id(String order_id) {
|
||||
this.order_id = order_id;
|
||||
}
|
||||
|
||||
public String getGoods_id() {
|
||||
return goods_id;
|
||||
}
|
||||
|
||||
public void setGoods_id(String goods_id) {
|
||||
this.goods_id = goods_id;
|
||||
}
|
||||
|
||||
public String getGoods_name() {
|
||||
return goods_name;
|
||||
}
|
||||
|
||||
public void setGoods_name(String goods_name) {
|
||||
this.goods_name = goods_name;
|
||||
}
|
||||
|
||||
public String getPrice() {
|
||||
return price;
|
||||
}
|
||||
|
||||
public void setPrice(String price) {
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
public int getNum() {
|
||||
return num;
|
||||
}
|
||||
|
||||
public void setNum(int num) {
|
||||
this.num = num;
|
||||
}
|
||||
|
||||
public String getBuy_price() {
|
||||
return buy_price;
|
||||
}
|
||||
|
||||
public void setBuy_price(String buy_price) {
|
||||
this.buy_price = buy_price;
|
||||
}
|
||||
|
||||
public String getPay_price() {
|
||||
return pay_price;
|
||||
}
|
||||
|
||||
public void setPay_price(String pay_price) {
|
||||
this.pay_price = pay_price;
|
||||
}
|
||||
|
||||
public String getImage() {
|
||||
return image;
|
||||
}
|
||||
|
||||
public void setImage(String image) {
|
||||
this.image = image;
|
||||
}
|
||||
}
|
||||
297
app/src/main/java/com/xxpatx/os/bean/OrderIndexBean.java
Normal file
297
app/src/main/java/com/xxpatx/os/bean/OrderIndexBean.java
Normal file
@@ -0,0 +1,297 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class OrderIndexBean implements Serializable {
|
||||
private static final long serialVersionUID = 4544929539747251262L;
|
||||
|
||||
String id;
|
||||
String order_sn;
|
||||
String sn_id;
|
||||
String sn;
|
||||
String user_id;
|
||||
String fullname;// 购买人
|
||||
String tel;// 电话
|
||||
String province_id;
|
||||
String city_id;
|
||||
String county_id;
|
||||
String address; // 详细地址
|
||||
int status;// 订单状态: 0 待付款 1 待发货 2 待收货 3 已签收 20 已取消
|
||||
String express_id;
|
||||
int goods_total;// 商品数量
|
||||
String price_total;// 总额
|
||||
String remark;
|
||||
String express_no;// 快递单号
|
||||
String created_at;//下单时间
|
||||
String pay_at; // 支付时间 未支付时为null
|
||||
String send_at;// 发货时间 未发货时为null
|
||||
int is_cancel;
|
||||
String receive_at;
|
||||
String apply_cancel_at;
|
||||
String cancel_at;
|
||||
String audit_at;
|
||||
int audit_admin_id;
|
||||
String reason;
|
||||
String area_name;// 区域
|
||||
String latest_transport;// 最新物流信息,为空的话,不显示
|
||||
OrderGoods goods;
|
||||
ExpressInfo express;// 未发货时为null
|
||||
AdminInfo admin;// 关联企业
|
||||
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getOrder_sn() {
|
||||
return order_sn;
|
||||
}
|
||||
|
||||
public void setOrder_sn(String order_sn) {
|
||||
this.order_sn = order_sn;
|
||||
}
|
||||
|
||||
public String getSn_id() {
|
||||
return sn_id;
|
||||
}
|
||||
|
||||
public void setSn_id(String sn_id) {
|
||||
this.sn_id = sn_id;
|
||||
}
|
||||
|
||||
public String getSn() {
|
||||
return sn;
|
||||
}
|
||||
|
||||
public void setSn(String sn) {
|
||||
this.sn = sn;
|
||||
}
|
||||
|
||||
public String getUser_id() {
|
||||
return user_id;
|
||||
}
|
||||
|
||||
public void setUser_id(String user_id) {
|
||||
this.user_id = user_id;
|
||||
}
|
||||
|
||||
public String getFullname() {
|
||||
return fullname;
|
||||
}
|
||||
|
||||
public void setFullname(String fullname) {
|
||||
this.fullname = fullname;
|
||||
}
|
||||
|
||||
public String getTel() {
|
||||
return tel;
|
||||
}
|
||||
|
||||
public void setTel(String tel) {
|
||||
this.tel = tel;
|
||||
}
|
||||
|
||||
public String getProvince_id() {
|
||||
return province_id;
|
||||
}
|
||||
|
||||
public void setProvince_id(String province_id) {
|
||||
this.province_id = province_id;
|
||||
}
|
||||
|
||||
public String getCity_id() {
|
||||
return city_id;
|
||||
}
|
||||
|
||||
public void setCity_id(String city_id) {
|
||||
this.city_id = city_id;
|
||||
}
|
||||
|
||||
public String getCounty_id() {
|
||||
return county_id;
|
||||
}
|
||||
|
||||
public void setCounty_id(String county_id) {
|
||||
this.county_id = county_id;
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getExpress_id() {
|
||||
return express_id;
|
||||
}
|
||||
|
||||
public void setExpress_id(String express_id) {
|
||||
this.express_id = express_id;
|
||||
}
|
||||
|
||||
public int getGoods_total() {
|
||||
return goods_total;
|
||||
}
|
||||
|
||||
public void setGoods_total(int goods_total) {
|
||||
this.goods_total = goods_total;
|
||||
}
|
||||
|
||||
public String getPrice_total() {
|
||||
return price_total;
|
||||
}
|
||||
|
||||
public void setPrice_total(String price_total) {
|
||||
this.price_total = price_total;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getExpress_no() {
|
||||
return express_no;
|
||||
}
|
||||
|
||||
public void setExpress_no(String express_no) {
|
||||
this.express_no = express_no;
|
||||
}
|
||||
|
||||
public String getCreated_at() {
|
||||
return created_at;
|
||||
}
|
||||
|
||||
public void setCreated_at(String created_at) {
|
||||
this.created_at = created_at;
|
||||
}
|
||||
|
||||
public String getPay_at() {
|
||||
return pay_at;
|
||||
}
|
||||
|
||||
public void setPay_at(String pay_at) {
|
||||
this.pay_at = pay_at;
|
||||
}
|
||||
|
||||
public String getSend_at() {
|
||||
return send_at;
|
||||
}
|
||||
|
||||
public void setSend_at(String send_at) {
|
||||
this.send_at = send_at;
|
||||
}
|
||||
|
||||
public int getIs_cancel() {
|
||||
return is_cancel;
|
||||
}
|
||||
|
||||
public void setIs_cancel(int is_cancel) {
|
||||
this.is_cancel = is_cancel;
|
||||
}
|
||||
|
||||
public String getReceive_at() {
|
||||
return receive_at;
|
||||
}
|
||||
|
||||
public void setReceive_at(String receive_at) {
|
||||
this.receive_at = receive_at;
|
||||
}
|
||||
|
||||
public String getApply_cancel_at() {
|
||||
return apply_cancel_at;
|
||||
}
|
||||
|
||||
public void setApply_cancel_at(String apply_cancel_at) {
|
||||
this.apply_cancel_at = apply_cancel_at;
|
||||
}
|
||||
|
||||
public String getCancel_at() {
|
||||
return cancel_at;
|
||||
}
|
||||
|
||||
public void setCancel_at(String cancel_at) {
|
||||
this.cancel_at = cancel_at;
|
||||
}
|
||||
|
||||
public String getAudit_at() {
|
||||
return audit_at;
|
||||
}
|
||||
|
||||
public void setAudit_at(String audit_at) {
|
||||
this.audit_at = audit_at;
|
||||
}
|
||||
|
||||
public int getAudit_admin_id() {
|
||||
return audit_admin_id;
|
||||
}
|
||||
|
||||
public void setAudit_admin_id(int audit_admin_id) {
|
||||
this.audit_admin_id = audit_admin_id;
|
||||
}
|
||||
|
||||
public String getReason() {
|
||||
return reason;
|
||||
}
|
||||
|
||||
public void setReason(String reason) {
|
||||
this.reason = reason;
|
||||
}
|
||||
|
||||
public String getArea_name() {
|
||||
return area_name;
|
||||
}
|
||||
|
||||
public void setArea_name(String area_name) {
|
||||
this.area_name = area_name;
|
||||
}
|
||||
|
||||
public String getLatest_transport() {
|
||||
return latest_transport;
|
||||
}
|
||||
|
||||
public void setLatest_transport(String latest_transport) {
|
||||
this.latest_transport = latest_transport;
|
||||
}
|
||||
|
||||
public OrderGoods getGoods() {
|
||||
return goods;
|
||||
}
|
||||
|
||||
public void setGoods(OrderGoods goods) {
|
||||
this.goods = goods;
|
||||
}
|
||||
|
||||
public ExpressInfo getExpress() {
|
||||
return express;
|
||||
}
|
||||
|
||||
public void setExpress(ExpressInfo express) {
|
||||
this.express = express;
|
||||
}
|
||||
|
||||
public AdminInfo getAdmin() {
|
||||
return admin;
|
||||
}
|
||||
|
||||
public void setAdmin(AdminInfo admin) {
|
||||
this.admin = admin;
|
||||
}
|
||||
}
|
||||
27
app/src/main/java/com/xxpatx/os/bean/OrderIndexData.java
Normal file
27
app/src/main/java/com/xxpatx/os/bean/OrderIndexData.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class OrderIndexData implements Serializable {
|
||||
private static final long serialVersionUID = -5597311809527387712L;
|
||||
|
||||
int current_page;
|
||||
List<OrderIndexBean> data;
|
||||
|
||||
public int getCurrent_page() {
|
||||
return current_page;
|
||||
}
|
||||
|
||||
public void setCurrent_page(int current_page) {
|
||||
this.current_page = current_page;
|
||||
}
|
||||
|
||||
public List<OrderIndexBean> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<OrderIndexBean> data) {
|
||||
this.data = data;
|
||||
}
|
||||
}
|
||||
137
app/src/main/java/com/xxpatx/os/bean/QweatherLocation.java
Normal file
137
app/src/main/java/com/xxpatx/os/bean/QweatherLocation.java
Normal file
@@ -0,0 +1,137 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class QweatherLocation implements Serializable {
|
||||
private static final long serialVersionUID = -3782071476006017055L;
|
||||
|
||||
String name;
|
||||
String id;
|
||||
String lat;
|
||||
String lon;
|
||||
String adm2;
|
||||
String adm1;
|
||||
String country;
|
||||
String tz;
|
||||
String utcOffset;
|
||||
int isDst;
|
||||
String type;
|
||||
long rank;
|
||||
String fxLink;
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getLat() {
|
||||
return lat;
|
||||
}
|
||||
|
||||
public void setLat(String lat) {
|
||||
this.lat = lat;
|
||||
}
|
||||
|
||||
public String getLon() {
|
||||
return lon;
|
||||
}
|
||||
|
||||
public void setLon(String lon) {
|
||||
this.lon = lon;
|
||||
}
|
||||
|
||||
public String getAdm2() {
|
||||
return adm2;
|
||||
}
|
||||
|
||||
public void setAdm2(String adm2) {
|
||||
this.adm2 = adm2;
|
||||
}
|
||||
|
||||
public String getAdm1() {
|
||||
return adm1;
|
||||
}
|
||||
|
||||
public void setAdm1(String adm1) {
|
||||
this.adm1 = adm1;
|
||||
}
|
||||
|
||||
public String getCountry() {
|
||||
return country;
|
||||
}
|
||||
|
||||
public void setCountry(String country) {
|
||||
this.country = country;
|
||||
}
|
||||
|
||||
public String getTz() {
|
||||
return tz;
|
||||
}
|
||||
|
||||
public void setTz(String tz) {
|
||||
this.tz = tz;
|
||||
}
|
||||
|
||||
public String getUtcOffset() {
|
||||
return utcOffset;
|
||||
}
|
||||
|
||||
public void setUtcOffset(String utcOffset) {
|
||||
this.utcOffset = utcOffset;
|
||||
}
|
||||
|
||||
public int getIsDst() {
|
||||
return isDst;
|
||||
}
|
||||
|
||||
public void setIsDst(int isDst) {
|
||||
this.isDst = isDst;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public long getRank() {
|
||||
return rank;
|
||||
}
|
||||
|
||||
public void setRank(long rank) {
|
||||
this.rank = rank;
|
||||
}
|
||||
|
||||
public String getFxLink() {
|
||||
return fxLink;
|
||||
}
|
||||
|
||||
public void setFxLink(String fxLink) {
|
||||
this.fxLink = fxLink;
|
||||
}
|
||||
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
39
app/src/main/java/com/xxpatx/os/bean/QweatherLookup.java
Normal file
39
app/src/main/java/com/xxpatx/os/bean/QweatherLookup.java
Normal file
@@ -0,0 +1,39 @@
|
||||
package com.xxpatx.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 QweatherLookup implements Serializable {
|
||||
private static final long serialVersionUID = -150539309924701702L;
|
||||
|
||||
int code;
|
||||
List<QweatherLocation> location;
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public List<QweatherLocation> getLocation() {
|
||||
return location;
|
||||
}
|
||||
|
||||
public void setLocation(List<QweatherLocation> location) {
|
||||
this.location = location;
|
||||
}
|
||||
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
64
app/src/main/java/com/xxpatx/os/bean/RecordsInfo.java
Normal file
64
app/src/main/java/com/xxpatx/os/bean/RecordsInfo.java
Normal file
@@ -0,0 +1,64 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class RecordsInfo implements Serializable {
|
||||
private static final long serialVersionUID = -8677336093725878416L;
|
||||
|
||||
String name;
|
||||
String number;
|
||||
long date;
|
||||
int duration;
|
||||
int type;
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getNumber() {
|
||||
return number;
|
||||
}
|
||||
|
||||
public void setNumber(String number) {
|
||||
this.number = number;
|
||||
}
|
||||
|
||||
public long getDate() {
|
||||
return date;
|
||||
}
|
||||
|
||||
public void setDate(long date) {
|
||||
this.date = date;
|
||||
}
|
||||
|
||||
public int getDuration() {
|
||||
return duration;
|
||||
}
|
||||
|
||||
public void setDuration(int duration) {
|
||||
this.duration = duration;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
34
app/src/main/java/com/xxpatx/os/bean/RegionInfo.java
Normal file
34
app/src/main/java/com/xxpatx/os/bean/RegionInfo.java
Normal file
@@ -0,0 +1,34 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class RegionInfo implements Serializable {
|
||||
private static final long serialVersionUID = 6794758421072894673L;
|
||||
String id;
|
||||
String area_name;
|
||||
String parent_id;
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getArea_name() {
|
||||
return area_name;
|
||||
}
|
||||
|
||||
public void setArea_name(String area_name) {
|
||||
this.area_name = area_name;
|
||||
}
|
||||
|
||||
public String getParent_id() {
|
||||
return parent_id;
|
||||
}
|
||||
|
||||
public void setParent_id(String parent_id) {
|
||||
this.parent_id = parent_id;
|
||||
}
|
||||
}
|
||||
35
app/src/main/java/com/xxpatx/os/bean/ServeBean.java
Normal file
35
app/src/main/java/com/xxpatx/os/bean/ServeBean.java
Normal file
@@ -0,0 +1,35 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class ServeBean implements Serializable {
|
||||
private static final long serialVersionUID = -725553008051183760L;
|
||||
|
||||
int id;
|
||||
String name;
|
||||
String image;
|
||||
|
||||
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 getImage() {
|
||||
return image;
|
||||
}
|
||||
|
||||
public void setImage(String image) {
|
||||
this.image = image;
|
||||
}
|
||||
}
|
||||
191
app/src/main/java/com/xxpatx/os/bean/SnInfo.java
Normal file
191
app/src/main/java/com/xxpatx/os/bean/SnInfo.java
Normal file
@@ -0,0 +1,191 @@
|
||||
package com.xxpatx.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;
|
||||
|
||||
int id;
|
||||
String sn_value;
|
||||
int is_log;
|
||||
int is_log_type;
|
||||
int sex;
|
||||
int age;
|
||||
String height;
|
||||
String weight;
|
||||
String devices_version;
|
||||
String sn_name;
|
||||
String school;
|
||||
String is_lock;
|
||||
String is_reset;
|
||||
String grade;
|
||||
String name;
|
||||
int admin_id;
|
||||
String mobile;
|
||||
|
||||
/*
|
||||
*3 商用——企业用户
|
||||
4 C端——老人用户
|
||||
5 教育——机构用户
|
||||
6 C端——学生用户
|
||||
7 C端——DIY用户
|
||||
8 C端——经销商
|
||||
*
|
||||
* */
|
||||
int type_id;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
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 int getAge() {
|
||||
return age;
|
||||
}
|
||||
|
||||
public void setAge(int age) {
|
||||
this.age = age;
|
||||
}
|
||||
|
||||
public String getHeight() {
|
||||
return height;
|
||||
}
|
||||
|
||||
public void setHeight(String height) {
|
||||
this.height = height;
|
||||
}
|
||||
|
||||
public String getWeight() {
|
||||
return weight;
|
||||
}
|
||||
|
||||
public void setWeight(String weight) {
|
||||
this.weight = weight;
|
||||
}
|
||||
|
||||
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 getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public int getAdmin_id() {
|
||||
return admin_id;
|
||||
}
|
||||
|
||||
public void setAdmin_id(int admin_id) {
|
||||
this.admin_id = admin_id;
|
||||
}
|
||||
|
||||
public String getGrade() {
|
||||
return grade;
|
||||
}
|
||||
|
||||
public void setGrade(String grade) {
|
||||
this.grade = grade;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
429
app/src/main/java/com/xxpatx/os/bean/SystemSettings.java
Normal file
429
app/src/main/java/com/xxpatx/os/bean/SystemSettings.java
Normal file
@@ -0,0 +1,429 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
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;
|
||||
List<Contact> 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_health;
|
||||
int is_shopping;
|
||||
int is_info;
|
||||
|
||||
|
||||
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 List<Contact> getSetting_sos() {
|
||||
return setting_sos;
|
||||
}
|
||||
|
||||
public void setSetting_sos(List<Contact> 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_health() {
|
||||
return is_health;
|
||||
}
|
||||
|
||||
public void setIs_health(int is_health) {
|
||||
this.is_health = is_health;
|
||||
}
|
||||
|
||||
public int getIs_shopping() {
|
||||
return is_shopping;
|
||||
}
|
||||
|
||||
public void setIs_shopping(int is_shopping) {
|
||||
this.is_shopping = is_shopping;
|
||||
}
|
||||
|
||||
public int getIs_info() {
|
||||
return is_info;
|
||||
}
|
||||
|
||||
public void setIs_info(int is_info) {
|
||||
this.is_info = is_info;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
62
app/src/main/java/com/xxpatx/os/bean/UserAvatarInfo.java
Normal file
62
app/src/main/java/com/xxpatx/os/bean/UserAvatarInfo.java
Normal file
@@ -0,0 +1,62 @@
|
||||
package com.xxpatx.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/xxpatx/os/bean/UserId.java
Normal file
17
app/src/main/java/com/xxpatx/os/bean/UserId.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package com.xxpatx.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;
|
||||
}
|
||||
}
|
||||
294
app/src/main/java/com/xxpatx/os/bean/WeatherDailyJson.java
Normal file
294
app/src/main/java/com/xxpatx/os/bean/WeatherDailyJson.java
Normal file
@@ -0,0 +1,294 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import com.qweather.sdk.bean.Basic;
|
||||
import com.qweather.sdk.bean.Refer;
|
||||
import com.qweather.sdk.bean.base.Code;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class WeatherDailyJson implements Serializable {
|
||||
private static final long serialVersionUID = 1585791680452421396L;
|
||||
|
||||
private Code code;
|
||||
private Basic basic;
|
||||
private List<DailyJson> daily;
|
||||
private Refer refer;
|
||||
|
||||
public WeatherDailyJson() {
|
||||
}
|
||||
|
||||
public Refer getRefer() {
|
||||
return this.refer;
|
||||
}
|
||||
|
||||
public void setRefer(Refer var1) {
|
||||
this.refer = var1;
|
||||
}
|
||||
|
||||
public Code getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(Code var1) {
|
||||
this.code = var1;
|
||||
}
|
||||
|
||||
public Basic getBasic() {
|
||||
return this.basic;
|
||||
}
|
||||
|
||||
public void setBasic(Basic var1) {
|
||||
this.basic = var1;
|
||||
}
|
||||
|
||||
public List<DailyJson> getDaily() {
|
||||
return this.daily;
|
||||
}
|
||||
|
||||
public void setDaily(List<DailyJson> var1) {
|
||||
this.daily = var1;
|
||||
}
|
||||
|
||||
public static class DailyJson {
|
||||
String fxDate = "";
|
||||
String sunrise = "";
|
||||
String sunset = "";
|
||||
String moonRise = "";
|
||||
String moonSet = "";
|
||||
String moonPhase = "";
|
||||
String tempMax = "";
|
||||
String tempMin = "";
|
||||
String iconDay = "";
|
||||
String textDay = "";
|
||||
String iconNight = "";
|
||||
String textNight = "";
|
||||
String wind360Day = "";
|
||||
String windDirDay = "";
|
||||
String windScaleDay = "";
|
||||
String windSpeedDay = "";
|
||||
String wind360Night = "";
|
||||
String windDirNight = "";
|
||||
String windScaleNight = "";
|
||||
String windSpeedNight = "";
|
||||
String humidity = "";
|
||||
String precip = "";
|
||||
String pressure = "";
|
||||
String vis = "";
|
||||
String cloud = "";
|
||||
String uvIndex = "";
|
||||
|
||||
public DailyJson() {
|
||||
|
||||
}
|
||||
|
||||
public String getFxDate() {
|
||||
return this.fxDate;
|
||||
}
|
||||
|
||||
public void setFxDate(String var1) {
|
||||
this.fxDate = var1;
|
||||
}
|
||||
|
||||
public String getSunrise() {
|
||||
return this.sunrise;
|
||||
}
|
||||
|
||||
public void setSunrise(String var1) {
|
||||
this.sunrise = var1;
|
||||
}
|
||||
|
||||
public String getSunset() {
|
||||
return this.sunset;
|
||||
}
|
||||
|
||||
public void setSunset(String var1) {
|
||||
this.sunset = var1;
|
||||
}
|
||||
|
||||
public String getMoonRise() {
|
||||
return this.moonRise;
|
||||
}
|
||||
|
||||
public void setMoonRise(String var1) {
|
||||
this.moonRise = var1;
|
||||
}
|
||||
|
||||
public String getMoonSet() {
|
||||
return this.moonSet;
|
||||
}
|
||||
|
||||
public void setMoonSet(String var1) {
|
||||
this.moonSet = var1;
|
||||
}
|
||||
|
||||
public String getMoonPhase() {
|
||||
return this.moonPhase;
|
||||
}
|
||||
|
||||
public void setMoonPhase(String var1) {
|
||||
this.moonPhase = var1;
|
||||
}
|
||||
|
||||
public String getTempMax() {
|
||||
return this.tempMax;
|
||||
}
|
||||
|
||||
public void setTempMax(String var1) {
|
||||
this.tempMax = var1;
|
||||
}
|
||||
|
||||
public String getTempMin() {
|
||||
return this.tempMin;
|
||||
}
|
||||
|
||||
public void setTempMin(String var1) {
|
||||
this.tempMin = var1;
|
||||
}
|
||||
|
||||
public String getIconDay() {
|
||||
return this.iconDay;
|
||||
}
|
||||
|
||||
public void setIconDay(String var1) {
|
||||
this.iconDay = var1;
|
||||
}
|
||||
|
||||
public String getTextDay() {
|
||||
return this.textDay;
|
||||
}
|
||||
|
||||
public void setTextDay(String var1) {
|
||||
this.textDay = var1;
|
||||
}
|
||||
|
||||
public String getIconNight() {
|
||||
return this.iconNight;
|
||||
}
|
||||
|
||||
public void setIconNight(String var1) {
|
||||
this.iconNight = var1;
|
||||
}
|
||||
|
||||
public String getTextNight() {
|
||||
return this.textNight;
|
||||
}
|
||||
|
||||
public void setTextNight(String var1) {
|
||||
this.textNight = var1;
|
||||
}
|
||||
|
||||
public String getWind360Day() {
|
||||
return this.wind360Day;
|
||||
}
|
||||
|
||||
public void setWind360Day(String var1) {
|
||||
this.wind360Day = var1;
|
||||
}
|
||||
|
||||
public String getWindDirDay() {
|
||||
return this.windDirDay;
|
||||
}
|
||||
|
||||
public void setWindDirDay(String var1) {
|
||||
this.windDirDay = var1;
|
||||
}
|
||||
|
||||
public String getWindScaleDay() {
|
||||
return this.windScaleDay;
|
||||
}
|
||||
|
||||
public void setWindScaleDay(String var1) {
|
||||
this.windScaleDay = var1;
|
||||
}
|
||||
|
||||
public String getWindSpeedDay() {
|
||||
return this.windSpeedDay;
|
||||
}
|
||||
|
||||
public void setWindSpeedDay(String var1) {
|
||||
this.windSpeedDay = var1;
|
||||
}
|
||||
|
||||
public String getWind360Night() {
|
||||
return this.wind360Night;
|
||||
}
|
||||
|
||||
public void setWind360Night(String var1) {
|
||||
this.wind360Night = var1;
|
||||
}
|
||||
|
||||
public String getWindDirNight() {
|
||||
return this.windDirNight;
|
||||
}
|
||||
|
||||
public void setWindDirNight(String var1) {
|
||||
this.windDirNight = var1;
|
||||
}
|
||||
|
||||
public String getWindScaleNight() {
|
||||
return this.windScaleNight;
|
||||
}
|
||||
|
||||
public void setWindScaleNight(String var1) {
|
||||
this.windScaleNight = var1;
|
||||
}
|
||||
|
||||
public String getWindSpeedNight() {
|
||||
return this.windSpeedNight;
|
||||
}
|
||||
|
||||
public void setWindSpeedNight(String var1) {
|
||||
this.windSpeedNight = var1;
|
||||
}
|
||||
|
||||
public String getHumidity() {
|
||||
return this.humidity;
|
||||
}
|
||||
|
||||
public void setHumidity(String var1) {
|
||||
this.humidity = var1;
|
||||
}
|
||||
|
||||
public String getPrecip() {
|
||||
return this.precip;
|
||||
}
|
||||
|
||||
public void setPrecip(String var1) {
|
||||
this.precip = var1;
|
||||
}
|
||||
|
||||
public String getPressure() {
|
||||
return this.pressure;
|
||||
}
|
||||
|
||||
public void setPressure(String var1) {
|
||||
this.pressure = var1;
|
||||
}
|
||||
|
||||
public String getVis() {
|
||||
return this.vis;
|
||||
}
|
||||
|
||||
public void setVis(String var1) {
|
||||
this.vis = var1;
|
||||
}
|
||||
|
||||
public String getCloud() {
|
||||
return this.cloud;
|
||||
}
|
||||
|
||||
public void setCloud(String var1) {
|
||||
this.cloud = var1;
|
||||
}
|
||||
|
||||
public String getUvIndex() {
|
||||
return this.uvIndex;
|
||||
}
|
||||
|
||||
public void setUvIndex(String var1) {
|
||||
this.uvIndex = var1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
73
app/src/main/java/com/xxpatx/os/bean/WechatInfo.java
Normal file
73
app/src/main/java/com/xxpatx/os/bean/WechatInfo.java
Normal file
@@ -0,0 +1,73 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class WechatInfo implements Serializable {
|
||||
private static final long serialVersionUID = -5241133870198591043L;
|
||||
|
||||
int id ;
|
||||
String nickName;
|
||||
String groupTag;
|
||||
String wechatId;
|
||||
String mobile;
|
||||
String avatarPath;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getNickName() {
|
||||
return nickName;
|
||||
}
|
||||
|
||||
public void setNickName(String nickName) {
|
||||
this.nickName = nickName;
|
||||
}
|
||||
|
||||
public String getGroupTag() {
|
||||
return groupTag;
|
||||
}
|
||||
|
||||
public void setGroupTag(String groupTag) {
|
||||
this.groupTag = groupTag;
|
||||
}
|
||||
|
||||
public String getWechatId() {
|
||||
return wechatId;
|
||||
}
|
||||
|
||||
public void setWechatId(String wechatId) {
|
||||
this.wechatId = wechatId;
|
||||
}
|
||||
|
||||
public String getMobile() {
|
||||
return mobile;
|
||||
}
|
||||
|
||||
public void setMobile(String mobile) {
|
||||
this.mobile = mobile;
|
||||
}
|
||||
|
||||
public String getAvatarPath() {
|
||||
return avatarPath;
|
||||
}
|
||||
|
||||
public void setAvatarPath(String avatarPath) {
|
||||
this.avatarPath = avatarPath;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
62
app/src/main/java/com/xxpatx/os/bean/WiFiInfo.java
Normal file
62
app/src/main/java/com/xxpatx/os/bean/WiFiInfo.java
Normal file
@@ -0,0 +1,62 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class WiFiInfo implements Serializable {
|
||||
private static final long serialVersionUID = 2429102475725706816L;
|
||||
|
||||
String SSID;
|
||||
String BSSID;
|
||||
int level;
|
||||
boolean connected;
|
||||
boolean isSaved;
|
||||
boolean isAvailable;
|
||||
|
||||
public String getSSID() {
|
||||
return SSID;
|
||||
}
|
||||
|
||||
public void setSSID(String SSID) {
|
||||
this.SSID = SSID;
|
||||
}
|
||||
|
||||
public String getBSSID() {
|
||||
return BSSID;
|
||||
}
|
||||
|
||||
public void setBSSID(String BSSID) {
|
||||
this.BSSID = BSSID;
|
||||
}
|
||||
|
||||
public int getLevel() {
|
||||
return level;
|
||||
}
|
||||
|
||||
public void setLevel(int level) {
|
||||
this.level = level;
|
||||
}
|
||||
|
||||
public boolean isConnected() {
|
||||
return connected;
|
||||
}
|
||||
|
||||
public void setConnected(boolean connected) {
|
||||
this.connected = connected;
|
||||
}
|
||||
|
||||
public boolean isSaved() {
|
||||
return isSaved;
|
||||
}
|
||||
|
||||
public void setSaved(boolean saved) {
|
||||
isSaved = saved;
|
||||
}
|
||||
|
||||
public boolean isAvailable() {
|
||||
return isAvailable;
|
||||
}
|
||||
|
||||
public void setAvailable(boolean available) {
|
||||
isAvailable = available;
|
||||
}
|
||||
}
|
||||
80
app/src/main/java/com/xxpatx/os/bean/WxpayBean.java
Normal file
80
app/src/main/java/com/xxpatx/os/bean/WxpayBean.java
Normal file
@@ -0,0 +1,80 @@
|
||||
package com.xxpatx.os.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class WxpayBean implements Serializable {
|
||||
private static final long serialVersionUID = -8399062772511195038L;
|
||||
|
||||
String price;
|
||||
String code_url;
|
||||
long time_expire;
|
||||
String goods_name;
|
||||
String goods_img;
|
||||
String order_sn;
|
||||
String order_id;
|
||||
String num;
|
||||
|
||||
public String getPrice() {
|
||||
return price;
|
||||
}
|
||||
|
||||
public void setPrice(String price) {
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
public String getCode_url() {
|
||||
return code_url;
|
||||
}
|
||||
|
||||
public void setCode_url(String code_url) {
|
||||
this.code_url = code_url;
|
||||
}
|
||||
|
||||
public long getTime_expire() {
|
||||
return time_expire;
|
||||
}
|
||||
|
||||
public void setTime_expire(long time_expire) {
|
||||
this.time_expire = time_expire;
|
||||
}
|
||||
|
||||
public String getGoods_name() {
|
||||
return goods_name;
|
||||
}
|
||||
|
||||
public void setGoods_name(String goods_name) {
|
||||
this.goods_name = goods_name;
|
||||
}
|
||||
|
||||
public String getGoods_img() {
|
||||
return goods_img;
|
||||
}
|
||||
|
||||
public void setGoods_img(String goods_img) {
|
||||
this.goods_img = goods_img;
|
||||
}
|
||||
|
||||
public String getOrder_sn() {
|
||||
return order_sn;
|
||||
}
|
||||
|
||||
public void setOrder_sn(String order_sn) {
|
||||
this.order_sn = order_sn;
|
||||
}
|
||||
|
||||
public String getOrder_id() {
|
||||
return order_id;
|
||||
}
|
||||
|
||||
public void setOrder_id(String order_id) {
|
||||
this.order_id = order_id;
|
||||
}
|
||||
|
||||
public String getNum() {
|
||||
return num;
|
||||
}
|
||||
|
||||
public void setNum(String num) {
|
||||
this.num = num;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user