platform_kuaishou_user_info.go 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. // Code generated by sql2gorm. DO NOT EDIT.
  2. package entity
  3. import (
  4. "time"
  5. )
  6. type PlatformKuaishouUserInfo struct {
  7. ID int64 `gorm:"column:id;primary_key"` // id
  8. OpenId string `gorm:"column:open_id;NOT NULL"`
  9. PlatformId int64 `gorm:"column:platform_id;NOT NULL"`
  10. TalentId string `gorm:"column:talent_id;NOT NULL"`
  11. Code string `gorm:"column:code;NOT NULL"`
  12. AccessToken string `gorm:"column:access_token;NOT NULL"`
  13. RefreshToken string `gorm:"column:refresh_token;NOT NULL"`
  14. NickName string `gorm:"column:nick_name;NOT NULL"`
  15. HeadUri string `gorm:"column:head_uri;NOT NULL"`
  16. Fan string `gorm:"column:fan;NOT NULL"`
  17. Expired int64 `gorm:"column:expired"`
  18. SaleNumTotal int64 `gorm:"column:sale_num_total;NOT NULL"`
  19. SaleNum30day int64 `gorm:"column:sale_num_30day;NOT NULL"`
  20. CreateTime time.Time `gorm:"column:create_time;NOT NULL"`
  21. UpdateTime time.Time `gorm:"column:update_time;NOT NULL"`
  22. IsDelete int64 `gorm:"column:is_delete;NOT NULL"`
  23. LikeNum int64 `gorm:"column:like_num;NOT NULL"`
  24. VideoNum int64 `gorm:"column:video_num;NOT NULL"`
  25. City string `gorm:"column:city"`
  26. }
  27. func (m *PlatformKuaishouUserInfo) TableName() string {
  28. return "platform_kuaishou_user_info"
  29. }