Skip to main content

courses.Section

Defined in: backend/src/modules/courses/classes/transformers/Section.ts:18

Section data transformation.

Implements

  • ISection

Constructors

Constructor

new Section(sectionBody, existingSections): Section

Defined in: backend/src/modules/courses/classes/transformers/Section.ts:44

Parameters

sectionBody

CreateSectionBody

existingSections

ISection[]

Returns

Section

Properties

createdAt

createdAt: Date

Defined in: backend/src/modules/courses/classes/transformers/Section.ts:38

Implementation of

ISection.createdAt


description

description: string

Defined in: backend/src/modules/courses/classes/transformers/Section.ts:28

Implementation of

ISection.description


itemsGroupId

itemsGroupId: ID

Defined in: backend/src/modules/courses/classes/transformers/Section.ts:34

Implementation of

ISection.itemsGroupId


name

name: string

Defined in: backend/src/modules/courses/classes/transformers/Section.ts:25

Implementation of

ISection.name


order

order: string

Defined in: backend/src/modules/courses/classes/transformers/Section.ts:31

Implementation of

ISection.order


sectionId?

optional sectionId: ID

Defined in: backend/src/modules/courses/classes/transformers/Section.ts:22

Implementation of

ISection.sectionId


updatedAt

updatedAt: Date

Defined in: backend/src/modules/courses/classes/transformers/Section.ts:42

Implementation of

ISection.updatedAt