update fieldRule

This commit is contained in:
Pavel 2024-05-07 16:37:24 +03:00
parent edeece4bfb
commit e34ea9c230

@ -151,10 +151,10 @@ type Rule struct {
}
type Fieldsrule struct {
Lead []FieldRule `json:"Lead"`
Contact []FieldRule `json:"Contact"`
Company []FieldRule `json:"Company"`
Customer []FieldRule `json:"Customer"`
Lead []FieldRule `json:"Lead"`
Contact []ContactRules `json:"Contact"`
Company []FieldRule `json:"Company"`
Customer []FieldRule `json:"Customer"`
}
type FieldRule struct {
@ -162,6 +162,11 @@ type FieldRule struct {
Questionid map[int]int `json:"QuestionID"` // ключ id вопроса значение id астомного поля
}
type ContactRules struct {
// ключ имя, значение id кастомного поля
ContactRuleMap map[string]int
}
type UTM struct {
/* - айдишник в нашей системе Primary Key*/
ID int64 `json:"ID"`