lms-backend/modules/structs/questions.go

19 lines
330 B
Go

package structs
import "git.ex.umbach.dev/LMS/libcore/models"
type QuestionsResponse struct {
Questions []models.Question
LikedQuestions []string
}
// swagger:model CreateQuestionRequest
type CreateQuestionRequest struct {
Message string
}
type LessonIdQuestionIdParam struct {
LessonId string
QuestionId string
}