15 lines
694 B
C#
15 lines
694 B
C#
namespace SharepointToolbox.Web.Core.Models;
|
|
|
|
public class AuditEntry
|
|
{
|
|
public string Id { get; set; } = Guid.NewGuid().ToString();
|
|
public DateTimeOffset Timestamp { get; set; } = DateTimeOffset.UtcNow;
|
|
public string UserEmail { get; set; } = string.Empty;
|
|
public string UserDisplay { get; set; } = string.Empty;
|
|
public UserRole UserRole { get; set; }
|
|
public string Action { get; set; } = string.Empty;
|
|
public string ClientName { get; set; } = string.Empty;
|
|
public List<string> Sites { get; set; } = new();
|
|
public string Details { get; set; } = string.Empty;
|
|
}
|