user.email = userInfo.key;
return user;
}
public static UserValidation mapToUserValidation(UserEntity userInfo) {
UserValidation user = new UserValidation();
user.id = "" + userInfo.id;
user.name = userInfo.key;
// user.secret = AesUtils.serialize(userInfo.getUserSecret());
return user;
}