28 lines
1.4 KiB
Go
28 lines
1.4 KiB
Go
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"`
|
||
}
|