22 lines
367 B
Go
22 lines
367 B
Go
|
package models
|
||
|
|
||
|
type CompanyReq struct {
|
||
|
Fields CompanyFields `json:"fields"`
|
||
|
}
|
||
|
|
||
|
type CompanyFields struct {
|
||
|
Title string `json:"TITLE"`
|
||
|
AssignedByID int64 `json:"ASSIGNED_BY_ID"`
|
||
|
Opened string `json:"OPENED"`
|
||
|
}
|
||
|
|
||
|
type CompanyResp struct {
|
||
|
ID int32 `json:"result"`
|
||
|
}
|
||
|
|
||
|
type CompanyType string
|
||
|
|
||
|
const (
|
||
|
CompanyTypeCustomer CompanyType = "customer"
|
||
|
)
|