mirror of
https://github.com/nezhahq/nezha.git
synced 2025-03-15 18:18:14 -04:00
10 lines
259 B
Go
10 lines
259 B
Go
![]() |
package model
|
||
|
|
||
|
type Oauth2Bind struct {
|
||
|
Common
|
||
|
|
||
|
UserID uint64 `gorm:"uniqueIndex:u_p_o" json:"user_id,omitempty"`
|
||
|
Provider string `gorm:"uniqueIndex:u_p_o" json:"provider,omitempty"`
|
||
|
OpenID string `gorm:"uniqueIndex:u_p_o" json:"open_id,omitempty"`
|
||
|
}
|