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