# Entities

Concrete entity implementations inheriting from AyCode.Entities abstract generics. Used by database integration tests.

## Key Files

- **`User.cs`** — `AcUser<Profile, Company, UserToCompany, Address>`.
- **`Company.cs`** — `AcCompany<User, UserToCompany, Profile, Address>`.
- **`UserToCompany.cs`** — `AcUserToCompany<User, Company>` junction entity.
- **`Profile.cs`** — `AcProfile<Address>`.
- **`Address.cs`** — `AcAddress` + `IAcAddressDtoBase` with DTO support.
- **`UserToken.cs`** — `AcUserTokenBase` authentication token.
- **`EmailMessage.cs`** — `AcEmailMessage<EmailRecipient>`.
- **`EmailRecipient.cs`** — `AcEmailRecipient<EmailMessage>`.

## Relationships

User ↔ Company (many-to-many via UserToCompany), User → Profile → Address (one-to-one chain), EmailMessage → EmailRecipient (one-to-many).
