Use long
This commit is contained in:
@@ -5,7 +5,7 @@ using Musify.Domain.Entities;
|
||||
|
||||
namespace Musify.Application.Users.Commands
|
||||
{
|
||||
public record CreateUserCommand(Guid Id,
|
||||
public record CreateUserCommand(long Id,
|
||||
string Name,
|
||||
string? FirstName,
|
||||
string? SecondName)
|
||||
|
||||
@@ -4,6 +4,6 @@ using Musify.Application.Users.Responses;
|
||||
|
||||
namespace Musify.Application.Users.Queries
|
||||
{
|
||||
public record GetUserByIdQuery(Guid Id)
|
||||
public record GetUserByIdQuery(long Id)
|
||||
: IQuery<Result<UserApplicationResponse> >;
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
namespace Musify.Application.Users.Responses
|
||||
{
|
||||
public record UserApplicationResponse(
|
||||
Guid Id,
|
||||
long Id,
|
||||
string Name,
|
||||
string? FirstName,
|
||||
string? SecondName,
|
||||
|
||||
Reference in New Issue
Block a user