Skip to content
Snippets Groups Projects
Commit 7dc714eb authored by Krzysztof Witukiewicz's avatar Krzysztof Witukiewicz
Browse files

OZG-7501 OZG-7874 Simplify mapper

parent 0dd2701c
Branches
Tags
1 merge request!19Ozg 7501 weiterleitung vorbereiten
......@@ -33,9 +33,6 @@ import de.ozgcloud.alfa.collaboration.OrganisationsEinheit;
interface ForwardVorgangCommandBodyMapper {
@Mapping(target = "organisationsEinheitId", ignore = true)
@Mapping(target = "strasse", source = "anschrift.strasse")
@Mapping(target = "hausnummer", source = "anschrift.hausnummer")
@Mapping(target = "plz", source = "anschrift.plz")
@Mapping(target = "ort", source = "anschrift.ort")
@Mapping(target = ".", source = "anschrift")
ForwardVorgangCommandBody updateFromOrganisationsEinheit(OrganisationsEinheit organisationsEinheit, @MappingTarget ForwardVorgangCommandBody commandBody);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment