新增获取终端数量统计,任务统计
This commit is contained in:
27
internal/model/statistic.go
Normal file
27
internal/model/statistic.go
Normal file
@ -0,0 +1,27 @@
|
||||
package model
|
||||
|
||||
import "github.com/gogf/gf/v2/os/gtime"
|
||||
|
||||
type StoreClients struct {
|
||||
Id int64 `json:"id" orm:"id" description:"客户机ID"` // 客户机ID
|
||||
StoreId int64 `json:"storeId" orm:"store_id" description:"所属门店ID"` // 所属门店ID
|
||||
ClientName string `json:"clientName" orm:"client_name" description:"客户机名称"` // 客户机名称
|
||||
Status int `json:"status" orm:"status" description:"状态:1=空闲,2=禁用,3=上机中等"` // 状态:1=空闲,2=禁用,3=上机中等
|
||||
AreaId int64 `json:"areaId" orm:"area_id" description:"所属区域ID"` // 所属区域ID
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""` //
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""` //
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:""` //
|
||||
}
|
||||
|
||||
type GetOnlineDeviceOut struct {
|
||||
TerminalTotal int64 `json:"terminalTotal"`
|
||||
OnlineTerminalTotal int64 `json:"onlineTerminalTotal"`
|
||||
StartTimes int64 `json:"startTimes"`
|
||||
TaskTimes int64 `json:"taskTimes"`
|
||||
TaskCompletedTotal int64 `json:"taskCompletedTotal"`
|
||||
}
|
||||
|
||||
type GetOnlineDeviceIn struct {
|
||||
NetbarAccount string `json:"netbarAccount"`
|
||||
StoreId int64 `json:"storeId"`
|
||||
}
|
||||
Reference in New Issue
Block a user