|
@@ -3,7 +3,6 @@ package com.sikey.skphone.model;
|
|
public class ContactBean extends BaseModel {
|
|
public class ContactBean extends BaseModel {
|
|
public long _id = 0;
|
|
public long _id = 0;
|
|
public String id = "";
|
|
public String id = "";
|
|
- public String userId = "";
|
|
|
|
public String name = "";
|
|
public String name = "";
|
|
public String profile = ""; //头像
|
|
public String profile = ""; //头像
|
|
public String profilePath = "";//头像本地路径
|
|
public String profilePath = "";//头像本地路径
|
|
@@ -11,18 +10,19 @@ public class ContactBean extends BaseModel {
|
|
public String countryPN = "";
|
|
public String countryPN = "";
|
|
public int rate = 0;
|
|
public int rate = 0;
|
|
public int unRead = 0;
|
|
public int unRead = 0;
|
|
- public int isVideo = 1; //是否支持视频通话
|
|
|
|
|
|
|
|
// 1 : First guardian(SOS target)
|
|
// 1 : First guardian(SOS target)
|
|
// 2 : Second guardian
|
|
// 2 : Second guardian
|
|
// 3 : General contact(Not member of XPLORA server)
|
|
// 3 : General contact(Not member of XPLORA server)
|
|
// 4 : Friend
|
|
// 4 : Friend
|
|
public int type = 0;
|
|
public int type = 0;
|
|
|
|
+ public int isVideo = 1; //是否支持视频通话
|
|
|
|
|
|
public String beanToString() {
|
|
public String beanToString() {
|
|
- return "_id:" + _id + " id:" + id + " type:" + type + " userId:" + userId +
|
|
|
|
|
|
+ return "_id:" + _id + " id:" + id + " type:" + type +
|
|
" name:" + name + " profilePath:" + profilePath +
|
|
" name:" + name + " profilePath:" + profilePath +
|
|
" countryPN:" + countryPN + " phoneNumber : " + phoneNumber +
|
|
" countryPN:" + countryPN + " phoneNumber : " + phoneNumber +
|
|
- " unRead:" + unRead;
|
|
|
|
|
|
+ " unRead:" + unRead +
|
|
|
|
+ " isVideo:" + isVideo;
|
|
}
|
|
}
|
|
}
|
|
}
|