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

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

Fixing compilation

parent 136a5ecd
2 merge requests!188Merging Peer Reviewing et. al to Master,!164211 peer reviewing functionality
......@@ -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 = "watchlist")
@Mapping(source = "watchlist.id", target = "watchlistId")
WatchListEntryDTO toDto(WatchListEntry watchListEntry);
@Mapping(source = "watchlist", target = "watchlistId")
@Mapping(source = "watchlistId", target = "watchlist")
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