package vo import "laic-backend/common" // CommandReq 指令下发请求 type CommandReq struct { Type string `json:"type" validate:"required,max=64"` // dock.open / drone.takeoff / workflow.start_task Params map[string]any `json:"params"` DroneSN string `json:"droneSn" validate:"max=32"` TTLMs int `json:"ttlMs"` } // CommandPageReq 指令历史分页查询 type CommandPageReq struct { common.Pagination Status string `json:"status" form:"status"` // sent / acked / timeout / terminal CommandType string `json:"commandType" form:"commandType"` DockID string `json:"dockId" form:"dockId"` Keyword string `json:"keyword" form:"keyword"` }