using System; namespace FrameworkDAL.DTO.AuditQuery { /// /// Filter parameters for the SearchAudit endpoint. /// All filters are optional and AND-ed together. /// public sealed class AuditSearchCriteriaDTO { public DateTime? DateFrom { get; set; } public DateTime? DateTo { get; set; } public int? UserId { get; set; } /// Maps to TEVENTLOG.SOURCEID (MBIZTRANSACTIONTYPE). public int? EntityType { get; set; } /// Maps to TEVENTLOG.DATAID (PK of the saved entity). public int? EntityId { get; set; } public int? EventTypeId { get; set; } /// When set, only returns audit events that have at least one TEVENTLOGCHANGE row for this field. public string? FieldName { get; set; } public int PageOffset { get; set; } = 0; public int PageSize { get; set; } = 50; } }