Skip to content

Commit

Permalink
Rename Arbeidsgiver class to ArbeidsgiverSkatt
Browse files Browse the repository at this point in the history
#deploy-skattekort-service #deploy-test-dolly-backend

Renamed the Arbeidsgiver class to ArbeidsgiverSkatt for clarity and improved domain specificity. Updated all occurrences and references in DTOs to reflect the change. This ensures consistency across the codebase and improves readability.
  • Loading branch information
krharum committed Aug 5, 2024
1 parent 9875750 commit 1ba3b9b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import no.nav.testnav.libs.dto.skattekortservice.v1.Arbeidsgiver;
import no.nav.testnav.libs.dto.skattekortservice.v1.ArbeidsgiverSkatt;

import java.util.ArrayList;
import java.util.List;
Expand All @@ -17,9 +17,9 @@
@AllArgsConstructor
public class SkattekortRequestDTO {

private List<Arbeidsgiver> arbeidsgiverSkatt;
private List<ArbeidsgiverSkatt> arbeidsgiverSkatt;

public List<Arbeidsgiver> getArbeidsgiverSkatt() {
public List<ArbeidsgiverSkatt> getArbeidsgiverSkatt() {

if (isNull(arbeidsgiverSkatt)) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Arbeidsgiver {
public class ArbeidsgiverSkatt {

private IdentifikatorForEnhetEllerPerson arbeidsgiveridentifikator;
private List<Skattekortmelding> arbeidstaker;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
@AllArgsConstructor
public class SkattekortRequestDTO {

private List<Arbeidsgiver> arbeidsgiver;
private List<ArbeidsgiverSkatt> arbeidsgiver;

public List<Arbeidsgiver> getArbeidsgiver() {
public List<ArbeidsgiverSkatt> getArbeidsgiver() {

if (isNull(arbeidsgiver)) {
arbeidsgiver = new ArrayList<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ public class SkattekortResponseDTO {

private String ident;
private String inntektsaar;
private List<Arbeidsgiver> arbeidsgiver;
private List<ArbeidsgiverSkatt> arbeidsgiver;
private String skattekortXml;

public List<Arbeidsgiver> getArbeidsgiver() {
public List<ArbeidsgiverSkatt> getArbeidsgiver() {

if (isNull(arbeidsgiver)) {
arbeidsgiver = new ArrayList<>();
Expand Down

0 comments on commit 1ba3b9b

Please sign in to comment.