generated from pagopa/pagopa-functions-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 parent
e052927
commit 28dcd14
Showing
11 changed files
with
426 additions
and
202 deletions.
There are no files selected for viewing
52 changes: 52 additions & 0 deletions
52
...ng-functions/src/main/java/it/pagopa/selfcare/onboarding/entity/OnboardingAttachment.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
package it.pagopa.selfcare.onboarding.entity; | ||
|
||
import it.pagopa.selfcare.product.entity.AttachmentTemplate; | ||
|
||
public class OnboardingAttachment { | ||
private Onboarding onboarding; | ||
private AttachmentTemplate attachment; | ||
|
||
private OnboardingAttachment(OnboardingAttachment.Builder builder) { | ||
this.onboarding = builder.onboarding; | ||
this.attachment = builder.attachment; | ||
} | ||
|
||
public static OnboardingAttachment.Builder builder() { | ||
return new OnboardingAttachment.Builder(); | ||
} | ||
|
||
public static class Builder { | ||
private Onboarding onboarding; | ||
private AttachmentTemplate attachment; | ||
|
||
public OnboardingAttachment.Builder onboarding(Onboarding onboarding) { | ||
this.onboarding = onboarding; | ||
return this; | ||
} | ||
|
||
public OnboardingAttachment.Builder attachment(AttachmentTemplate attachment) { | ||
this.attachment = attachment; | ||
return this; | ||
} | ||
|
||
public OnboardingAttachment build() { | ||
return new OnboardingAttachment(this); | ||
} | ||
} | ||
|
||
public AttachmentTemplate getAttachment() { | ||
return attachment; | ||
} | ||
|
||
public void setAttachment(AttachmentTemplate attachment) { | ||
this.attachment = attachment; | ||
} | ||
|
||
public Onboarding getOnboarding() { | ||
return onboarding; | ||
} | ||
|
||
public void setOnboarding(Onboarding onboarding) { | ||
this.onboarding = onboarding; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.