AyCode.Core/AyCode.Interfaces/ServiceProviders/README.md

15 lines
892 B
Markdown

# ServiceProviders
Interfaces for company/service provider entities, covering base properties, profile relations, user associations, and foreign keys.
## Key Files
- **`IAcCompanyBase.cs`** — Base company interface with `OwnerId`, `Name`, `CommissionPercent`, `AffiliateId`, `ReferralId`, and `HasUser`/`AddUser` methods.
- **`IAcCompany.cs`** — Multiple generic variants linking a company to its profile, address, and user collections.
- **`IAcCompanyRelation.cs`** — Navigation property for entities holding `ServiceProviders` and `UserToServiceProviders` lists.
- **`IAcCompanyForeignKey.cs`** — Foreign key contract exposing `ServiceProviderId` (Guid).
---
> **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.