userThird.go 366 B

12345678910111213
  1. package model
  2. type UserThird struct {
  3. IdModel
  4. UserId uint `json:"user_id" gorm:"not null;index"`
  5. OpenId string `json:"open_id" gorm:"not null;index"`
  6. UnionId string `json:"union_id" gorm:"not null;"`
  7. ThirdType string `json:"third_type" gorm:"not null;"`
  8. ThirdEmail string `json:"third_email"`
  9. ThirdName string `json:"third_name"`
  10. TimeModel
  11. }