Skip to content

Commit

Permalink
Added attributes to onboarding entity
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and [email protected] committed Oct 3, 2024
1 parent 4037d6e commit 5e9760c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package it.pagopa.selfcare.onboarding.event.entity;

import it.pagopa.selfcare.onboarding.common.Origin;
import lombok.Data;

import java.util.List;

@Data
public class AggregateInstitution {

private String taxCode;
private String description;
private String subunitCode;
private String subunitType;
private List<GeographicTaxonomy> geographicTaxonomies;
private String address;
private String zipCode;
private String originId;
private Origin origin;
private String vatNumber;
private List<User> users;

}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public class Onboarding extends ReactivePanacheMongoEntityBase {
private List<String> testEnvProductIds;
private WorkflowType workflowType;
private Institution institution;
private List<AggregateInstitution> aggregates;
private List<User> users;
private String pricingPlan;
private Billing billing;
Expand All @@ -40,4 +41,5 @@ public class Onboarding extends ReactivePanacheMongoEntityBase {
private String userRequestUid;
private AdditionalInformations additionalInformations;
private String reasonForReject;
private Boolean isAggregator;
}

0 comments on commit 5e9760c

Please sign in to comment.