// 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 TableNameXunjiContact = "xunji_contact" // XunjiContact mapped from table type XunjiContact 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 | 修改日期 Status int64 `gorm:"column:status;default:1;comment:Status 1: normal 2: ban | 状态 1 正常 2 禁用" json:"status"` // Status 1: normal 2: ban | 状态 1 正常 2 禁用 DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;comment:Delete Time | 删除日期" json:"deleted_at"` // Delete Time | 删除日期 RobotID string `gorm:"column:robot_id;comment:机器人ID" json:"robot_id"` // 机器人ID AccountID string `gorm:"column:account_id;comment:客户ID" json:"account_id"` // 客户ID Nickname string `gorm:"column:nickname;comment:昵称" json:"nickname"` // 昵称 Avatar string `gorm:"column:avatar;comment:头像" json:"avatar"` // 头像 } // TableName XunjiContact's table name func (*XunjiContact) TableName() string { return TableNameXunjiContact }