First Commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
namespace Musify.Application.Users.Contracts
|
||||
{
|
||||
public record KeycloakUserResponse(
|
||||
Guid Id,
|
||||
string Name,
|
||||
string FirstName,
|
||||
string SecondName);
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
namespace Musify.Application.Users.Contracts
|
||||
{
|
||||
public record PaginatedUserResponse(
|
||||
IReadOnlyCollection<UserResponse> Users,
|
||||
int PageNumber,
|
||||
int PageSize,
|
||||
int PageCount,
|
||||
int TotalItemCount,
|
||||
bool HasNextPage,
|
||||
bool HasPreviousPage
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace Musify.Application.Users.Contracts
|
||||
{
|
||||
public record UserResponse(
|
||||
string Id,
|
||||
string Name,
|
||||
string FirstName,
|
||||
string SecondName,
|
||||
DateTime CreatedAt,
|
||||
DateTime UpdatedAt);
|
||||
}
|
||||
Reference in New Issue
Block a user