AyCode.Core/AyCode.Interfaces/Entities/README.md

672 B

Entities

Core entity interfaces that define primary key contracts and soft-delete behavior for all domain entities.

Key Files

  • IEntity.cs — Root entity interface extending IAcSerializableToJson, with a generic IEntity<TPKey> variant for typed primary keys.
  • IEntityGuid.cs — Entity with a Guid primary key (IEntity<Guid>).
  • IEntityInt.cs — Entity with an int primary key (IEntity<int>).
  • IAcSoftRemoveEntity.cs — Adds a Deleted boolean flag for soft-delete support.
  • IAcSoftRemoveEntityInt.cs — Soft-delete entity with int key.
  • IAcSoftRemoveEntityGuid.cs — Soft-delete entity with Guid key.