update session resource

This commit is contained in:
tuanvu
2025-10-02 14:03:25 +02:00
parent b8df2eccd8
commit 27aff73824
6 changed files with 42 additions and 16 deletions

View File

@@ -21,6 +21,8 @@ public interface SessionMapper {
SessionDTO toDTO(Session session);
Session toEntity(SessionDTO sessionDTO);
List<SessionDTO> toDTOs(List<Session> sessions);
//https://www.baeldung.com/mapstruct-map-source-object-target-list
default List<Integer> function_mapU(List<Utilisateur> utilisateurList) {
List<Integer> result = new ArrayList<>();