You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
105 lines
2.1 KiB
105 lines
2.1 KiB
package com.community.pocket.entity.po.android;
|
|
|
|
import com.community.pocket.entity.po.CreditScore;
|
|
import com.community.pocket.util.TableName;
|
|
import org.springframework.data.annotation.Id;
|
|
import org.springframework.data.mongodb.core.mapping.Document;
|
|
|
|
import java.util.List;
|
|
|
|
//用户信息
|
|
@Document(TableName.info)
|
|
public class MyInfo {
|
|
//用户名
|
|
@Id
|
|
private String username;
|
|
//密码
|
|
private String password;
|
|
//信用分
|
|
private Integer creditScore;
|
|
//头像
|
|
private String headImg;
|
|
//总发帖数
|
|
private Integer posts;
|
|
//总访客数
|
|
private Integer visitors;
|
|
//手机号
|
|
private String mobie;
|
|
//邮箱
|
|
private String email;
|
|
|
|
//信用分历史记录
|
|
private List<CreditScore> scoreHistory;
|
|
|
|
public String getUsername() {
|
|
return username;
|
|
}
|
|
|
|
public void setUsername(String username) {
|
|
this.username = username;
|
|
}
|
|
|
|
public String getPassword() {
|
|
return password;
|
|
}
|
|
|
|
public void setPassword(String password) {
|
|
this.password = password;
|
|
}
|
|
|
|
public Integer getCreditScore() {
|
|
return creditScore;
|
|
}
|
|
|
|
public void setCreditScore(Integer creditScore) {
|
|
this.creditScore = creditScore;
|
|
}
|
|
|
|
public String getHeadImg() {
|
|
return headImg;
|
|
}
|
|
|
|
public void setHeadImg(String headImg) {
|
|
this.headImg = headImg;
|
|
}
|
|
|
|
public Integer getPosts() {
|
|
return posts;
|
|
}
|
|
|
|
public void setPosts(Integer posts) {
|
|
this.posts = posts;
|
|
}
|
|
|
|
public Integer getVisitors() {
|
|
return visitors;
|
|
}
|
|
|
|
public void setVisitors(Integer visitors) {
|
|
this.visitors = visitors;
|
|
}
|
|
|
|
public String getMobie() {
|
|
return mobie;
|
|
}
|
|
|
|
public void setMobie(String mobie) {
|
|
this.mobie = mobie;
|
|
}
|
|
|
|
public String getEmail() {
|
|
return email;
|
|
}
|
|
|
|
public void setEmail(String email) {
|
|
this.email = email;
|
|
}
|
|
|
|
public List<CreditScore> getScoreHistory() {
|
|
return scoreHistory;
|
|
}
|
|
|
|
public void setScoreHistory(List<CreditScore> scoreHistory) {
|
|
this.scoreHistory = scoreHistory;
|
|
}
|
|
}
|
|
|