project_account.go 1.4 KB

12345678910111213141516171819202122232425
  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 int `gorm:"column:platform_id;NOT NULL"` // 平台id,与third_platform_info中的id相同
  10. PlatformNickname string `gorm:"column:platform_nickname;NOT NULL"` // 在平台上的昵称
  11. HomePageUrl string `gorm:"column:home_page_url;NOT NULL"` // 主页链接
  12. FansCount int64 `gorm:"column:fans_count;NOT NULL"` // 粉丝数
  13. HomePageCaptureUrl string `gorm:"column:home_page_capture_url;NOT NULL"` // 主页截图链接
  14. BindDate time.Time `gorm:"column:bind_date;NOT NULL"` // 绑定时间
  15. Deleted int `gorm:"column:deleted;default:0"` // 是否被解绑
  16. UpdatedAt time.Time `gorm:"column:updated_at"` // 更新时间
  17. UpdatedPerson int `gorm:"column:updated_person"` // 更新人,0代表本人,1代表管理员
  18. UpdatedAdminID int `gorm:"column:updated_admin_id"` // 上一次更新的管理员id
  19. }
  20. func (m *YoungeePlatformAccountInfo) TableName() string {
  21. return "youngee_platform_account_info"
  22. }