Commit d7da84ad by [zhangzhiwei]

添加今日头条账号认证类型及是否认证

parent 9db65425
......@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.zhiwei</groupId>
<artifactId>toutiao</artifactId>
<version>0.3.5-SNAPSHOT</version>
<version>0.3.6-SNAPSHOT</version>
<dependencies>
<dependency>
......
......@@ -15,168 +15,201 @@ public class TouTiaoAccount implements Serializable{
public String id; //主键 帐号id
public Long user_id; //帐号id
public Long userId; //帐号id
public String name; //帐号昵称
public Long media_id; //未知
public Long mediaId; //未知
public String description; //描述
public Integer user_verified; //是否认证 (0,不是;1 是)
public Integer userVerified; //是否认证 (0,不是;1 是)
public String verify_content; //认证原因
public String verifyContent; //认证原因
public Integer follow_count; //粉丝数
public Integer followCount; //粉丝数
public Integer friend_count; //关注数
public Integer friendCount; //关注数
public String img_url; //头像地址
public String imgUrl; //头像地址
public Date create_time; //账号注册时间
public Date createTime; //账号注册时间
public String gender; //性别
public String user_type; //用户类型
public Integer userType; //用户类型
public Integer authType; //用户认证类型
public Boolean isDv; //是否加V
@Override
public String toString(){
return "new TouTiaoAccount["
+ "id = " + id
+ ", user_id = " + user_id
+ ", userId = " + userId
+ ", name = " + name
+ ", media_id = " + media_id
+ ", userId = " + userId
+ ", description = " + description
+ ", user_verified = " + user_verified
+ ", verify_content = " + verify_content
+ ", follow_count = " + follow_count
+ ", friend_count = " + friend_count
+ ", img_url = " + img_url
+ ", create_time = " + create_time
+ ", userVerified = " + userVerified
+ ", verifyContent = " + verifyContent
+ ", followCount = " + followCount
+ ", friendCount = " + friendCount
+ ", imgUrl = " + imgUrl
+ ", createTime = " + createTime
+ ", gender = " + gender
+ ", user_type = " + user_type
+ ", userType = " + userType
+ ", authType = " + authType
+ ", isDv = " + isDv
+ "]";
}
public TouTiaoAccount(){}
public TouTiaoAccount(Long user_id,String name, Long media_id, String description,Integer user_verified
,String verify_content, Integer follow_count, String img_url, Date create_time, String gender
,String user_type){
this.id = user_id+"";
this.user_id = user_id;
public TouTiaoAccount(Long userId,String name, Long mediaId, String description,Integer userVerified
,String verifyContent, Integer followCount, String imgUrl, Date createTime, String gender
,Integer userType, Integer authType, Boolean isDv){
this.id = String.valueOf(userId);
this.userId = userId;
this.name = name;
this.media_id = media_id;
this.mediaId = mediaId;
this.description = description;
this.user_verified = user_verified;
this.verify_content = verify_content;
this.follow_count = follow_count;
this.img_url = img_url;
this.create_time = create_time;
this.userVerified = userVerified;
this.verifyContent = verifyContent;
this.followCount = followCount;
this.imgUrl = imgUrl;
this.createTime = createTime;
this. gender = gender;
this.user_type = user_type;
this.userType = userType;
this.authType = authType;
this.isDv = isDv;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public Long getUser_id() {
return user_id;
public Long getUserId() {
return userId;
}
public void setUser_id(Long user_id) {
this.user_id = user_id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Long getMedia_id() {
return media_id;
public Long getMediaId() {
return mediaId;
}
public void setMedia_id(Long media_id) {
this.media_id = media_id;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
public Integer getUserVerified() {
return userVerified;
}
public Integer getUser_verified() {
return user_verified;
public String getVerifyContent() {
return verifyContent;
}
public void setUser_verified(Integer user_verified) {
this.user_verified = user_verified;
public Integer getFollowCount() {
return followCount;
}
public Integer getFollow_count() {
return follow_count;
public Integer getFriendCount() {
return friendCount;
}
public void setFollow_count(Integer follow_count) {
this.follow_count = follow_count;
public String getImgUrl() {
return imgUrl;
}
public String getVerify_content() {
return verify_content;
public Date getCreateTime() {
return createTime;
}
public void setVerify_content(String verify_content) {
this.verify_content = verify_content;
public String getGender() {
return gender;
}
public String getImg_url() {
return img_url;
public Integer getUserType() {
return userType;
}
public void setImg_url(String img_url) {
this.img_url = img_url;
public Integer getAuthType() {
return authType;
}
public Date getCreate_time() {
return create_time;
public void setId(String id) {
this.id = id;
}
public void setCreate_time(Date create_time) {
this.create_time = create_time;
public void setUserId(Long userId) {
this.userId = userId;
}
public String getGender() {
return gender;
public void setName(String name) {
this.name = name;
}
public void setMediaId(Long mediaId) {
this.mediaId = mediaId;
}
public void setDescription(String description) {
this.description = description;
}
public void setUserVerified(Integer userVerified) {
this.userVerified = userVerified;
}
public void setVerifyContent(String verifyContent) {
this.verifyContent = verifyContent;
}
public void setFollowCount(Integer followCount) {
this.followCount = followCount;
}
public void setFriendCount(Integer friendCount) {
this.friendCount = friendCount;
}
public int getFriend_count() {
return friend_count;
public void setImgUrl(String imgUrl) {
this.imgUrl = imgUrl;
}
public void setFriend_count(int friend_count) {
this.friend_count = friend_count;
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
......@@ -185,18 +218,23 @@ public class TouTiaoAccount implements Serializable{
}
public String getUser_type() {
return user_type;
public void setUserType(Integer userType) {
this.userType = userType;
}
public void setUser_type(String user_type) {
this.user_type = user_type;
public void setAuthType(Integer authType) {
this.authType = authType;
}
public Boolean getIsDv() {
return isDv;
}
public void setIsDv(Boolean isDv) {
this.isDv = isDv;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment