052425970a
CI / changes (push) Successful in 40s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 24s
CI / chore (push) Successful in 23s
CI / equipment (push) Successful in 1s
CI / express (push) Successful in 0s
CI / factory (push) Successful in 0s
CI / payment (push) Successful in 1s
CI / product (push) Successful in 0s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 23s
CI / task (push) Successful in 0s
CI / user (push) Successful in 24s
CI / wecom (push) Successful in 0s
13 lines
599 B
Go
13 lines
599 B
Go
package dao
|
|
|
|
type UserCredential struct {
|
|
Id int64 `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
|
|
UserId int64 `gorm:"column:user_id" json:"user_id"`
|
|
CredentialType string `gorm:"column:credential_type" json:"credential_type"`
|
|
Identifier string `gorm:"column:identifier" json:"identifier"`
|
|
Secret string `gorm:"column:secret" json:"secret"`
|
|
SubjectType string `gorm:"column:subject_type" json:"subject_type"`
|
|
ExtraJson string `gorm:"column:extra_json;type:json" json:"extra_json"`
|
|
Status uint8 `gorm:"column:status" json:"status"`
|
|
}
|