initial commit

This commit is contained in:
cubecraft-agents[bot]
2026-04-25 18:51:05 +00:00
commit 230c3b295d
78 changed files with 8093 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
namespace Extrudex.Domain.Base;
/// <summary>
/// Base entity providing automatic audit timestamp tracking and a primary key.
/// All domain entities that require created/updated timestamps should inherit from this class.
/// Inherits Id from BaseEntity, so subclasses have both identity and audit columns.
/// </summary>
public abstract class AuditableEntity : BaseEntity
{
/// <summary>
/// Timestamp indicating when this entity was first created (UTC).
/// </summary>
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
/// <summary>
/// Timestamp indicating when this entity was last modified (UTC).
/// </summary>
public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
}