This commit is contained in:
Zeeshaun
2026-04-07 13:11:39 -05:00
parent d9931b3c36
commit e37826fe30
184 changed files with 2192 additions and 2196 deletions
@@ -2,16 +2,17 @@ using System;
using System.Text.Json.Serialization;
using LCU.Library.Internal.MemberPreferencesApiModels.Enums;
namespace LCU.Library.Internal.MemberPreferencesApiModels.Models;
public abstract class Auditable
namespace LCU.Library.Internal.MemberPreferencesApiModels.Models
{
public string CreatedBy { get; set; }
public DateTime Created { get; set; }
[JsonConverter(typeof(JsonStringEnumConverter))]
public UserType CreatedByType { get; set; }
public string LastUpdatedBy { get; set; }
public DateTime LastUpdated { get; set; }
[JsonConverter(typeof(JsonStringEnumConverter))]
public UserType LastUpdatedByType { get; set; }
public abstract class Auditable
{
public string CreatedBy { get; set; }
public DateTime Created { get; set; }
[JsonConverter(typeof(JsonStringEnumConverter))]
public UserType CreatedByType { get; set; }
public string LastUpdatedBy { get; set; }
public DateTime LastUpdated { get; set; }
[JsonConverter(typeof(JsonStringEnumConverter))]
public UserType LastUpdatedByType { get; set; }
}
}
@@ -1,6 +1,7 @@
namespace LCU.Library.Internal.MemberPreferencesApiModels.Models;
public interface IAuditableChanges
namespace LCU.Library.Internal.MemberPreferencesApiModels.Models
{
void SystemModified(Auditable entity, string modifiedBy);
public interface IAuditableChanges
{
void SystemModified(Auditable entity, string modifiedBy);
}
}