# ServiceProviders

Abstract base entity for companies/service providers, linking owners, profiles, users, and affiliate tracking. Mapped to the `ServiceProviders` database table.

## Key Files

- **`AcCompany.cs`** — Generic abstract class (`AcCompany<TUser, TUserToCompany, TProfile, TAddress>`) implementing `IAcCompany`. Holds `Name`, `OwnerId`, `CommissionPercent`, `AffiliateId`, `ReferralId`, and navigation properties to `Profile`, `Users`, and `UserToServiceProviders`. Provides `SetProfile()`, `HasUser()`, and `AddUser()` helper methods.
