add leadTargetType to model
This commit is contained in:
parent
b6ef236e9c
commit
5d83fbbd5e
@ -309,11 +309,19 @@ type AnswerExport struct {
|
|||||||
type UTMSavingMap map[string]string
|
type UTMSavingMap map[string]string
|
||||||
|
|
||||||
type LeadTarget struct {
|
type LeadTarget struct {
|
||||||
ID int64 `json:"id"`
|
ID int64 `json:"id"`
|
||||||
AccountID string `json:"accountID"`
|
AccountID string `json:"accountID"`
|
||||||
Type string `json:"type"`
|
Type LeadTargetType `json:"type"`
|
||||||
QuizID int32 `json:"quizID"`
|
QuizID int32 `json:"quizID"`
|
||||||
Target string `json:"target"`
|
Target string `json:"target"`
|
||||||
Deleted bool `json:"deleted"`
|
Deleted bool `json:"deleted"`
|
||||||
CreatedAt time.Time `json:"createdAt"`
|
CreatedAt time.Time `json:"createdAt"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type LeadTargetType string
|
||||||
|
|
||||||
|
const (
|
||||||
|
LeadTargetEmail LeadTargetType = "mail"
|
||||||
|
LeadTargetTg LeadTargetType = "telegram"
|
||||||
|
LeadTargetTgWhatsapp LeadTargetType = "whatsapp"
|
||||||
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user