AyCode.Core/AyCode.Models/Users/README.md

17 lines
1.0 KiB
Markdown

# Users
Abstract base DTOs for user data transfer, including minimal, standard, and detailed user models, plus password-related DTOs.
## Key Files
- **`AcUserModelDtoMinBase.cs`** — Minimal user DTO with `UserDto` and `ProfileDto` properties (name, affiliate ID).
- **`AcUserModelDtoBase.cs`** — Extends the minimal DTO with `ServiceProviders` and `UserToServiceProviders` lists.
- **`AcUserModelDtoDetailBase.cs`** — Full detail DTO adding email, phone, address, referral, and timestamp fields.
- **`AcPasswordDtoBase.cs`** — Base class for password operations with a `NewPassword` property.
- **`AcChangePasswordDto.cs`** — Extends `AcPasswordDtoBase` with `UserId` and `OldPassword` for password change requests.
- **`AcForgotPasswordDto.cs`** — Extends `AcPasswordDtoBase` with `Email` for forgot-password flows.
---
> **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.