User
class User(val username: Username, var password: String, var email: String? = null, var description: String? = null, var profilePicture: String? = null, var refreshToken: String? = null) : AggregateRoot<Username>
User aggregate root.
Parameters
username
The username of the user.
password
The password of the user.
description
The description of the user.
profilePicture
The profile picture of the user.
refreshToken
The refresh token of the user.
Constructors
Functions
Link copied to clipboard
Clear the refresh token of the user.
Link copied to clipboard
Convert a user to a user entity.
Link copied to clipboard
Update the description of the user.
Link copied to clipboard
Update the profile picture of the user.
Link copied to clipboard
Update the password of the user.