Skip to content

@sourceloop/survey-service / Exports / TemplateQuestion

Class: TemplateQuestion

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new TemplateQuestion(data?)

Parameters

Name Type
data? Partial<TemplateQuestion>

Inherited from

UserModifiableEntity<TemplateQuestion>.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


createdOn

Optional createdOn: Date

Inherited from

UserModifiableEntity.createdOn

Defined in

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


dependentOnQuestionId

dependentOnQuestionId: string

Defined in

services/survey-service/src/models/template-questions.model.ts:71


displayOrder

Optional displayOrder: number

Defined in

services/survey-service/src/models/template-questions.model.ts:19


extId

Optional extId: string

Defined in

services/survey-service/src/models/template-questions.model.ts:77


extMetadata

Optional extMetadata: AnyObject

Defined in

services/survey-service/src/models/template-questions.model.ts:83


id

Optional id: string

Defined in

services/survey-service/src/models/template-questions.model.ts:13


isMandatory

Optional isMandatory: boolean

Defined in

services/survey-service/src/models/template-questions.model.ts:25


modifiedBy

Optional modifiedBy: string

Inherited from

UserModifiableEntity.modifiedBy

Defined in

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


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/template-questions.model.ts:58


templateId

templateId: string

Defined in

services/survey-service/src/models/template-questions.model.ts:46


weight

Optional weight: number

Defined in

services/survey-service/src/models/template-questions.model.ts:34