This commit is contained in:
XM-GO
2023-07-03 17:49:41 +08:00
parent 89e3b4fd55
commit 85f4f328f4
3 changed files with 28 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ import (
type VisualRuleChainBase struct {
UserId string `gorm:"userId;type:varchar(64);comment:用户Id" json:"userId"`
RuleId string `gorm:"primary_key;" json:"ruleId"`
Root bool `gorm:"root;comment:根链" json:"root"`
RuleName string `gorm:"ruleName;type:varchar(50);comment:名称" json:"ruleName"`
RuleBase64 string `gorm:"ruleBase64;type:longtext;comment:Base64缩略图" json:"ruleBase64"` //缩略图 base64
RuleRemark string `gorm:"ruleRemark;type:varchar(256);comment:说明" json:"ruleRemark"`