// 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 TableNameFormRecord = "form_records" // FormRecord mapped from table type FormRecord struct { ID string `gorm:"column:id;primaryKey;comment:主键id" json:"id"` // 主键id ExternalID string `gorm:"column:external_id;not null;comment:外部id" json:"external_id"` // 外部id IndustryType int64 `gorm:"column:industry_type;not null;comment:评分规则代码 0 通用 1 教育" json:"industry_type"` // 评分规则代码 0 通用 1 教育 ChatHistory string `gorm:"column:chat_history;not null;comment:通话记录" json:"chat_history"` // 通话记录 FormData string `gorm:"column:form_data;comment:表单数据" json:"form_data"` // 表单数据 FormValue string `gorm:"column:form_value;comment:表单结果" json:"form_value"` // 表单结果 OrgID int64 `gorm:"column:org_id;not null;comment:机构 ID" json:"org_id"` // 机构 ID Status int64 `gorm:"column:status;not null;comment:状态 1 入库 2 已判断 3 已回调" json:"status"` // 状态 1 入库 2 已判断 3 已回调 RequestData string `gorm:"column:request_data" json:"request_data"` ResponseData string `gorm:"column:response_data" json:"response_data"` CreatedAt time.Time `gorm:"column:created_at;default:CURRENT_TIMESTAMP;comment:Create Time | 创建日期" json:"created_at"` // Create Time | 创建日期 UpdatedAt time.Time `gorm:"column:updated_at;default:CURRENT_TIMESTAMP;comment:Update Time | 修改日期" json:"updated_at"` // Update Time | 修改日期 } // TableName FormRecord's table name func (*FormRecord) TableName() string { return TableNameFormRecord }