Skip to content

Commit

Permalink
Added GPUData into onboarding-cdc
Browse files Browse the repository at this point in the history
  • Loading branch information
giampieroferrara committed Nov 26, 2024
1 parent 982ce4f commit 04343b5
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package it.pagopa.selfcare.onboarding.event.entity;

import lombok.Data;

@Data
public class BusinessData {
private String businessRegisterNumber;
private String legalRegisterNumber;
private String legalRegisterName;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package it.pagopa.selfcare.onboarding.event.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class GPUData extends BusinessData {

private boolean manager;
private boolean managerAuthorized;
private boolean managerEligible;
private boolean managerProsecution;
private boolean institutionCourtMeasures;

}
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
package it.pagopa.selfcare.onboarding.event.entity;

import lombok.Data;

import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
public class PaymentServiceProvider {
@EqualsAndHashCode(callSuper = true)
public class PaymentServiceProvider extends BusinessData {
private String abiCode;
private String businessRegisterNumber;
private String legalRegisterNumber;
private String legalRegisterName;
private boolean vatNumberGroup;
private String contractType;
private String contractId;
Expand Down

0 comments on commit 04343b5

Please sign in to comment.