add contact quiz config struct

This commit is contained in:
Pavel 2024-05-07 17:08:33 +03:00
parent 8f231d8033
commit 7b58bc46fa

@ -167,6 +167,26 @@ type ContactRules struct {
ContactRuleMap map[string]int
}
type QuizContact struct {
FormContact struct {
Fields struct {
Name ContactField `json:"name"`
Email ContactField `json:"email"`
Phone ContactField `json:"phone"`
Text ContactField `json:"text"`
Address ContactField `json:"address"`
} `json:"fields"`
} `json:"formContact"`
}
type ContactField struct {
Text string `json:"text"`
InnerText string `json:"innerText"`
Key string `json:"key"`
Required bool `json:"required"`
Used bool `json:"used"`
}
type UTM struct {
/* - айдишник в нашей системе Primary Key*/
ID int64 `json:"ID"`