50 lines
2.0 KiB
Go
50 lines
2.0 KiB
Go
package models
|
|
|
|
type AllFields struct {
|
|
CtxUserIP string
|
|
CtxUserPort string
|
|
KeyDomain string
|
|
KeyPath string
|
|
CtxUserID string
|
|
CtxAccountID string
|
|
CtxIDInt int64
|
|
CtxQuizID int64
|
|
CtxQuestionID int64
|
|
}
|
|
|
|
type InfoAccountCreated struct {
|
|
CtxUserID string //айдишник юзера из токена
|
|
CtxAccountID string // айдишник свежесозданного аккаунта
|
|
}
|
|
type InfoQuizCreated struct {
|
|
CtxUserID string //айдишник юзера из токена
|
|
CtxIDInt int64 //айдишник создаваемого квиза
|
|
}
|
|
type InfoQuizPublish struct { // если статус меняется на start
|
|
CtxUserID string //айдишник юзера из токена
|
|
CtxIDInt int64 //айдишник публикуемого квиза
|
|
}
|
|
type InfoQuizDelete struct { // если квиз удаляется
|
|
CtxUserID string //айдишник юзера из токена
|
|
CtxIDInt int64 //айдишник удаляемого квиза
|
|
}
|
|
type InfoQuizStop struct { // если статус меняется на stop
|
|
CtxUserID string //айдишник юзера из токена
|
|
CtxIDInt int64 //айдишник останавливаемого квиза
|
|
}
|
|
type InfoQuizTemplateCopy struct {
|
|
CtxUserID string //айдишник юзера из токена
|
|
CtxIDInt int64 //айдишник копируемого квиза
|
|
CtxQuizID int64 // айдишник опроса после копирования
|
|
}
|
|
type InfoQuestionCreate struct {
|
|
CtxUserID string //айдишник юзера из токена
|
|
CtxIDInt int64 //айдишник останавливаемого квиза
|
|
CtxQuestionID int64 // айдишник вопроса
|
|
}
|
|
type InfoQuestionDelete struct {
|
|
CtxUserID string //айдишник юзера из токена
|
|
CtxIDInt int64 //айдишник останавливаемого квиза
|
|
CtxQuestionID int64 // айдишник вопроса
|
|
}
|