package models

import (
	"github.com/jinzhu/gorm"
)

// RuleNode 规则链中的节点
type RuleNode struct {
	gorm.Model
	RecordId       string `gorm:"column:record_id;size:32;index"`
	RuleChainID    string `gorm:"column:rule_chain_id;size:32;index"` //关联rulechain id
	AdditionalInfo string `gorm:"column:additional_info;size:255;"`   //附加属性信息
	Configuration  string `gorm:"column:configuration;size:1024;"`    //配置信息
	Type           string `gorm:"column:type;size:200"`               //类型
	Name           string `gorm:"column:name;size:200"`               //名称
	DebugModel     bool   `gorm:"column:debug_model"`                 //调试模式
	Intro          string `gorm:"column:intro;size:1024"`             //描述
}
