diff --git a/src/main/java/dev/vality/deanonimus/domain/Contract.java b/src/main/java/dev/vality/deanonimus/domain/Contract.java index 37ddad6..435780f 100644 --- a/src/main/java/dev/vality/deanonimus/domain/Contract.java +++ b/src/main/java/dev/vality/deanonimus/domain/Contract.java @@ -1,5 +1,6 @@ package dev.vality.deanonimus.domain; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; @@ -11,6 +12,7 @@ import java.time.LocalDateTime; @Builder @NoArgsConstructor @AllArgsConstructor +@JsonIgnoreProperties(ignoreUnknown = true) public class Contract { private String id; private String contractorId; diff --git a/src/main/java/dev/vality/deanonimus/domain/Contractor.java b/src/main/java/dev/vality/deanonimus/domain/Contractor.java index a7748d4..314ae30 100644 --- a/src/main/java/dev/vality/deanonimus/domain/Contractor.java +++ b/src/main/java/dev/vality/deanonimus/domain/Contractor.java @@ -1,5 +1,6 @@ package dev.vality.deanonimus.domain; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; @@ -9,6 +10,7 @@ import lombok.NoArgsConstructor; @Builder @NoArgsConstructor @AllArgsConstructor +@JsonIgnoreProperties(ignoreUnknown = true) public class Contractor { private String id; private String partyId; diff --git a/src/main/java/dev/vality/deanonimus/domain/Party.java b/src/main/java/dev/vality/deanonimus/domain/Party.java index ea20ecb..06bc809 100644 --- a/src/main/java/dev/vality/deanonimus/domain/Party.java +++ b/src/main/java/dev/vality/deanonimus/domain/Party.java @@ -1,5 +1,6 @@ package dev.vality.deanonimus.domain; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; @@ -13,6 +14,7 @@ import java.util.Optional; @Builder @NoArgsConstructor @AllArgsConstructor +@JsonIgnoreProperties(ignoreUnknown = true) public class Party { private String id; diff --git a/src/main/java/dev/vality/deanonimus/domain/Shop.java b/src/main/java/dev/vality/deanonimus/domain/Shop.java index 7c00af7..64970e3 100644 --- a/src/main/java/dev/vality/deanonimus/domain/Shop.java +++ b/src/main/java/dev/vality/deanonimus/domain/Shop.java @@ -1,5 +1,6 @@ package dev.vality.deanonimus.domain; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; @@ -9,6 +10,7 @@ import lombok.NoArgsConstructor; @Builder @NoArgsConstructor @AllArgsConstructor +@JsonIgnoreProperties(ignoreUnknown = true) public class Shop { private String id; private Blocking blocking; diff --git a/src/main/java/dev/vality/deanonimus/domain/Wallet.java b/src/main/java/dev/vality/deanonimus/domain/Wallet.java index 1a65754..c3aaca3 100644 --- a/src/main/java/dev/vality/deanonimus/domain/Wallet.java +++ b/src/main/java/dev/vality/deanonimus/domain/Wallet.java @@ -1,5 +1,6 @@ package dev.vality.deanonimus.domain; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; @@ -9,6 +10,7 @@ import lombok.NoArgsConstructor; @Builder @NoArgsConstructor @AllArgsConstructor +@JsonIgnoreProperties(ignoreUnknown = true) public class Wallet { private String id; private String name;