AdoS8DetectionLogDtos.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. namespace Admin.NET.Plugin.AiDOP.Dto.S8;
  2. public class AdoS8DetectionLogQueryDto
  3. {
  4. public long TenantId { get; set; } = 1;
  5. public long FactoryId { get; set; } = 1;
  6. public string? RuleCode { get; set; }
  7. public string? RuleType { get; set; }
  8. public string? DetectResult { get; set; }
  9. public long? ExceptionId { get; set; }
  10. public string? DedupKey { get; set; }
  11. public string? SourceObjectType { get; set; }
  12. public string? SourceObjectId { get; set; }
  13. public string? TriggerSource { get; set; }
  14. [Microsoft.AspNetCore.Mvc.FromQuery(Name = "from")]
  15. public DateTime? BeginTime { get; set; }
  16. [Microsoft.AspNetCore.Mvc.FromQuery(Name = "to")]
  17. public DateTime? EndTime { get; set; }
  18. public int Page { get; set; } = 1;
  19. public int PageSize { get; set; } = 20;
  20. }
  21. public class AdoS8DetectionLogListItemDto
  22. {
  23. public long Id { get; set; }
  24. public long TenantId { get; set; }
  25. public long FactoryId { get; set; }
  26. public string? RunId { get; set; }
  27. public long? RuleId { get; set; }
  28. public string? RuleCode { get; set; }
  29. public string? RuleType { get; set; }
  30. public string? SceneCode { get; set; }
  31. public string DetectResult { get; set; } = string.Empty;
  32. public long? ExceptionId { get; set; }
  33. public string? DedupKey { get; set; }
  34. public string? SourceObjectType { get; set; }
  35. public string? SourceObjectId { get; set; }
  36. public string? RelatedObjectCode { get; set; }
  37. public string? TriggerSource { get; set; }
  38. public DateTime DetectedAt { get; set; }
  39. public DateTime CreatedAt { get; set; }
  40. public string? PayloadSnapshot { get; set; }
  41. public string? FailureReason { get; set; }
  42. public string? FailureMessage { get; set; }
  43. public string? Remark { get; set; }
  44. }