Implemented centralised audit logging

This commit is contained in:
2026-09-21 16:32:56 +02:00
parent 78b03b6996
commit f4024d563a
41 changed files with 5751 additions and 54 deletions
+3 -1
View File
@@ -4,9 +4,11 @@ public class AuditLog
{
public long Id { get; set; }
public long? TenantId { get; set; }
public string? EntityName { get; set; }
public long EntityId { get; set; }
public string? EntityId { get; set; }
public string? Action { get; set; }
@@ -6,6 +6,8 @@ public class Award
public long OrganisationId { get; set; }
public long TenantId { get; set; }
public long ProgrammeId { get; set; }
public long? ProjectId { get; set; }
@@ -4,6 +4,8 @@ public class Notification
{
public long Id { get; set; }
public long TenantId { get; set; }
public long OrganisationId { get; set; }
public Guid Recipient { get; set; }
@@ -4,6 +4,8 @@ public class Portfolio
{
public long Id { get; set; }
public long TenantId { get; set; }
public long OrganisationId { get; set; }
public Guid OwnedBy { get; set; }
@@ -6,6 +6,8 @@ public class Programme
public long PortfolioId { get; set; }
public long TenantId { get; set; }
public Guid OwnedBy { get; set; }
public Guid CreatedBy { get; set; }
@@ -6,6 +6,8 @@ public class Project
public long ProgrammeId { get; set; }
public long TenantId { get; set; }
public Guid CreatedBy { get; set; }
public Guid? UpdatedBy { get; set; }
+2 -2
View File
@@ -8,9 +8,9 @@ public class Tenant
public Guid CreatedBy { get; set; }
public DateTime UpdatedAt { get; set; }
public DateTime? UpdatedAt { get; set; }
public Guid UpdatedBy { get; set; }
public Guid? UpdatedBy { get; set; }
public string? Name { get; set; }