Files
pos-system/services/wallet-service-net/src/WalletService.API/Application/Commands/CreateWalletCommand.cs
Ho Ngoc Hai 4a1a0ef79c feat(storage-service): Add Social Service to Docker Compose and enhance IAM service integration
- Introduced a new social-service in the Docker Compose configuration for local development, including build context, environment variables, and health checks.
- Updated architecture documentation to reflect the new storage service structure and its components, including user storage quotas and file management.
- Enhanced README files to provide clearer instructions on service setup, configuration, and API endpoints for file storage management.
- Implemented caching mechanisms in the IAM service client for improved performance and reduced latency in user information retrieval.
- Updated appsettings for development to include caching settings for IAM service interactions.
2026-01-13 00:28:41 +07:00

22 lines
475 B
C#

namespace WalletService.API.Application.Commands;
using MediatR;
/// <summary>
/// EN: Command to create a new wallet for a user
/// VI: Command để tạo ví mới cho người dùng
/// </summary>
public record CreateWalletCommand(
Guid UserId,
string Currency = "VND"
) : IRequest<CreateWalletResult>;
public record CreateWalletResult(
Guid WalletId,
Guid UserId,
decimal Balance,
string Currency,
string Status,
DateTime CreatedAt
);