From ed7a2e8cd671a9cf98944311ba40e837f2965aad Mon Sep 17 00:00:00 2001 From: Loretta Date: Fri, 7 Nov 2025 05:56:47 +0100 Subject: [PATCH] BaseEntity.ToString() --- Mango.Nop.Core/NopDependencies/BaseEntity.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Mango.Nop.Core/NopDependencies/BaseEntity.cs b/Mango.Nop.Core/NopDependencies/BaseEntity.cs index 3633650..643d8d9 100644 --- a/Mango.Nop.Core/NopDependencies/BaseEntity.cs +++ b/Mango.Nop.Core/NopDependencies/BaseEntity.cs @@ -13,6 +13,11 @@ public abstract partial class BaseEntity : IBaseEntity /// Gets or sets the entity identifier /// public int Id { get; set; } + + public override string ToString() + { + return $"{GetType().Name} [Id: {Id}]"; + } } public interface IBaseEntity //: IEntityInt