line-gestao-api/Dtos/ImportAuditDtos.cs

27 lines
965 B
C#

namespace line_gestao_api.Dtos;
public sealed class ImportAuditRunDto
{
public Guid Id { get; set; }
public DateTime ImportedAt { get; set; }
public string? FileName { get; set; }
public string Status { get; set; } = string.Empty;
public int CanonicalTotalLinhas { get; set; }
public int SourceMaxItemGeral { get; set; }
public int SourceValidCountGeral { get; set; }
public int IssueCount { get; set; }
public List<ImportAuditIssueDto> Issues { get; set; } = new();
}
public sealed class ImportAuditIssueDto
{
public Guid Id { get; set; }
public string Entity { get; set; } = string.Empty;
public string FieldName { get; set; } = string.Empty;
public string? SourceValue { get; set; }
public string CanonicalValue { get; set; } = string.Empty;
public string Resolution { get; set; } = string.Empty;
public string Severity { get; set; } = string.Empty;
public DateTime CreatedAt { get; set; }
}