// 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" "gorm.io/gorm" ) const TableNameWxCardVisit = "wx_card_visit" // WxCardVisit 名片访问记录表 type WxCardVisit struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` CreatedAt time.Time `gorm:"column:created_at;not null;comment:Create Time | 创建日期" json:"created_at"` // Create Time | 创建日期 UpdatedAt time.Time `gorm:"column:updated_at;not null;comment:Update Time | 修改日期" json:"updated_at"` // Update Time | 修改日期 DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;comment:Delete Time | 删除日期" json:"deleted_at"` // Delete Time | 删除日期 UserID int64 `gorm:"column:user_id;comment:访客 ID" json:"user_id"` // 访客 ID BotID int64 `gorm:"column:bot_id;comment:被访ID" json:"bot_id"` // 被访ID BotType int64 `gorm:"column:bot_type;comment:类型:1-微信 2-小程序 3-智能体" json:"bot_type"` // 类型:1-微信 2-小程序 3-智能体 } // TableName WxCardVisit's table name func (*WxCardVisit) TableName() string { return TableNameWxCardVisit }