Merge pull request #161 from Kitzanos/feature/GEPAFINBE-128
GEPAFINBE-128(Create a Summary Page per User (exclude Beneficiari))
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user