platform_account_info.go 1.5 KB

1234567891011121314151617181920212223242526
  1. // Code generated by sql2gorm. DO NOT EDIT.
  2. package gorm_model
  3. import (
  4. "time"
  5. )
  6. type YoungeePlatformAccountInfo struct {
  7. AccountID int `gorm:"column:account_id;primary_key;AUTO_INCREMENT"`
  8. TalentID string `gorm:"column:talent_id;NOT NULL"` // 达人账号id(youngee_talent_info表id值)
  9. PlatformID int64 `gorm:"column:platform_id;NOT NULL"` // 平台id,与third_platform_info中的id相同
  10. PlatformNickname string `gorm:"column:platform_nickname;NOT NULL"` // 在平台上的昵称
  11. PlatformType string `gorm:"column:platform_type"` // 标签及类型
  12. HomePageUrl string `gorm:"column:home_page_url;NOT NULL"` // 主页链接
  13. FansCount int64 `gorm:"column:fans_count;NOT NULL"` // 粉丝数
  14. HomePageCaptureUrl string `gorm:"column:home_page_capture_url;NOT NULL"` // 主页截图链接
  15. BindDate time.Time `gorm:"column:bind_date;NOT NULL"` // 绑定时间
  16. Deleted int `gorm:"column:deleted;default:0"` // 是否被解绑
  17. UpdatedAt time.Time `gorm:"column:updated_at"` // 更新时间
  18. UpdatedPerson int `gorm:"column:updated_person"` // 更新人,0代表本人,1代表管理员
  19. UpdatedAdminID string `gorm:"column:updated_admin_id"` // 上一次更新的管理员id
  20. }
  21. func (m *YoungeePlatformAccountInfo) TableName() string {
  22. return "youngee_platform_account_info"
  23. }