Files
nkode-core/sqlc/models.go
2025-02-13 07:37:06 -06:00

110 lines
2.0 KiB
Go

// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.27.0
package sqlc
import (
"database/sql"
"time"
)
type AuthorizationCode struct {
ID int64
Code string
CodeChallenge string
CodeChallengeMethod string
UserID string
ClientID string
Scope sql.NullString
RedirectUri string
CreatedAt sql.NullTime
ExpiresAt time.Time
UsedAt sql.NullTime
}
type Client struct {
ID string
Name string
Owner string
CreatedAt sql.NullTime
}
type ClientApproval struct {
ID int64
UserID string
ClientID string
}
type ClientRedirect struct {
ID int64
Uri string
ClientID string
CreatedAt sql.NullTime
}
type Customer struct {
ID string
MaxNkodeLen int64
MinNkodeLen int64
DistinctSets int64
DistinctAttributes int64
LockOut int64
Expiration int64
AttributeValues []byte
SetValues []byte
LastRenew string
CreatedAt string
}
type Session struct {
ID string
UserID string
CreatedAt sql.NullTime
ExpiresAt time.Time
}
type SvgIcon struct {
ID int64
Svg string
}
type Token struct {
ID int64
TokenType string
TokenValue string
UserID string
ClientID string
Scope sql.NullString
CreatedAt sql.NullTime
ExpiresAt time.Time
}
type User struct {
ID string
Email string
Renew int64
RefreshToken sql.NullString
CustomerID string
Code string
Mask string
AttributesPerKey int64
NumberOfKeys int64
AlphaKey []byte
SetKey []byte
PassKey []byte
MaskKey []byte
Salt []byte
MaxNkodeLen int64
IdxInterface []byte
SvgIDInterface []byte
LastLogin interface{}
CreatedAt sql.NullString
}
type UserPermission struct {
ID int64
UserID string
Permission string
}