// 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" ) const TableNameRecord = "records" // Record mapped from table type Record struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` CreatedAt time.Time `gorm:"column:created_at;not null;default:CURRENT_TIMESTAMP;comment:Create Time | 创建日期" json:"created_at"` // Create Time | 创建日期 UpdatedAt time.Time `gorm:"column:updated_at;not null;default:CURRENT_TIMESTAMP;comment:Update Time | 修改日期" json:"updated_at"` // Update Time | 修改日期 Body string `gorm:"column:body;comment:获取原始数据" json:"body"` // 获取原始数据 StaffNo string `gorm:"column:staff_no;comment:坐席工号" json:"staff_no"` // 坐席工号 Caller string `gorm:"column:caller;comment:主叫号码" json:"caller"` // 主叫号码 Callee string `gorm:"column:callee;comment:被叫号码" json:"callee"` // 被叫号码 RecordFile string `gorm:"column:record_file;comment:录音文件" json:"record_file"` // 录音文件 Session string `gorm:"column:session;comment:通话标识" json:"session"` // 通话标识 AliTrans string `gorm:"column:ali_trans;comment:阿里语音识别原始结果" json:"ali_trans"` // 阿里语音识别原始结果 AliTaskID string `gorm:"column:ali_task_id;comment:阿里语音识别任务ID" json:"ali_task_id"` // 阿里语音识别任务ID Chats string `gorm:"column:chats;comment:提取的对话记录" json:"chats"` // 提取的对话记录 UserIntent string `gorm:"column:user_intent;comment:判断的用户意图" json:"user_intent"` // 判断的用户意图 Basis string `gorm:"column:basis;comment:用户意图命中的原始文本" json:"basis"` // 用户意图命中的原始文本 Accept int64 `gorm:"column:accept;comment:用户是否接受邀请 0 未判断 1 接受 2 不接受" json:"accept"` // 用户是否接受邀请 0 未判断 1 接受 2 不接受 } // TableName Record's table name func (*Record) TableName() string { return TableNameRecord }