47 lines
724 B
Go
Raw Normal View History

package session
import (
"github.com/google/uuid"
"streifling.com/jason/sicherheitsunterweisung/packages/data"
)
2023-10-28 10:52:06 +02:00
type tableHTMLData struct {
SessionID uuid.UUID
OTD []data.OverviewTableData
}
type briefingHTMLData struct {
SessionID uuid.UUID
Login string
}
type participantHTMLData struct {
SessionID uuid.UUID
Login string
}
type questionHTMLData struct {
SessionID uuid.UUID
Login string
Question data.Question
QuestionID int64
}
type htmlAnswer struct {
Text string
Correct bool
Chosen bool
}
type htmlQuestion struct {
Text string
Answers []htmlAnswer
}
type resultHTMLData struct {
SessionID uuid.UUID
Login string
Questions []htmlQuestion
Incorrect int
}