namespace Shared.Data.Entities;

/// <summary>
/// Abstract base for all EF entities that carry a surrogate string PK and an audit timestamp.
/// Entities with a composite PK or a non-<c>Id</c> primary key should NOT inherit this class;
/// document the exception with a brief comment on the entity.
/// </summary>
public abstract class BaseEntity
{
    public required string Id { get; init; }
    public DateTime CreatedAt { get; init; }
}
