# UserProfileDto

- File ID: file:1fs0p2c:userprofiledto-cs
- Path: NexusReader.Application/DTOs/User/UserProfileDto.cs
- Role: dto
- Layer: application

## Purpose

Defines DTOs for returning user profile and last-read book information across the application boundary (UI/API), including helper computed properties for UI compatibility.

## Key Details

Pure DTO definitions with computed helper properties for UI compatibility; no runtime logic, branches, or external calls in this file.

## Symbols

- UserProfileDto: Defines DTOs for returning user profile and last-read book information across the application boundary (UI/API), including helper computed properties for UI compatibility.
- UserProfileDto: Represents a user's profile information, subscription plan, roles, recent activity and UI-friendly computed properties.
- LastReadBookDto: Carries a compact summary of the last book the user was reading, for display in UI and profile pages.

## Dependencies

- No resolved dependencies.

## Calls

- No resolved calls.

## Unresolved References

- dependency-target: NexusReader.Application.Constants.PlanConstants (referenced)
- dependency-target: SubscriptionPlanDto (referenced, external file)
- dependency-target: AuthorDto (referenced, external file)

## Coverage

- Symbols: 3
- Executable symbols: 0
- Executable symbols with control flow: 0
- Grounded edges: 3
- Unresolved references: 3
- Control-flow fragments: 0
- Unresolved jumps: 0
- Unsupported constructs: 0
- Control-flow coverage: 100%
- Required diagrams: 1
- Generated diagrams: 1

## Diagrams

### UserProfileDto Neighborhood

```mermaid
flowchart LR
    class_vgmc9n_userprofiledto("UserProfileDto")
    file_1fs0p2c_userprofiledto_cs("UserProfileDto")
    type_1g1re12_lastreadbookdto[/"LastReadBookDto"/]
    type_wh8ieq_userprofiledto[/"UserProfileDto"/]
```

## Diagram Validation

- Status: pass
