23 lines
1021 B
Markdown
23 lines
1021 B
Markdown
# AyCode.Entities.Server
|
|
|
|
Server-side entity implementations extending `AyCode.Entities`. Currently contains the database-persistable log item entity.
|
|
|
|
## Key Files
|
|
|
|
### LogItems/
|
|
- **`IAcLogItem.cs`** — Interface extending `IAcLogItemClient` + `IEntityInt`. Adds `int LogHeaderId` for log header foreign key.
|
|
- **`AcLogItem.cs`** — Concrete log item entity mapped to `[Table("LogItem")]`. Inherits `AcLogItemClient`, implements `IAcLogItem`. Auto-increment `int Id` primary key. MessagePack-serializable with `[MessagePackObject]`.
|
|
|
|
## Dependencies
|
|
|
|
| Dependency | Purpose |
|
|
|---|---|
|
|
| `AyCode.Core` | Enums, loggers |
|
|
| `AyCode.Entities` | `AcLogItemClient` base class |
|
|
| `AyCode.Utils` | Shared utilities |
|
|
| `MessagePack.Annotations` | `[MessagePackObject]`, `[Key]` for serialization |
|
|
|
|
---
|
|
|
|
> **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.
|