package model

type APIError struct {
	ErrorCode    int    `json:"errorCode"`
	ErrorMessage string `json:"message"`
}

type APIOK struct {
	Code    int         `json:"code"`
	Message string      `json:"message"`
	Data    interface{} `json:"data"`
}

type APIRET struct {
	Ret bool `json:"result"`
}

type APICOUNT struct {
	Ret int64 `json:"result"`
}
type CoreShowChannelResVO struct {
	CallerIDName      string `json:"callerIDName"`
	CallerIDNum       string `json:"callerIDNumber"`
	Channel           string `json:"channel"`
	ConnectedLineName string `json:"connectedLineName"`
	ConnectedLineNum  string `json:"connectedLineNumber"`
	Duration          string `json:"duration"`
	DurationSecond    int    `json:"durationSecond"`
	ChannelStateDesc  string `json:"channelStateDesc"`
}
