amocrm/internal/models/pipeline.go
2024-04-16 22:10:53 +03:00

21 lines
780 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 {
// айдишник в нашей системе Primary Key
ID int `json:"ID"`
/* - айдишник воронки в амо*/
Amoid int `json:"AmoID"`
/* - связь с аккаунтом в интеграции амо id аккаунта в амо*/
AccountID int `json:"AccountID"`
/* - название воронки в амо*/
Name string `json:"Name"`
/* - флаг архивной воронки в амо*/
Isarchive bool `json:"IsArchive"`
/* - флаг мягкого удаления*/
Deleted bool `json:"Deleted"`
/* - таймштамп создания воронки в нашей системе*/
Createdat int64 `json:"CreatedAt"`
// время обновления
UpdateAt int64 `json:"UpdateAt"`
}