public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
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;
}
@Override
public String toString() {
return "User [id=" + id + ", username=" + username + ", password="
+ password + ", status=" + status + ", listType=" + listType
+ ", access=" + access + "]";
}
public User( String username, String password, String status,
String listType, String access) {
super();
this.username = username;
this.password = password;
this.status = status;
this.listType = listType;
this.access = access;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getAccess() {
return access;
}
public void setAccess(String access) {
this.access = access;
}
public String getListType() {
return listType;
}
public void setListType(String listType) {
this.listType = listType;
}
}
<bean id="mongoTemplate" class="org.springframework.