1234567891011121314151617181920212223242526272829303132333435363738 |
- // Code generated by gorm.io/gen. DO NOT EDIT.
- // Code generated by gorm.io/gen. DO NOT EDIT.
- // Code generated by gorm.io/gen. DO NOT EDIT.
- package model
- import (
- "time"
- "gorm.io/gorm"
- )
- const TableNameSopNode = "sop_node"
- // SopNode mapped from table <sop_node>
- type SopNode struct {
- ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
- CreatedAt time.Time `gorm:"column:created_at;not null;comment:Create Time | 创建日期" json:"created_at"` // Create Time | 创建日期
- UpdatedAt time.Time `gorm:"column:updated_at;not null;comment:Update Time | 修改日期" json:"updated_at"` // Update Time | 修改日期
- Status int64 `gorm:"column:status;default:1;comment:状态 1 正常 2 禁用" json:"status"` // 状态 1 正常 2 禁用
- DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;comment:Delete Time | 删除日期" json:"deleted_at"` // Delete Time | 删除日期
- StageID int64 `gorm:"column:stage_id;comment:阶段 ID" json:"stage_id"` // 阶段 ID
- ParentID int64 `gorm:"column:parent_id;comment:父节点 ID" json:"parent_id"` // 父节点 ID
- Name string `gorm:"column:name;comment:节点名称" json:"name"` // 节点名称
- ConditionType int64 `gorm:"column:condition_type;default:1;comment:触发条件类型 1 客户回复后触发 2 超时后触发" json:"condition_type"` // 触发条件类型 1 客户回复后触发 2 超时后触发
- ConditionList string `gorm:"column:condition_list;comment:触发语义列表 当为空时则代表用户回复任意内容后触发" json:"condition_list"` // 触发语义列表 当为空时则代表用户回复任意内容后触发
- NoReplyCondition int64 `gorm:"column:no_reply_condition;comment:超时触发时间(分钟)" json:"no_reply_condition"` // 超时触发时间(分钟)
- ActionMessage string `gorm:"column:action_message;comment:命中后发送的消息内容" json:"action_message"` // 命中后发送的消息内容
- ActionLabelAdd string `gorm:"column:action_label_add;comment:命中后需要打的标签" json:"action_label_add"` // 命中后需要打的标签
- ActionForward string `gorm:"column:action_forward;comment:命中后转发的消息" json:"action_forward"` // 命中后转发的消息
- NoReplyUnit string `gorm:"column:no_reply_unit;comment:超时触发时间单位" json:"no_reply_unit"` // 超时触发时间单位
- ActionLabelDel string `gorm:"column:action_label_del;comment:命中后需要打的标签" json:"action_label_del"` // 命中后需要打的标签
- }
- // TableName SopNode's table name
- func (*SopNode) TableName() string {
- return TableNameSopNode
- }
|