class RegistrationMapper {

    public abstract RegistrationAddPayload toDomainAddPayload(AddRegistrationRequest apiAddRequest, String eventId)@Mappings({
            @Mapping(source = "apiAddRequest.handicapGroupId", target = "handicapGroup"),
            @Mapping(source = "apiAddRequest.competitionGroupId", target = "competitionGroup")
    })
    public abstract RegistrationAddPayload toDomainAddPayload(AddRegistrationRequest apiAddRequest, String eventId);

}