-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
40 additions
and
10 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
backend/src/main/java/gov/cdc/usds/simplereport/api/apiuser/ManageUsersPageWrapper.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,22 @@ | ||
package gov.cdc.usds.simplereport.api.apiuser; | ||
|
||
import gov.cdc.usds.simplereport.api.model.ApiUserWithStatus; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
import org.springframework.data.domain.Page; | ||
|
||
/** | ||
* When the page content contains zero entries, this could be due to either: - zero search results | ||
* for the query string - OR due to zero users in the entire organization. The value for total users | ||
* in the org helps differentiate this. | ||
*/ | ||
@Getter | ||
@Setter | ||
@AllArgsConstructor | ||
public class ManageUsersPageWrapper { | ||
|
||
Page<ApiUserWithStatus> pageContent; | ||
|
||
int totalUsersInOrg; | ||
} |
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