namespace Admin.NET.Plugin.AiDOP.Dto.S8; public class AdoS8DetectionLogQueryDto { public long TenantId { get; set; } = 1; public long FactoryId { get; set; } = 1; public string? RuleCode { get; set; } public string? RuleType { get; set; } public string? DetectResult { get; set; } public long? ExceptionId { get; set; } public string? DedupKey { get; set; } public string? SourceObjectType { get; set; } public string? SourceObjectId { get; set; } public string? TriggerSource { get; set; } [Microsoft.AspNetCore.Mvc.FromQuery(Name = "from")] public DateTime? BeginTime { get; set; } [Microsoft.AspNetCore.Mvc.FromQuery(Name = "to")] public DateTime? EndTime { get; set; } public int Page { get; set; } = 1; public int PageSize { get; set; } = 20; } public class AdoS8DetectionLogListItemDto { public long Id { get; set; } public long TenantId { get; set; } public long FactoryId { get; set; } public string? RunId { get; set; } public long? RuleId { get; set; } public string? RuleCode { get; set; } public string? RuleType { get; set; } public string? SceneCode { get; set; } public string DetectResult { get; set; } = string.Empty; public long? ExceptionId { get; set; } public string? DedupKey { get; set; } public string? SourceObjectType { get; set; } public string? SourceObjectId { get; set; } public string? RelatedObjectCode { get; set; } public string? TriggerSource { get; set; } public DateTime DetectedAt { get; set; } public DateTime CreatedAt { get; set; } public string? PayloadSnapshot { get; set; } public string? FailureReason { get; set; } public string? FailureMessage { get; set; } public string? Remark { get; set; } }