Add complete backend support for student account activation: Persistence layer: - StudentConfiguration: add IsActive, ActivationCode, ActivationCodeExpiry mappings - Migration: AddStudentActivation with new columns - StudentRepository: implement GetByActivationCodeAsync Application layer: - ActivateAccountCommand: validates code and activates student account - RegenerateActivationCodeCommand: generates new code with expiry - CreateStudentCommand: generates activation code on registration - StudentDto: expose activation status fields - Auth Queries: add activation status lookup API layer: - Mutation: add activateAccount and regenerateActivationCode endpoints - Query: add activation status queries Tests: - Unit tests for activation commands - Integration tests for enrollment flow with activation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| EnrollmentFlowTests.cs | ||
| Integration.Tests.csproj | ||