Commit a954d29e authored by Rosanny Sihombing's avatar Rosanny Sihombing
Browse files

define user class

5 merge requests!143updating yml config,!91Prepare prod,!90Testing,!89Testing,!70Mlab 383
Showing with 23 additions and 0 deletions
+23 -0
class User {
constructor(id, email, salutation, title, firstName, lastName, industry, organisation, speciality, m4lab_idp, gitlabUserId, verificationStatus) {
this.id = id
this.email = email
this.salutation = salutation
this.title = title
this.firstName = firstName
this.lastName = lastName
this.industry = industry
this.organisation = organisation
this.speciality = speciality
this.m4lab_idp = m4lab_idp
this.gitlabUserId = gitlabUserId
this.verificationStatus = verificationStatus
}
// getter
get fullName() {
return this.firstName+' '+this.lastName
}
}
module.exports = User
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment