fix(rule): add type and default fields to rule group model and update related logic

This commit is contained in:
Chang lue Tsen
2025-07-16 12:46:47 -04:00
committed by Leif Draven
parent 94d316ec52
commit 979e39b9e5
4 changed files with 8 additions and 2 deletions
+2
View File
@@ -1560,9 +1560,11 @@ type ServerRuleGroup struct {
Id int64 `json:"id"`
Icon string `json:"icon"`
Name string `json:"name" validate:"required"`
Type string `json:"type"`
Tags []string `json:"tags"`
Rules string `json:"rules"`
Enable bool `json:"enable"`
Default bool `json:"default"`
CreatedAt int64 `json:"created_at"`
UpdatedAt int64 `json:"updated_at"`
}