CategoryDTO

CategoryDTO

Data Transfer Object (DTO) for representing category details.

Constructor

new CategoryDTO(params)

Create a new instance of CategoryDTO.
Source:
Parameters:
Name Type Description
params Object The parameters for initializing the DTO.
Name Type Description
id number The ID of the category.
name string The name of the category.
description string The description of the category.
cover string The cover image URL of the category.
Trainings Array The trainings associated with the category.