20 lines
953 B
Go
20 lines
953 B
Go
package entity
|
|
|
|
// NodeOption 分支选项:行为文本 + 使用道具 + 指向下一节点 + 即时点评。
|
|
type NodeOption struct {
|
|
Id int64 `json:"id" orm:"id"`
|
|
NodeId int64 `json:"node_id" orm:"node_id"`
|
|
Text string `json:"text" orm:"text"`
|
|
TextPinyin string `json:"text_pinyin" orm:"text_pinyin"`
|
|
PropId int64 `json:"prop_id" orm:"prop_id"`
|
|
Audio string `json:"audio" orm:"audio"`
|
|
NextNodeId int64 `json:"next_node_id" orm:"next_node_id"`
|
|
Feedback string `json:"feedback" orm:"feedback"`
|
|
FeedbackPinyin string `json:"feedback_pinyin" orm:"feedback_pinyin"`
|
|
FeedbackPros string `json:"feedback_pros" orm:"feedback_pros"`
|
|
FeedbackCons string `json:"feedback_cons" orm:"feedback_cons"`
|
|
FeedbackAudio string `json:"feedback_audio" orm:"feedback_audio"`
|
|
SortOrder int `json:"sort_order" orm:"sort_order"`
|
|
Status int `json:"status" orm:"status"`
|
|
}
|