namespace Extrudex.Domain.Base;
///
/// 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.
///
public abstract class AuditableEntity : BaseEntity
{
///
/// Timestamp indicating when this entity was first created (UTC).
///
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
///
/// Timestamp indicating when this entity was last modified (UTC).
///
public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
}