User

User

new User(fname, lname, email, pass, id, role, region, team) → {Object}

This constructor function will create a user object and return it.
Parameters:
Name Type Default Description
fname string First name of the user
lname string Last name of the user
email string Email of the user
pass string Password of the user
id number Id of the user
role ROLES Role of the user
region string Бургас Region of the user
team number null Team of the user
Source: