2024-09-22 12:12:17 +00:00
|
|
|
package models
|
|
|
|
|
|
|
|
type StepsResponse struct {
|
|
|
|
Result []Steps `json:"result"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type Steps struct {
|
|
|
|
ID string `json:"ID"`
|
|
|
|
EntityID string `json:"ENTITY_ID"`
|
|
|
|
StatusID string `json:"STATUS_ID"`
|
|
|
|
Name string `json:"NAME"`
|
|
|
|
NameInit string `json:"NAME_INIT,omitempty"`
|
|
|
|
Sort string `json:"SORT"`
|
|
|
|
System string `json:"SYSTEM"`
|
|
|
|
Color string `json:"COLOR,omitempty"`
|
|
|
|
Semantics string `json:"SEMANTICS,omitempty"`
|
|
|
|
CategoryID string `json:"CATEGORY_ID"`
|
|
|
|
Extra Extra `json:"EXTRA,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type Extra struct {
|
|
|
|
Semantics string `json:"SEMANTICS,omitempty"`
|
|
|
|
Color string `json:"COLOR,omitempty"`
|
|
|
|
}
|
2024-09-23 14:46:46 +00:00
|
|
|
|
|
|
|
type TypeStepsEntityID string
|
|
|
|
|
|
|
|
const (
|
|
|
|
StatusStepsEntityID TypeStepsEntityID = "STATUS"
|
|
|
|
DealTypeStepsEntityID TypeStepsEntityID = "DEAL_TYPE"
|
|
|
|
DealStageStepsEntityID TypeStepsEntityID = "DEAL_STAGE"
|
|
|
|
SourceStepsEntityID TypeStepsEntityID = "SOURCE"
|
|
|
|
)
|