1234567891011121314151617181920212223242526272829303132333435363738394041 |
- // 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 TableNameWxCard = "wx_card"
- // WxCard 名片表
- type WxCard 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;not null;comment:use表ID" json:"user_id"` // use表ID
- WxUserID int64 `gorm:"column:wx_user_id;not null;comment:wx表ID" json:"wx_user_id"` // wx表ID
- Avatar string `gorm:"column:avatar;comment:头像" json:"avatar"` // 头像
- Logo string `gorm:"column:logo;comment:Logo" json:"logo"` // Logo
- Name string `gorm:"column:name;comment:名称" json:"name"` // 名称
- Company string `gorm:"column:company;comment:公司" json:"company"` // 公司
- Address string `gorm:"column:address;comment:地址" json:"address"` // 地址
- Phone string `gorm:"column:phone;comment:手机号" json:"phone"` // 手机号
- OfficialAccount string `gorm:"column:official_account;comment:公众号" json:"official_account"` // 公众号
- WechatAccount string `gorm:"column:wechat_account;comment:微信号" json:"wechat_account"` // 微信号
- Email string `gorm:"column:email;comment:邮箱" json:"email"` // 邮箱
- APIBase string `gorm:"column:api_base;comment:fastgpt-base" json:"api_base"` // fastgpt-base
- APIKey string `gorm:"column:api_key;comment:fastgpt-key" json:"api_key"` // fastgpt-key
- AiInfo string `gorm:"column:ai_info;comment:AI信息" json:"ai_info"` // AI信息
- Intro string `gorm:"column:intro;comment:简介" json:"intro"` // 简介
- }
- // TableName WxCard's table name
- func (*WxCard) TableName() string {
- return TableNameWxCard
- }
|