- Add BINARY_FORMAT.md: full AcBinary wire format spec (markers, encoding, options, protocol, interactions) - Reference BINARY_FORMAT.md from GLOSSARY.md, Binaries/README.md, and Serializers/Binaries/README.md; add new glossary terms - Clarify and expand config options tables to match new doc - Add/clarify LLM maintenance rules: always sync .md files with code, auto-fix discrepancies - Update root README.md: AyCode.Core targets .NET 9, not 10; stress doc/code sync - Add code reuse and doc sync conventions to copilot-instructions.md and CONVENTIONS.md - Add docs/ folder and BINARY_FORMAT.md to solution as Solution Items - Minor clarifications and cross-links in ARCHITECTURE.md and other docs |
||
|---|---|---|
| .. | ||
| AcUser.cs | ||
| AcUserToCompany.cs | ||
| AcUserTokenBase.cs | ||
| README.md | ||
README.md
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.