Constructor
new CourseDTO(params)
Create a new instance of CourseDTO.
- Source:
Parameters:
| Name |
Type |
Description |
params |
Object
|
The parameters for initializing the DTO.
| Name |
Type |
Description |
id |
number
|
The ID of the course.
|
name |
string
|
The name of the course.
|
description |
string
|
The description of the course.
|
Teacher |
Object
|
The teacher associated with the course.
|
Training |
Object
|
The training associated with the course.
|
dates |
Array
|
An array of course dates.
|
CourseMaterials |
Array
|
An array of course materials.
|
|