using MediatR;

namespace AdsTrackingService.API.Application.Queries;

/// <summary>
/// EN: Query to get pixel code by advertiser ID.
/// VI: Query để lấy pixel code theo advertiser ID.
/// </summary>
public record GetPixelCodeQuery(Guid AdvertiserId) : IRequest<PixelCodeDto?>;

/// <summary>
/// EN: DTO for pixel code response.
/// VI: DTO cho response pixel code.
/// </summary>
public record PixelCodeDto(string Code, bool IsActive, DateTime CreatedAt);
