# AyCode.Entities.Server

@project {
  type = "framework"
}

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 |
