Skip to content

@sourceloop/survey-service / Exports / SurveyQuestion

Class: SurveyQuestion<T>

Type parameters

Name Type
T DataObject<Model>

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new SurveyQuestion<T>(data?)

Type parameters

Name Type
T DataObject<Model>

Parameters

Name Type
data? Partial<T & SurveyQuestion<DataObject<Model>>>

Inherited from

UserModifiableEntity< T & SurveyQuestion >.constructor

Defined in

packages/core/dist/models/base-entity.model.d.ts:6

Properties

createdBy

Optional createdBy: string

Inherited from

UserModifiableEntity.createdBy

Defined in

packages/core/dist/models/user-modifiable-entity.model.d.ts:4


createdByUser

Optional createdByUser: string

Defined in

services/survey-service/src/models/survey-question.model.ts:64


createdOn

Optional createdOn: Date

Inherited from

UserModifiableEntity.createdOn

Defined in

packages/core/dist/models/base-entity.model.d.ts:4


dependentOnQuestionId

Optional dependentOnQuestionId: string

Defined in

services/survey-service/src/models/survey-question.model.ts:53


displayOrder

displayOrder: number

Defined in

services/survey-service/src/models/survey-question.model.ts:30


extId

Optional extId: string

Defined in

services/survey-service/src/models/survey-question.model.ts:113


extMetadata

Optional extMetadata: AnyObject

Defined in

services/survey-service/src/models/survey-question.model.ts:119


id

Optional id: string

Defined in

services/survey-service/src/models/survey-question.model.ts:23


isMandatory

isMandatory: boolean

Defined in

services/survey-service/src/models/survey-question.model.ts:37


modifiedBy

Optional modifiedBy: string

Inherited from

UserModifiableEntity.modifiedBy

Defined in

packages/core/dist/models/user-modifiable-entity.model.d.ts:5


modifiedByUser

Optional modifiedByUser: string

Defined in

services/survey-service/src/models/survey-question.model.ts:66


modifiedOn

Optional modifiedOn: Date

Inherited from

UserModifiableEntity.modifiedOn

Defined in

packages/core/dist/models/base-entity.model.d.ts:5


questionId

questionId: string

Defined in

services/survey-service/src/models/survey-question.model.ts:92


sectionId

Optional sectionId: string

Defined in

services/survey-service/src/models/survey-question.model.ts:107


surveyId

surveyId: string

Defined in

services/survey-service/src/models/survey-question.model.ts:79


weight

Optional weight: number

Defined in

services/survey-service/src/models/survey-question.model.ts:62