InterfaceUser
talawa-api • Docs
talawa-api / models/User / InterfaceUser
Interface: InterfaceUser
Represents a MongoDB document for User in the database.
Properties
_id
> _id: ObjectId
Defined in
address
> address: object
city
> city: string
countryCode
> countryCode: string
dependentLocality
> dependentLocality: string
line1
> line1: string
line2
> line2: string
postalCode
> postalCode: string
sortingCode
> sortingCode: string
state
> state: string
Defined in
appUserProfileId
> appUserProfileId: any
Defined in
birthDate
> birthDate: Date
Defined in
createdAt
> createdAt: Date
Defined in
educationGrade
> educationGrade: string
Defined in
email
> email: string
Defined in
employmentStatus
> employmentStatus: string
Defined in
eventsAttended
> eventsAttended: any
[]
Defined in
firstName
> firstName: string
Defined in
gender
> gender: string
Defined in
identifier
> identifier: number
Defined in
image
> image: undefined
| null
| string
Defined in
joinedOrganizations
> joinedOrganizations: any
[]
Defined in
lastName
> lastName: string
Defined in
maritalStatus
> maritalStatus: string
Defined in
membershipRequests
> membershipRequests: any
[]
Defined in
organizationsBlockedBy
> organizationsBlockedBy: any
[]
Defined in
password?
> optional
password: null
| string
Defined in
phone
> phone: object
home
> home: string
mobile
> mobile: string
work
> work: string
Defined in
registeredEvents
> registeredEvents: any
[]
Defined in
status
> status: string
Defined in
updatedAt
> updatedAt: Date