-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Oppdatert entity-klasse #deploy-test-dolly-backend
- Loading branch information
Showing
5 changed files
with
118 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 0 additions & 30 deletions
30
apps/dolly-backend/src/main/java/no/nav/dolly/mapper/AbstractRsMeldingStatusMapper.java
This file was deleted.
Oops, something went wrong.
31 changes: 31 additions & 0 deletions
31
apps/dolly-backend/src/main/java/no/nav/dolly/mapper/strategy/BestillingMapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package no.nav.dolly.mapper.strategy; | ||
|
||
import lombok.experimental.UtilityClass; | ||
import no.nav.dolly.domain.jpa.Bestilling; | ||
|
||
@UtilityClass | ||
public class BestillingMapper { | ||
|
||
public Bestilling shallowCopyBestilling(Bestilling bestilling) { | ||
|
||
return Bestilling.builder() | ||
.id(bestilling.getId()) | ||
.gruppe(bestilling.getGruppe()) | ||
.antallIdenter(bestilling.getAntallIdenter()) | ||
.bestKriterier(bestilling.getBestKriterier()) | ||
.beskrivelse(bestilling.getBeskrivelse()) | ||
.kildeMiljoe(bestilling.getKildeMiljoe()) | ||
.miljoer(bestilling.getMiljoer()) | ||
.navSyntetiskIdent(bestilling.getNavSyntetiskIdent()) | ||
.opprettFraIdenter(bestilling.getOpprettFraIdenter()) | ||
.pdlImport(bestilling.getPdlImport()) | ||
.sistOppdatert(bestilling.getSistOppdatert()) | ||
.gjenopprettetFraIdent(bestilling.getGjenopprettetFraIdent()) | ||
.opprettetFraGruppeId(bestilling.getOpprettetFraGruppeId()) | ||
.opprettetFraId(bestilling.getOpprettetFraId()) | ||
.feil(bestilling.getFeil()) | ||
.ferdig(true) | ||
.stoppet(false) | ||
.build(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters