Skip to content

@sourceloop/survey-service / Exports / SurveyDto

Class: SurveyDto

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new SurveyDto(data?)

Parameters

Name Type
data? Partial<SurveyDto & Survey<DataObject<Model>>>

Inherited from

Survey.constructor

Defined in

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

Properties

baseSurveyId

Optional baseSurveyId: string

Inherited from

Survey.baseSurveyId

Defined in

services/survey-service/src/models/survey.model.ts:108


createdBy

Optional createdBy: string

Inherited from

Survey.createdBy

Defined in

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


createdByName

Optional createdByName: string

Defined in

services/survey-service/src/models/survey-dto.model.ts:9


createdByUser

Optional createdByUser: string

Inherited from

Survey.createdByUser

Defined in

services/survey-service/src/models/survey.model.ts:110


createdOn

Optional createdOn: Date

Inherited from

Survey.createdOn

Defined in

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


endDate

endDate: string

Inherited from

Survey.endDate

Defined in

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


existingTemplateId

Optional existingTemplateId: string

Defined in

services/survey-service/src/models/survey-dto.model.ts:14


extId

Optional extId: string

Inherited from

Survey.extId

Defined in

services/survey-service/src/models/survey.model.ts:118


extMetadata

Optional extMetadata: AnyObject

Inherited from

Survey.extMetadata

Defined in

services/survey-service/src/models/survey.model.ts:124


id

Optional id: string

Inherited from

Survey.id

Defined in

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


isEnableWeights

isEnableWeights: boolean

Inherited from

Survey.isEnableWeights

Defined in

services/survey-service/src/models/survey.model.ts:75


modifiedBy

Optional modifiedBy: string

Inherited from

Survey.modifiedBy

Defined in

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


modifiedByUser

Optional modifiedByUser: string

Inherited from

Survey.modifiedByUser

Defined in

services/survey-service/src/models/survey.model.ts:112


modifiedOn

Optional modifiedOn: Date

Inherited from

Survey.modifiedOn

Defined in

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


name

name: string

Inherited from

Survey.name

Defined in

services/survey-service/src/models/survey.model.ts:41


questions

questions: Question[]

Inherited from

Survey.questions

Defined in

services/survey-service/src/models/survey.model.ts:84


sections

sections: Section[]

Inherited from

Survey.sections

Defined in

services/survey-service/src/models/survey.model.ts:99


startDate

startDate: string

Inherited from

Survey.startDate

Defined in

services/survey-service/src/models/survey.model.ts:55


status

status: string

Inherited from

Survey.status

Defined in

services/survey-service/src/models/survey.model.ts:68


surveyCycles

surveyCycles: SurveyCycle[]

Inherited from

Survey.surveyCycles

Defined in

services/survey-service/src/models/survey.model.ts:89


surveyResponders

surveyResponders: SurveyResponder[]

Inherited from

Survey.surveyResponders

Defined in

services/survey-service/src/models/survey.model.ts:94


surveyText

surveyText: string

Inherited from

Survey.surveyText

Defined in

services/survey-service/src/models/survey.model.ts:48


uid

uid: string

Inherited from

Survey.uid

Defined in

services/survey-service/src/models/survey.model.ts:31