//namespace Nop.Core.Domain.Common; using AyCode.Interfaces.Entities; namespace Nop.Core; /// /// Represents the base class for entities /// 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 { public int Id { get; set; } }