Files
sonr/pkg/gateway/orm/models.go
T

99 lines
2.0 KiB
Go
Raw Normal View History

2024-12-16 15:29:54 -05:00
// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.27.0
2024-12-19 00:48:42 +00:00
package orm
2024-12-16 15:29:54 -05:00
import (
2024-12-18 15:53:45 -05:00
"github.com/jackc/pgx/v5/pgtype"
2024-12-16 15:29:54 -05:00
)
type Account struct {
ID string
2024-12-18 15:53:45 -05:00
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
DeletedAt pgtype.Timestamptz
2024-12-16 15:29:54 -05:00
Number int64
2024-12-18 15:53:45 -05:00
Sequence int32
2024-12-16 15:29:54 -05:00
Address string
PublicKey string
ChainID string
Controller string
IsSubsidiary bool
IsValidator bool
IsDelegator bool
IsAccountable bool
}
type Asset struct {
ID string
2024-12-18 15:53:45 -05:00
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
DeletedAt pgtype.Timestamptz
2024-12-16 15:29:54 -05:00
Name string
Symbol string
2024-12-18 15:53:45 -05:00
Decimals int32
2024-12-16 15:29:54 -05:00
ChainID string
Channel string
AssetType string
2024-12-18 15:53:45 -05:00
CoingeckoID pgtype.Text
2024-12-16 15:29:54 -05:00
}
type Credential struct {
2024-12-18 15:53:45 -05:00
ID string
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
DeletedAt pgtype.Timestamptz
2024-12-16 15:29:54 -05:00
Handle string
CredentialID string
AuthenticatorAttachment string
Origin string
Type string
Transports string
}
type Profile struct {
2024-12-18 15:53:45 -05:00
ID string
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
DeletedAt pgtype.Timestamptz
2024-12-16 15:29:54 -05:00
Address string
Handle string
Origin string
Name string
}
type Session struct {
ID string
2024-12-18 15:53:45 -05:00
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
DeletedAt pgtype.Timestamptz
2024-12-16 15:29:54 -05:00
BrowserName string
BrowserVersion string
ClientIpaddr string
Platform string
IsDesktop bool
IsMobile bool
IsTablet bool
IsTv bool
IsBot bool
Challenge string
IsHumanFirst bool
IsHumanLast bool
2024-12-18 15:53:45 -05:00
ProfileID string
2024-12-16 15:29:54 -05:00
}
type Vault struct {
ID int64
2024-12-18 15:53:45 -05:00
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
DeletedAt pgtype.Timestamptz
2024-12-16 15:29:54 -05:00
Handle string
Origin string
Address string
Cid string
2024-12-18 15:53:45 -05:00
Config []byte
SessionID int64
2024-12-16 15:29:54 -05:00
RedirectUri string
}