amocrm/internal/models/pipeline.go
2024-04-11 18:08:54 +03:00

21 lines
829 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package models
type Pipeline struct {
// id в квизе
ID string `json:"ID" bson:"id"`
/* - связь с аккаунтом в интеграции амо*/
AccountID int `json:"AccountID" bson:"accountID"`
/* - айдишник воронки в амо*/
Amoid int `json:"AmoID" bson:"amoid"`
/* - название воронки в амо*/
Name string `json:"Name" bson:"name"`
/* - флаг архивной воронки в амо*/
Isarchive bool `json:"IsArchive" bson:"isarchive"`
/* - флаг мягкого удаления*/
Deleted bool `json:"Deleted" bson:"deleted"`
/* - таймштамп создания воронки в нашей системе*/
Createdat int64 `json:"CreatedAt" bson:"createdat"`
// время обновления
UpdateAt int64 `json:"UpdateAt" bson:"updateAt"`
}