mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-03 16:00:25 +08:00
18 lines
408 B
Go
18 lines
408 B
Go
package entity
|
|
|
|
import "time"
|
|
|
|
type OAuthAccount struct {
|
|
Id uint64 `json:"id"`
|
|
|
|
AccountId uint64 `json:"accountId" gorm:"column:account_id;index:account_id,unique"`
|
|
Identity string `json:"identity" gorm:"column:identity;index:identity,unique"`
|
|
|
|
CreateTime *time.Time `json:"createTime"`
|
|
UpdateTime *time.Time `json:"updateTime"`
|
|
}
|
|
|
|
func (OAuthAccount) TableName() string {
|
|
return "t_oauth_account"
|
|
}
|