| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- namespace Admin.NET.Plugin.AiDOP.Dto.S8;
- public class AdoS8ExceptionQueryDto
- {
- public long TenantId { get; set; } = 1;
- public long FactoryId { get; set; } = 1;
- public string? Keyword { get; set; }
- public string? Status { get; set; }
- public string? StatusBucket { get; set; }
- public string? Severity { get; set; }
- public string? SceneCode { get; set; }
- public long? DeptId { get; set; }
- public bool? TimeoutFlag { get; set; }
- public string? ProcessNodeCode { get; set; }
- public string? RelatedObjectCode { get; set; }
- public DateTime? BeginTime { get; set; }
- public DateTime? EndTime { get; set; }
- public int Page { get; set; } = 1;
- public int PageSize { get; set; } = 20;
- }
- public class AdoS8ExceptionListItemDto
- {
- public long Id { get; set; }
- public string ExceptionCode { get; set; } = string.Empty;
- public string Title { get; set; } = string.Empty;
- public string Status { get; set; } = string.Empty;
- public string? StatusLabel { get; set; }
- public string Severity { get; set; } = string.Empty;
- public string? SeverityLabel { get; set; }
- public decimal PriorityScore { get; set; }
- public string PriorityLevel { get; set; } = string.Empty;
- public string SceneCode { get; set; } = string.Empty;
- public string? SceneName { get; set; }
- public long ResponsibleDeptId { get; set; }
- public string? ResponsibleDeptName { get; set; }
- public long? AssigneeId { get; set; }
- public string? AssigneeName { get; set; }
- public DateTime? SlaDeadline { get; set; }
- public bool TimeoutFlag { get; set; }
- public DateTime CreatedAt { get; set; }
- public DateTime? ClosedAt { get; set; }
- }
- public class AdoS8ExceptionDetailDto : AdoS8ExceptionListItemDto
- {
- public string? Description { get; set; }
- public string SourceType { get; set; } = string.Empty;
- public long OccurrenceDeptId { get; set; }
- public string? OccurrenceDeptName { get; set; }
- public long? ResponsibleGroupId { get; set; }
- public long? ReporterId { get; set; }
- public string? ReporterName { get; set; }
- public DateTime? AssignedAt { get; set; }
- public DateTime? UpdatedAt { get; set; }
- }
- public class AdoS8ManualReportCreateDto
- {
- public long TenantId { get; set; } = 1;
- public long FactoryId { get; set; } = 1;
- public string Title { get; set; } = string.Empty;
- public string? Description { get; set; }
- public string SceneCode { get; set; } = string.Empty;
- public string Severity { get; set; } = "MEDIUM";
- public long OccurrenceDeptId { get; set; }
- public long ResponsibleDeptId { get; set; }
- public long? ReporterId { get; set; }
- }
- public class AdoS8ManualReportResultDto
- {
- public long ExceptionId { get; set; }
- public string ExceptionCode { get; set; } = string.Empty;
- public long TaskId { get; set; }
- }
- public class AdoS8TimelineItemDto
- {
- public long Id { get; set; }
- public string ActionCode { get; set; } = string.Empty;
- public string ActionLabel { get; set; } = string.Empty;
- public string? FromStatus { get; set; }
- public string? ToStatus { get; set; }
- public long? OperatorId { get; set; }
- public string? OperatorName { get; set; }
- public string? ActionRemark { get; set; }
- public DateTime CreatedAt { get; set; }
- }
- public class AdoS8DecisionItemDto
- {
- public long Id { get; set; }
- public string DecisionType { get; set; } = string.Empty;
- public long DecisionMakerId { get; set; }
- public string DecisionMakerName { get; set; } = string.Empty;
- public string? DecisionBasis { get; set; }
- public string? DecisionResult { get; set; }
- public string? DecisionRemark { get; set; }
- public DateTime DecisionTime { get; set; }
- }
- public class AdoS8EvidenceItemDto
- {
- public long Id { get; set; }
- public string EvidenceType { get; set; } = string.Empty;
- public string FileName { get; set; } = string.Empty;
- public string FileUrl { get; set; } = string.Empty;
- public string? SourceSystem { get; set; }
- public long? UploadedBy { get; set; }
- public DateTime UploadedAt { get; set; }
- }
- public class AdoS8CommentDto
- {
- public string? Remark { get; set; }
- }
- public class AdoS8TransferDto
- {
- public long AssigneeId { get; set; }
- public string? Remark { get; set; }
- }
- public class AdoS8AttachmentCreateDto
- {
- public string EvidenceType { get; set; } = "file";
- public string FileName { get; set; } = string.Empty;
- public string FileUrl { get; set; } = string.Empty;
- public string? SourceSystem { get; set; }
- public long? UploadedBy { get; set; }
- }
|