Merge pull request #161 from Kitzanos/feature/GEPAFINBE-128

GEPAFINBE-128(Create a Summary Page per User (exclude Beneficiari))
This commit is contained in:
rajeshkhore
2025-01-15 11:13:59 +05:30
committed by GitHub
19 changed files with 741 additions and 9 deletions

View File

@@ -0,0 +1,12 @@
package net.gepafin.tendermanagement.model.response;
import lombok.Data;
import net.gepafin.tendermanagement.enums.UserActionContextEnum;
@Data
public class ActionContextLabelResponse {
private Long id;
private UserActionContextEnum actionContext;
private Long roleId;
private Boolean isViewed;
private String description;
}

View File

@@ -0,0 +1,18 @@
package net.gepafin.tendermanagement.model.response;
import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;
@Data
public class SummaryPageResponseBean {
private String username;
private String email;
private String role;
private LocalDateTime lastLogin;
private LocalDateTime registrationDate;
private Long numberOfLoginAttempts;
private Long applicationsProcessed;
private List<UserActionResponseBean> userActions;
}

View File

@@ -0,0 +1,22 @@
package net.gepafin.tendermanagement.model.response;
import lombok.Data;
import java.time.LocalDateTime;
@Data
public class UserActionResponseBean {
private Long id;
private Long userId;
private String actionType;
private String requestBody;
private Long loginAttemptId;
private String actionContext;
private String ipAddress;
private String methodType;
private Long hubId;
private String url;
private String response;
private LocalDateTime createdDate;
private LocalDateTime updatedDate;
}