Mango.Nop.Libraries/Mango.Nop.Core/NopDependencies/BaseEntity.cs

21 lines
419 B
C#

//namespace Nop.Core.Domain.Common;
using AyCode.Interfaces.Entities;
namespace Nop.Core;
/// <summary>
/// Represents the base class for entities
/// </summary>
public abstract partial class BaseEntity : IBaseEntity
{
/// <summary>
/// Gets or sets the entity identifier
/// </summary>
public int Id { get; set; }
}
public interface IBaseEntity //: IEntityInt
{
public int Id { get; set; }
}