2022-08-31 18:38:31 +08:00
|
|
|
package models
|
|
|
|
|
|
|
|
var _ Model = (*ExternalAuth)(nil)
|
|
|
|
|
|
|
|
type ExternalAuth struct {
|
|
|
|
BaseModel
|
|
|
|
|
2022-10-30 16:28:14 +08:00
|
|
|
CollectionId string `db:"collectionId" json:"collectionId"`
|
|
|
|
RecordId string `db:"recordId" json:"recordId"`
|
|
|
|
Provider string `db:"provider" json:"provider"`
|
|
|
|
ProviderId string `db:"providerId" json:"providerId"`
|
2022-08-31 18:38:31 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ExternalAuth) TableName() string {
|
|
|
|
return "_externalAuths"
|
|
|
|
}
|