Package com. tp2020. backend. controllers. question. dto
Types
GetQuestionDto
Link copied to clipboard
data class GetQuestionDto(id: Long, question: String, answer: String, categoryId: Int, order: Int, viewsNumber: Int?, likesNumber: Int?, createdBy: Long, createdAt: LocalDateTime, updatedBy: Long?, updatedAt: LocalDateTime?)
Content copied to clipboard
PostQuestionDto
Link copied to clipboard
data class PostQuestionDto(question: String, answer: String, categoryId: Int, order: Int?)
Content copied to clipboard
PutQuestionDto
Link copied to clipboard
Functions
toGetQuestionDto
Link copied to clipboard