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 LeadTarget struct {
|
||||
ID int64 `json:"id"`
|
||||
AccountID string `json:"accountID"`
|
||||
Type string `json:"type"`
|
||||
QuizID int32 `json:"quizID"`
|
||||
Target string `json:"target"`
|
||||
Deleted bool `json:"deleted"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
ID int64 `json:"id"`
|
||||
AccountID string `json:"accountID"`
|
||||
Type LeadTargetType `json:"type"`
|
||||
QuizID int32 `json:"quizID"`
|
||||
Target string `json:"target"`
|
||||
Deleted bool `json:"deleted"`
|
||||
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