Package com.tp2020.backend.controllers.category.dto

Types

DeleteCategoryDto
Link copied to clipboard
data class DeleteCategoryDto(id: Int, questionsToDelete: List<Long>, questionsToUpdate: List<PutQuestionDto>)
GetCategoryDto
Link copied to clipboard
data class GetCategoryDto(id: Int, name: String, priority: String?)
PostCategoryDto
Link copied to clipboard
class PostCategoryDto(name: String, priority: String?)
PutCategoryDto
Link copied to clipboard
class PutCategoryDto(id: Int, name: String?, priority: String?)

Functions

toGetCategoryDto
Link copied to clipboard
fun ResultRow.toGetCategoryDto(): GetCategoryDto