using System;
using Baya.Application.Models.Audit;
using Baya.Application.Models.Common;
using Mediator;

namespace Baya.Application.Features.Audit.Queries.GetAuditTrail;

public record GetAuditTrailQuery(
    string? EntityType = null,
    string? EntityId = null,
    int? ActorId = null,
    string? Action = null,
    DateTimeOffset? From = null,
    DateTimeOffset? To = null,
    int Page = 1,
    int PageSize = 50) : IRequest<OperationResult<PagedResult<AuditLogDto>>>;
