Package-level declarations

Types

Link copied to clipboard
data class Email(val address: String, val isVerified: Boolean = false)

Value object representing a user email address and its verification state.

Link copied to clipboard
class User : Entity<UserId>

Represents a User in the domain model.

Link copied to clipboard
data class UserCredentials(val id: UserId, val passwordHash: String, val salt: String, val loginAttempts: Int = 0, val lockedUntil: Long = -1L, val lastLogin: Long = 0) : Entity<UserId>

Represents the credentials of a user in the domain model.

Link copied to clipboard
class UserId(value: String = newId()) : UUIDEntityId

Represents the unique identifier for a User entity.

Link copied to clipboard
data class UserProfile(val username: String, val email: Email, val role: UserRole)

Represents the profile information of a user in the domain model.

Link copied to clipboard

Enum class representing the roles a user can have in the system.