Files
epic-go/internal/model/entity/system_oauth_2_access_token.go
hu xiaotong 85e3a6540b init
2025-06-20 17:17:02 +08:00

29 lines
2.0 KiB
Go

// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// SystemOauth2AccessToken is the golang structure for table system_oauth2_access_token.
type SystemOauth2AccessToken struct {
Id int64 `json:"id" orm:"id" description:"编号"` // 编号
UserId int64 `json:"userId" orm:"user_id" description:"用户编号"` // 用户编号
UserType int `json:"userType" orm:"user_type" description:"用户类型"` // 用户类型
UserInfo string `json:"userInfo" orm:"user_info" description:"用户信息"` // 用户信息
AccessToken string `json:"accessToken" orm:"access_token" description:"访问令牌"` // 访问令牌
RefreshToken string `json:"refreshToken" orm:"refresh_token" description:"刷新令牌"` // 刷新令牌
ClientId string `json:"clientId" orm:"client_id" description:"客户端编号"` // 客户端编号
Scopes string `json:"scopes" orm:"scopes" description:"授权范围"` // 授权范围
ExpiresTime *gtime.Time `json:"expiresTime" orm:"expires_time" description:"过期时间"` // 过期时间
Creator string `json:"creator" orm:"creator" description:"创建者"` // 创建者
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
Updater string `json:"updater" orm:"updater" description:"更新者"` // 更新者
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
Deleted bool `json:"deleted" orm:"deleted" description:"是否删除"` // 是否删除
TenantId int64 `json:"tenantId" orm:"tenant_id" description:"租户编号"` // 租户编号
}