Пример #1
0
  public static PlayerUserDto mapToAdminDto(PlayerUser playerUser) {
    PlayerUserDto dto = mapToDto(playerUser);
    dto.setEmail(playerUser.getEmail());

    dto.setEmailNotification(playerUser.getEmailNotification());
    return dto;
  }
Пример #2
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;
 }