This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 80dca0d9 authored by Michael Breu's avatar Michael Breu :speech_balloon:
Browse files

Fixing compilation

parent 6bb78b6a
Branches
Tags
No related merge requests found
......@@ -12,10 +12,10 @@ import org.mapstruct.*;
@Mapper(componentModel = "spring", uses = {UserWatchListMapper.class})
public interface WatchListEntryMapper extends EntityMapper<WatchListEntryDTO, WatchListEntry> {
@Mapping(source = "watchlist.id", target = "watchlistId")
@Mapping(source = "watchlist.id", target = "watchlist")
WatchListEntryDTO toDto(WatchListEntry watchListEntry);
@Mapping(source = "watchlistId", target = "watchlistId")
@Mapping(source = "watchlist", target = "watchlistId")
WatchListEntry toEntity(WatchListEntryDTO watchListEntryDTO);
default WatchListEntry fromId(Long id) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment