Skip to content

User Model at Multividas.com

This document describes the attributes of the User and Profile Models used in Multividas.com application.

User Attributes

Attribute NameTypeDescription
idstringUnique identifier (ULID)
namestringName of the user
usernamestringUsername of the user
emailstring, nullEmail of the user
phonestring, nullPhone of the user
profileobjectUser Profile object
userAvatarstring, nullURL path for user's avatar
userCoverstring, nullURL path for user's cover image
createdAtstring, nullUser's account creation date

Profile Attributes

Attribute NameTypeDescription
idstringUnique identifier (ULID)
biostring, nullUser's biography
linksObject, []User's Links (if available)
countrystring, nullUser's country
locationstring, nullUser's location
langstring, nullUser's prefernce language
genderstring, nullUser's gender
birthdatestring, nullUser's birthdate

In the User model, the profile attribute represents the user's associated profile. The Profile model contains additional information about the user, such as their biography, links, location, gender, and birthdate etc. role

Released under the MIT License.