UserDTO

UserDTO

Data Transfer Object (DTO) for representing user details.

Constructor

new UserDTO(params)

Create a new instance of UserDTO.
Source:
Parameters:
Name Type Description
params Object The parameters for initializing the DTO.
Name Type Description
id number The ID of the user.
firstName string The first name of the user.
lastName string The last name of the user.
username string The username of the user.
email string The email address of the user.
role string The role of the user.
avatar string The avatar URL of the user.
createdAt string The creation timestamp of the user.
updatedAt string The update timestamp of the user.