wx_card_user.gen.go 2.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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 TableNameWxCardUser = "wx_card_user"
  10. // WxCardUser 微信用户表
  11. type WxCardUser 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. Wxid string `gorm:"column:wxid;not null;comment:微信id" json:"wxid"` // 微信id
  17. Account string `gorm:"column:account;comment:微信账号" json:"account"` // 微信账号
  18. Nickname string `gorm:"column:nickname;comment:微信昵称" json:"nickname"` // 微信昵称
  19. Remark string `gorm:"column:remark;comment:备注名" json:"remark"` // 备注名
  20. Avatar string `gorm:"column:avatar;comment:头像" json:"avatar"` // 头像
  21. Phone string `gorm:"column:phone;comment:手机号" json:"phone"` // 手机号
  22. OpenID string `gorm:"column:open_id;comment:OpenId" json:"open_id"` // OpenId
  23. UnionID string `gorm:"column:union_id;comment:UnionId" json:"union_id"` // UnionId
  24. SessionKey string `gorm:"column:session_key;comment:SessionKey" json:"session_key"` // SessionKey
  25. IsVip int64 `gorm:"column:is_vip;comment:是否VIP:0-否 1-是" json:"is_vip"` // 是否VIP:0-否 1-是
  26. }
  27. // TableName WxCardUser's table name
  28. func (*WxCardUser) TableName() string {
  29. return TableNameWxCardUser
  30. }