feat: 添加数据库配置和相关模型定义
This commit is contained in:
14
model/entity/scripted_speech.go
Normal file
14
model/entity/scripted_speech.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package entity
|
||||
|
||||
import (
|
||||
"gitea.com/red-future/common/beans"
|
||||
)
|
||||
|
||||
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:"回答内容"`
|
||||
}
|
||||
Reference in New Issue
Block a user