Init
This commit is contained in:
17
Prefab/Domain/Common/ICreated.cs
Normal file
17
Prefab/Domain/Common/ICreated.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace Prefab.Domain.Common;
|
||||
|
||||
/// <summary>
|
||||
/// Captures creation metadata for auditable entities.
|
||||
/// </summary>
|
||||
public interface ICreated
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the identifier of the user that created the entity.
|
||||
/// </summary>
|
||||
Guid CreatedBy { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets when the entity was created.
|
||||
/// </summary>
|
||||
DateTimeOffset CreatedOn { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user