package entity import ( "customer-server/consts/scriptedSpeech" "gitea.redpowerfuture.com/red-future/common/beans" ) type scriptedSpeechCol struct { beans.SQLBaseCol DatasetId string SceneType string QuestionContent string } var ScriptedSpeechCol = scriptedSpeechCol{ SQLBaseCol: beans.DefSQLBaseCol, DatasetId: "dataset_id", SceneType: "scene_type", QuestionContent: "question_content", } type ScriptedSpeech struct { beans.SQLBaseDO `orm:",inline"` DatasetId int64 `orm:"dataset_id" json:"datasetId" dc:"数据集ID"` SceneType scriptedSpeech.SceneType `orm:"scene_type" json:"sceneType" dc:"场景类型"` QuestionContent string `orm:"question_content" json:"questionContent" dc:"问题内容"` }