1.1 KiB
1.1 KiB
Users
Abstract base entities for user accounts, authentication tokens, and user-to-company membership mappings. Mapped to the Users, UserToken, and UserToServiceProvider database tables.
Key Files
AcUser.cs— Generic abstract class (AcUser<TProfile, TCompany, TUserToServiceProvider, TProfileAddress>) implementingIAcUser. Holds email, password, phone, refresh token, affiliate/referral IDs, and navigation properties toProfile,ServiceProviders, andUserToServiceProviders.AcUserTokenBase.cs— Abstract class for user verification tokens withToken,IsActive,TokenSent, andTokenExpirationfields. Uses an auto-incrementedintprimary key.AcUserToCompany.cs— Generic abstract class (AcUserToCompany<TUser, TCompany>) implementingIAcUserToCompany. Many-to-many join entity linking users to companies with aPermissionsfield.
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.