Adding
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Text.Json.Serialization;
|
||||
using LCU.Library.Internal.MemberPreferencesApiModels.Enums;
|
||||
|
||||
namespace LCU.Library.Internal.MemberPreferencesApiModels.Models;
|
||||
|
||||
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; }
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
namespace LCU.Library.Internal.MemberPreferencesApiModels.Models;
|
||||
|
||||
public interface IAuditableChanges
|
||||
{
|
||||
void SystemModified(Auditable entity, string modifiedBy);
|
||||
}
|
||||
Reference in New Issue
Block a user