Implemented centralised audit logging
This commit is contained in:
@@ -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; }
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user