Class: AliasSQL
Defined in: src/models/sql/AliasSQL.ts:32
Implementation of the Alias interface for storage in a SQL database. If MongoDB is desired, please use
models.mongo.AliasMongo instead.
Extends
BaseEntity
Implements
Constructors
Constructor
new AliasSQL(
other?):AliasSQL
Defined in: src/models/sql/AliasSQL.ts:47
Parameters
other?
Partial<AliasSQL>
Returns
AliasSQL
Overrides
BaseEntity.constructor
Properties
alias
alias:
string=""
Defined in: src/models/sql/AliasSQL.ts:36
The alias to uniquely identify a specific user account.
Implementation of
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
type
type:
AliasType=AliasType.NAME
Defined in: src/models/sql/AliasSQL.ts:39
The type of data that the alias represents (e.g. email, phone, name).
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
userUid
userUid:
string=""
Defined in: src/models/sql/AliasSQL.ts:42
The unique identifier of the user account associated with this alias.
Implementation of
verified
verified:
boolean=false
Defined in: src/models/sql/AliasSQL.ts:45
Indicates if this alias 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