29 | * In a real system use {@link PasswordEncoder} to ensure the password is secured 30 | * properly. This demonstration does not address this due to time restrictions. 31 | *
32 | * 33 | * @author Rob Winch 34 | */ 35 | 36 | public class User implements Serializable { 37 | 38 | private static final long serialVersionUID = -6540780111618159858L; 39 | 40 | private Long id; 41 | private String firstName; 42 | private String lastName; 43 | private String email; 44 | private String password; 45 | private String userName; 46 | 47 | private int isAccountNonExpired; 48 | private int isAccountNonLocked; 49 | private int isCredentialsNonExpired; 50 | private int isEnabled; 51 | 52 | Set近30日新加入投资人:309,376位 ,近30日成交额:1,538,463,346元
121 |经过专业公司/担保公司、信用评级机构、金信风控部门三层审查合格的投资计划
145 |