using e_suite.Database.Audit.Models;

namespace e_suite.API.Common.models;

public class AuditLogEntry : IId
{
    public long Id { get; set; }
        
    public long UserId { get; set; }
    public string UserDisplayName { get; set; } = string.Empty;
        
    public string Type { get; set; } = string.Empty;

    public DateTimeOffset DateTime { get; set; }

    public string Fields { get; set; } = string.Empty;

    public string Comment { get; set; } = string.Empty;

    public string EntityName { get; set; } = string.Empty;

    public string PrimaryKey { get; set; } = string.Empty;

    public string EntityDisplayName { get; set; } = string.Empty;

    public string DisplayName { get; set; } = string.Empty;
}