sozsoft-platform/api/src/Sozsoft.Platform.Application.Contracts/AuditLogs/AuditLogDto.cs

39 lines
1.3 KiB
C#
Raw Normal View History

2026-02-24 20:44:16 +00:00
using System;
using System.Collections.Generic;
using Volo.Abp.Application.Dtos;
namespace Sozsoft.Platform.AuditLogs;
public class AuditLogDto : EntityDto<Guid>
{
public AuditLogDto()
{
Actions = new List<AuditLogActionDto>();
EntityChanges = new List<EntityChangeDto>();
}
public string ApplicationName { get; set; }
public Guid? UserId { get; protected set; }
public string UserName { get; protected set; }
2026-03-22 00:56:24 +00:00
public Guid? TenantId { get; protected set; }
public string TenantName { get; protected set; }
2026-02-24 20:44:16 +00:00
public DateTime ExecutionTime { get; protected set; }
public int ExecutionDuration { get; protected set; }
public string ClientIpAddress { get; protected set; }
public string ClientName { get; protected set; }
public string ClientId { get; set; }
public string CorrelationId { get; set; }
public string BrowserInfo { get; protected set; }
public string HttpMethod { get; protected set; }
public string Url { get; protected set; }
public string Exceptions { get; protected set; }
public string Comments { get; protected set; }
public int? HttpStatusCode { get; set; }
public ICollection<EntityChangeDto> EntityChanges { get; protected set; }
public ICollection<AuditLogActionDto> Actions { get; protected set; }
public int? EntityChangeCount { get; set; }
}