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

896 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.

LLM Maintenance: If you modify code in this folder, update this README to reflect the changes. If you notice the README content does not match the current code, automatically update the README to match the code.