Files
customer-server/model/entity/scripted_speech.go

31 lines
829 B
Go

package entity
import (
"gitea.com/red-future/common/beans"
)
type scriptedSpeechCol struct {
beans.SQLBaseCol
AccountId string
DatasetId string
QuestionContent string
AnswerContent string
}
var ScriptedSpeechCol = scriptedSpeechCol{
SQLBaseCol: beans.DefSQLBaseCol,
AccountId: "account_id",
DatasetId: "dataset_id",
QuestionContent: "question_content",
AnswerContent: "answer_content",
}
type ScriptedSpeech struct {
beans.SQLBaseDO `orm:",inline"`
AccountId int64 `orm:"account_id" json:"accountId" dc:"账号ID"`
DatasetId int64 `orm:"dataset_id" json:"datasetId" dc:"数据集ID"`
QuestionContent string `orm:"question_content" json:"questionContent" dc:"问题内容"`
AnswerContent string `orm:"answer_content" json:"answerContent" dc:"回答内容"`
}