UserDto
User data transfer object
createdAtstring<date-time>required
Account creation timestamp
Example:
2024-01-01T00:00:00Zemailstringrequired
User email address
Example:
john.doe@example.comidstring<uuid>required
Unique user identifier
Example:
550e8400-e29b-41d4-a716-446655440000isActivebooleanrequired
Whether the account is active
Example:
trueisAdminbooleanrequired
Whether user has admin privileges
Example:
falselastLoginAtstring,null<date-time>nullable
Timestamp of last login
Example:
2024-01-15T10:30:00ZupdatedAtstring<date-time>required
Last account update timestamp
Example:
2024-01-15T10:30:00Zusernamestringrequired
Username for login
Example:
johndoeUserDto
{
"createdAt": "2024-01-01T00:00:00Z",
"email": "john.doe@example.com",
"id": "550e8400-e29b-41d4-a716-446655440000",
"isActive": true,
"isAdmin": false,
"lastLoginAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z",
"username": "johndoe"
}