AyCode.Core/AyCode.Entities/ServiceProviders/README.md

775 B

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.

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.