37 lines
1.2 KiB
C#
37 lines
1.2 KiB
C#
|
|
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; }
|
|||
|
|
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; }
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|