
io.imunity.furms.ui.user_context.FurmsViewUserModelMapper Maven / Gradle / Ivy
/*
* Copyright (c) 2020 Bixbit s.c. All rights reserved.
* See LICENSE file for licensing information.
*/
package io.imunity.furms.ui.user_context;
import io.imunity.furms.domain.users.FURMSUser;
import java.util.List;
import java.util.stream.Collectors;
public class FurmsViewUserModelMapper {
public static List mapList(List users){
return users.stream()
.map(user -> new FurmsViewUserModel(user.id, user.fenixUserId, user.firstName, user.lastName, user.email))
.collect(Collectors.toList());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy