23 lines
1.0 KiB
Markdown
23 lines
1.0 KiB
Markdown
# 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).
|
|
|
|
---
|
|
|
|
> **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.
|