namespace WalletService.Domain.Events;

using MediatR;

/// <summary>
/// EN: Domain event raised when a new wallet is created
/// VI: Domain event được phát ra khi một ví mới được tạo
/// </summary>
public class WalletCreatedDomainEvent : INotification
{
    public Guid WalletId { get; }
    public Guid UserId { get; }
    public DateTime OccurredAt { get; }

    public WalletCreatedDomainEvent(Guid walletId, Guid userId)
    {
        WalletId = walletId;
        UserId = userId;
        OccurredAt = DateTime.UtcNow;
    }
}
