Files
36Wisdom/biz/model/entity/entity_scene_node.go
T
2026-08-14 16:11:10 +08:00

22 lines
1.0 KiB
Go

package entity
// SceneNode 情境节点:决策节点或终局节点,构成关卡决策树。
type SceneNode struct {
Id int64 `json:"id" orm:"id"`
LevelId int64 `json:"level_id" orm:"level_id"`
Title string `json:"title" orm:"title"`
CharacterId int64 `json:"character_id" orm:"character_id"`
Content string `json:"content" orm:"content"`
ContentPinyin string `json:"content_pinyin" orm:"content_pinyin"`
Image string `json:"image" orm:"image"`
Audio string `json:"audio" orm:"audio"`
NodeType int `json:"node_type" orm:"node_type"`
InteractionType int `json:"interaction_type" orm:"interaction_type"`
Config string `json:"config" orm:"config"`
Script string `json:"script" orm:"script"`
ResultType int `json:"result_type" orm:"result_type"`
IsEntry int `json:"is_entry" orm:"is_entry"`
SortOrder int `json:"sort_order" orm:"sort_order"`
Status int `json:"status" orm:"status"`
}