Skip to content

Commit

Permalink
SHIBUI-2393/2477
Browse files Browse the repository at this point in the history
Added createdBy
  • Loading branch information
chasegawa committed Nov 28, 2022
1 parent d383fd4 commit 63cd583
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public class DynamicRegistrationRepresentation {
private boolean approved;
private String contacts;
private LocalDateTime createdDate;
private String createdBy;
private boolean enabled;
private GrantType grantType;
private String idOfOwner;
Expand All @@ -40,6 +41,7 @@ public DynamicRegistrationRepresentation(DynamicRegistrationInfo dri) {
applicationType = dri.getApplicationType();
approved = dri.isApproved();
contacts = dri.getContacts();
createdBy = dri.getCreatedBy();
createdDate = dri.getCreatedDate();
enabled = dri.isEnabled();
grantType = dri.getGrantType();
Expand All @@ -60,7 +62,7 @@ public DynamicRegistrationRepresentation(DynamicRegistrationInfo dri) {
}

public DynamicRegistrationInfo buildDynamicRegistrationInfo() {
// Approved and enabled shouldn't be handled from here, and owner shouldn't come from the UI, so we ignore all those
// Approved and enabled shouldn't be handled from here, and owner and created by shouldn't come from the UI, so we ignore all those

DynamicRegistrationInfo dri = new DynamicRegistrationInfo();
dri.setApplicationType(applicationType);
Expand Down

0 comments on commit 63cd583

Please sign in to comment.