feat: server group api

This commit is contained in:
naiba committed 2024-10-21 23:00:51 +08:00
1 parent 5efd995992
commit 9c08ebe956
9 files changed
+223 -43

No files matched your search

+2 -2
View File
@@ -2,6 +2,6 @@ package model
type ServerGroupServer struct {
Common
ServerGroupId uint64 `json:"server_group_id"`
ServerId uint64 `json:"server_id"`
ServerGroupId uint64 `json:"server_group_id" gorm:"uniqueIndex:idx_server_group_server"`
ServerId uint64 `json:"server_id" gorm:"uniqueIndex:idx_server_group_server"`
}