persona_services > PersonaStat

Class: PersonaStat

The PersonaStat is an instance of a specific PersonaStatDefinition that is assocaited with a particular Persona.

author: Jean-Philippe Steinmetz info@acceleratxr.com

Hierarchy

BaseMongoEntity

↳ PersonaStat

Index

Constructors

Properties


Constructors

constructor

new PersonaStat(other?: any): PersonaStat

Overrides BaseMongoEntity.__constructor

Defined in models/PersonaStat.ts:32

Parameters:

Name Type
Optional other any

Returns: PersonaStat


Properties

_id

● _id: ObjectID

Inherited from BaseMongoEntity._id

Defined in C:/Users/jpsaxr/gitlab/persona_services/node_modules/@acceleratxr/services_common/dist/types/models/BaseMongoEntity.d.ts:12

The internal unique identifier used by MongoDB.


dateCreated

● dateCreated: Date

Inherited from BaseEntity.dateCreated

Defined in C:/Users/jpsaxr/gitlab/persona_services/node_modules/@acceleratxr/services_common/dist/types/models/BaseEntity.d.ts:18

The date and time that the entity was created.


dateModified

● dateModified: Date

Inherited from BaseEntity.dateModified

Defined in C:/Users/jpsaxr/gitlab/persona_services/node_modules/@acceleratxr/services_common/dist/types/models/BaseEntity.d.ts:22

The date and time that the entity was last modified.


personaUid

● personaUid: string = “”

Defined in models/PersonaStat.ts:26

The universally unique identifier of the Persona that this statistic is associated with.


statUid

● statUid: string = “”

Defined in models/PersonaStat.ts:19

The universally unique identifier of the PersonaStatDefinition this object represents.


uid

● uid: string

Inherited from BaseEntity.uid

Defined in C:/Users/jpsaxr/gitlab/persona_services/node_modules/@acceleratxr/services_common/dist/types/models/BaseEntity.d.ts:14

The universally unique identifier of the entity.


value

● value: any = undefined

Defined in models/PersonaStat.ts:32

The current value of the statistic.


version

● version: number

Inherited from BaseEntity.version

Defined in C:/Users/jpsaxr/gitlab/persona_services/node_modules/@acceleratxr/services_common/dist/types/models/BaseEntity.d.ts:26

The optimistic lock version.