wx_card.gen.go 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. "gorm.io/gorm"
  8. )
  9. const TableNameWxCard = "wx_card"
  10. // WxCard 名片表
  11. type WxCard struct {
  12. ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
  13. CreatedAt time.Time `gorm:"column:created_at;not null;comment:Create Time | 创建日期" json:"created_at"` // Create Time | 创建日期
  14. UpdatedAt time.Time `gorm:"column:updated_at;not null;comment:Update Time | 修改日期" json:"updated_at"` // Update Time | 修改日期
  15. DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;comment:Delete Time | 删除日期" json:"deleted_at"` // Delete Time | 删除日期
  16. UserID int64 `gorm:"column:user_id;not null;comment:use表ID" json:"user_id"` // use表ID
  17. WxUserID int64 `gorm:"column:wx_user_id;not null;comment:wx表ID" json:"wx_user_id"` // wx表ID
  18. Avatar string `gorm:"column:avatar;comment:头像" json:"avatar"` // 头像
  19. Logo string `gorm:"column:logo;comment:Logo" json:"logo"` // Logo
  20. Name string `gorm:"column:name;comment:名称" json:"name"` // 名称
  21. Company string `gorm:"column:company;comment:公司" json:"company"` // 公司
  22. Address string `gorm:"column:address;comment:地址" json:"address"` // 地址
  23. Phone string `gorm:"column:phone;comment:手机号" json:"phone"` // 手机号
  24. OfficialAccount string `gorm:"column:official_account;comment:公众号" json:"official_account"` // 公众号
  25. WechatAccount string `gorm:"column:wechat_account;comment:微信号" json:"wechat_account"` // 微信号
  26. Email string `gorm:"column:email;comment:邮箱" json:"email"` // 邮箱
  27. APIBase string `gorm:"column:api_base;comment:fastgpt-base" json:"api_base"` // fastgpt-base
  28. APIKey string `gorm:"column:api_key;comment:fastgpt-key" json:"api_key"` // fastgpt-key
  29. AiInfo string `gorm:"column:ai_info;comment:AI信息" json:"ai_info"` // AI信息
  30. Intro string `gorm:"column:intro;comment:简介" json:"intro"` // 简介
  31. }
  32. // TableName WxCard's table name
  33. func (*WxCard) TableName() string {
  34. return TableNameWxCard
  35. }