Example #1
0
 public static PlayerUserDto mapToDto(PlayerUser playerUser) {
   PlayerUserDto dto = new PlayerUserDto();
   dto.setPlayer(playerUser.getPlayer());
   dto.setEmail(playerUser.getEmail());
   dto.setAppUserEmail(playerUser.getAppUserEmail());
   dto.setImageUrl(playerUser.getImageUrl());
   dto.setEmailNotification(playerUser.getEmailNotification());
   dto.setMeetingPointNotification(playerUser.getMeetingPointNotification());
   dto.setPushBulletApiKey(playerUser.getPushBulletApiKey());
   return dto;
 }