public EventDTO(Evento e) { this.id = e.getId(); this.name = e.getName(); this.invate = e.getInvate(); for (Account account : e.getAccessAccounts()) { this.accessAccounts.add(AccountDTO.convertToTransport(account)); } }
public EventDTO(Evento e) { this.id = e.getId(); this.name = e.getName(); this.invate = e.getInvate(); for (Account account : e.getAccessAccounts()) { this.accessAccounts.add(AccountDTO.convertToTransport(account)); } }