18 lines
395 B
C#
18 lines
395 B
C#
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; }
|
|
}
|