UserEntity

@MappedEntity
data class UserEntity(@Id val id: String? = null, val username: String, val password: String, val email: String? = null, val description: String? = null, val profilePicture: String? = null, val refreshToken: String? = null)

User entity.

Constructors

Link copied to clipboard
constructor(@Id id: String? = null, username: String, password: String, email: String? = null, description: String? = null, profilePicture: String? = null, refreshToken: String? = null)

Properties

Link copied to clipboard
val description: String? = null
Link copied to clipboard
val email: String? = null
Link copied to clipboard
@GeneratedValue
val id: String? = null
Link copied to clipboard
Link copied to clipboard
val profilePicture: String? = null
Link copied to clipboard
val refreshToken: String? = null
Link copied to clipboard

Functions

Link copied to clipboard

Convert a user entity to a user.