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