mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-06 01:50:25 +08:00
实现集群看板
This commit is contained in:
26
internal/db/models/server_stat_board_chart_model.go
Normal file
26
internal/db/models/server_stat_board_chart_model.go
Normal file
@@ -0,0 +1,26 @@
|
||||
package models
|
||||
|
||||
// ServerStatBoardChart 服务看板中的图表
|
||||
type ServerStatBoardChart struct {
|
||||
Id uint64 `field:"id"` // ID
|
||||
BoardId uint64 `field:"boardId"` // 看板ID
|
||||
Code string `field:"code"` // 内置图表代码
|
||||
ItemId uint32 `field:"itemId"` // 指标ID
|
||||
ChartId uint32 `field:"chartId"` // 图表ID
|
||||
Order uint32 `field:"order"` // 排序
|
||||
State uint8 `field:"state"` // 状态
|
||||
}
|
||||
|
||||
type ServerStatBoardChartOperator struct {
|
||||
Id interface{} // ID
|
||||
BoardId interface{} // 看板ID
|
||||
Code interface{} // 内置图表代码
|
||||
ItemId interface{} // 指标ID
|
||||
ChartId interface{} // 图表ID
|
||||
Order interface{} // 排序
|
||||
State interface{} // 状态
|
||||
}
|
||||
|
||||
func NewServerStatBoardChartOperator() *ServerStatBoardChartOperator {
|
||||
return &ServerStatBoardChartOperator{}
|
||||
}
|
||||
Reference in New Issue
Block a user