31 lines
910 B
Go
31 lines
910 B
Go
package entity
|
|
|
|
import "gitea.redpowerfuture.com/red-future/common/beans"
|
|
|
|
type ComposeSession struct {
|
|
beans.SQLBaseDO `orm:",inline"`
|
|
SessionId string `orm:"session_id" json:"sessionId"`
|
|
NodeId string `orm:"node_id" json:"nodeId"`
|
|
RequestContent map[string]any `orm:"request_content" json:"requestContent"`
|
|
ResponseContent map[string]any `orm:"response_content" json:"responseContent"`
|
|
Remark string `orm:"remark" json:"remark"`
|
|
}
|
|
|
|
type composeSessionCol struct {
|
|
beans.SQLBaseCol
|
|
SessionId string
|
|
NodeId string
|
|
RequestContent string
|
|
ResponseContent string
|
|
Remark string
|
|
}
|
|
|
|
var ComposeSessionCol = composeSessionCol{
|
|
SQLBaseCol: beans.DefSQLBaseCol,
|
|
SessionId: "session_id",
|
|
NodeId: "node_id",
|
|
RequestContent: "request_content",
|
|
ResponseContent: "response_content",
|
|
Remark: "remark",
|
|
}
|