amocrm/internal/models/tag.go
2024-04-08 11:20:10 +03:00

21 lines
808 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 Tag struct {
/* - таймштамп создания тега в нашей системе*/
Createdat int `json:"CreatedAt"`
/* - флаг мягкого удаления*/
Deleted bool `json:"Deleted"`
/* - сущность, к которой принадлежит этот тег. Наверное, стоит сделать через enum в базе*/
Entity string `json:"Entity"`
/* - айдишник в нашей системе*/
ID int `json:"ID"`
/* - название тега в амо*/
Name string `json:"Name"`
/* - связь с аккаунтом в интеграции амо*/
Accountid string `json:"AccountID"`
/* - айдишник тега в амо*/
Amoid int `json:"AmoID"`
/* - цвет тега в амо*/
Color string `json:"Color"`
}