Class: UserSQL
Defined in: src/models/sql/UserSQL.ts:33
Implementation of the User interface for storage in a SQLDB database. If MongoDB is desired, please use
models.mongo.UserMongo instead.
Extends
BaseEntity
Implements
Constructors
Constructor
new UserSQL(
other?):UserSQL
Defined in: src/models/sql/UserSQL.ts:46
Parameters
other?
Partial<UserSQL>
Returns
UserSQL
Overrides
BaseEntity.constructor
Properties
dateCreated
dateCreated:
Date
Defined in: node_modules/@rapidrest/service-core/dist/types/models/BaseEntity.d.ts:18
The date and time that the entity was created.
Implementation of
Inherited from
BaseEntity.dateCreated
dateModified
dateModified:
Date
Defined in: node_modules/@rapidrest/service-core/dist/types/models/BaseEntity.d.ts:22
The date and time that the entity was last modified.
Implementation of
Inherited from
BaseEntity.dateModified
roles
roles:
string[] =[]
Defined in: src/models/sql/UserSQL.ts:36
The list of roles (by name) that the user is a member of and will inherit the permissions of.
Implementation of
scopes
scopes:
string[] =[]
Defined in: src/models/sql/UserSQL.ts:40
The list of auth scopes that the user has been granted permission for.
Implementation of
uid
uid:
string
Defined in: node_modules/@rapidrest/service-core/dist/types/models/BaseEntity.d.ts:14
The universally unique identifier of the entity.
Implementation of
Inherited from
BaseEntity.uid
verified
verified:
boolean=false
Defined in: src/models/sql/UserSQL.ts:44
Indicates if the user's e-mail address has been verified.
Implementation of
version
version:
number
Defined in: node_modules/@rapidrest/service-core/dist/types/models/BaseEntity.d.ts:26
The optimistic lock version.
Implementation of
Inherited from
BaseEntity.version