Skip to content

Commit

Permalink
[VAS-828] feat: Updated Debtor to exclude pii
Browse files Browse the repository at this point in the history
  • Loading branch information
alessio-cialini committed Apr 23, 2024
1 parent 4fb1c6c commit 04d570f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,19 @@
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.ToString;

public class Debtor {

@ToString.Exclude
@Schema(description = "Debtor taxCode")
private String taxCode;
@Schema(description = "Debtor full name", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull
@NotEmpty
@ToString.Exclude
private String fullName;
@ToString.Exclude
@Schema(description = "Debtor address", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull
@NotEmpty
Expand Down

0 comments on commit 04d570f

Please sign in to comment.