rule_chain.go 505 B

12345678910111213141516171819202122232425262728293031323334
  1. package ruleEngine
  2. type EntityType int
  3. const (
  4. ruleChan EntityType = iota
  5. )
  6. type RuleChain struct {
  7. TenantId string
  8. Name string
  9. FirstNodeId string
  10. IsRoot bool
  11. IsDebug bool
  12. Config string
  13. ChainId string
  14. }
  15. type RuleNode struct {
  16. RuleChainId string
  17. Type string
  18. Name string
  19. IsDebug bool
  20. Config string
  21. RuleNodeId string
  22. }
  23. type Relation struct {
  24. From string
  25. To string
  26. Type string
  27. AdditionalInfo string
  28. }