CourseMaterialDTO

CourseMaterialDTO

Data Transfer Object (DTO) for representing course materials.

Constructor

new CourseMaterialDTO(params)

Create a new instance of CourseMaterialDTO.
Source:
Parameters:
Name Type Description
params Object The parameters for initializing the DTO.
Name Type Description
id number The ID of the course material.
name string The name of the course material.
file string The file associated with the course material.
Course Object | null The course associated with the material.