mismatch_records.gen.go 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // Code generated by gorm.io/gen. DO NOT EDIT.
  2. // Code generated by gorm.io/gen. DO NOT EDIT.
  3. // Code generated by gorm.io/gen. DO NOT EDIT.
  4. package model
  5. import (
  6. "time"
  7. )
  8. const TableNameMismatchRecord = "mismatch_records"
  9. // MismatchRecord mapped from table <mismatch_records>
  10. type MismatchRecord struct {
  11. ID string `gorm:"column:id;primaryKey;comment:主键id" json:"id"` // 主键id
  12. ExternalID string `gorm:"column:external_id;not null;comment:外部id" json:"external_id"` // 外部id
  13. IndustryType int64 `gorm:"column:industry_type;not null;comment:评分规则代码 0 通用 1 教育" json:"industry_type"` // 评分规则代码 0 通用 1 教育
  14. ChatHistory string `gorm:"column:chat_history;not null;comment:通话记录" json:"chat_history"` // 通话记录
  15. Missed string `gorm:"column:missed;not null;comment:未匹配内容" json:"missed"` // 未匹配内容
  16. Ignore int64 `gorm:"column:ignore;not null;comment:0 自动过滤(默认) 1 手动标记忽略 2 不忽略强制分析" json:"ignore"` // 0 自动过滤(默认) 1 手动标记忽略 2 不忽略强制分析
  17. LlmIgnore int64 `gorm:"column:llm_ignore;not null;comment:0 未过滤 1被忽略 2未被忽略" json:"llm_ignore"` // 0 未过滤 1被忽略 2未被忽略
  18. OrgID int64 `gorm:"column:org_id;not null;comment:机构 ID" json:"org_id"` // 机构 ID
  19. Status int64 `gorm:"column:status;not null;comment:状态 1 入库 2 已判断 3 已回调" json:"status"` // 状态 1 入库 2 已判断 3 已回调
  20. IgnoreResponseData string `gorm:"column:ignore_response_data" json:"ignore_response_data"`
  21. RequestData string `gorm:"column:request_data" json:"request_data"`
  22. ResponseData string `gorm:"column:response_data" json:"response_data"`
  23. CreatedAt time.Time `gorm:"column:created_at;default:CURRENT_TIMESTAMP;comment:Create Time | 创建日期" json:"created_at"` // Create Time | 创建日期
  24. UpdatedAt time.Time `gorm:"column:updated_at;default:CURRENT_TIMESTAMP;comment:Update Time | 修改日期" json:"updated_at"` // Update Time | 修改日期
  25. UserIntent string `gorm:"column:user_intent;comment:针对未匹配内容,推理用户的真实目的" json:"user_intent"` // 针对未匹配内容,推理用户的真实目的
  26. SimilarReply string `gorm:"column:similar_reply;comment:针对未匹配内容,生成类似的回复" json:"similar_reply"` // 针对未匹配内容,生成类似的回复
  27. Keywords string `gorm:"column:keywords;comment:生成辅助关键词" json:"keywords"` // 生成辅助关键词
  28. Regular string `gorm:"column:regular;comment:生成辅助正则表达式" json:"regular"` // 生成辅助正则表达式
  29. }
  30. // TableName MismatchRecord's table name
  31. func (*MismatchRecord) TableName() string {
  32. return TableNameMismatchRecord
  33. }