tijl.dev-core/internal/queries/models.go

89 lines
1.5 KiB
Go
Raw Permalink Normal View History

2024-08-21 01:08:47 +02:00
// Code generated by sqlc. DO NOT EDIT.
// versions:
2024-08-31 17:42:51 +02:00
// sqlc v1.27.0
2024-08-21 01:08:47 +02:00
2024-08-22 14:58:43 +02:00
package queries
2024-08-21 01:08:47 +02:00
import (
"database/sql"
"time"
2024-08-25 17:43:55 +02:00
"github.com/google/uuid"
2024-08-21 01:08:47 +02:00
)
2024-08-25 17:43:55 +02:00
type AppFlagsGame struct {
GameID uuid.UUID
2024-08-26 20:28:20 +02:00
GameSeed uuid.UUID
2024-08-25 17:43:55 +02:00
Uid sql.NullString
Tags []string
2024-08-26 20:28:20 +02:00
Seconds int32
2024-08-25 17:43:55 +02:00
QuestionAmount int32
QuestionCurrent int32
2024-08-26 16:46:28 +02:00
QuestionsErrors int32
2024-08-25 17:43:55 +02:00
CreatedAt time.Time
LastActivity time.Time
}
type AppFlagsGamesAnswer struct {
2024-08-26 20:28:20 +02:00
GameID uuid.UUID
Question int32
Errors int32
CreatedAt time.Time
}
type AppFlagsGamesSharedDatum struct {
ID int32
2024-08-29 12:21:38 +02:00
Uid string
2024-08-26 20:28:20 +02:00
ShareKey string
GameSeed uuid.UUID
Questions int32
Tags []string
Seconds int32
CreatedAt time.Time
2024-08-25 17:43:55 +02:00
}
2024-08-29 12:21:38 +02:00
type AppUploaderFile struct {
ID uuid.UUID
Uid string
FileCrypto string
CreatedAt time.Time
Expire time.Time
MaxVisits int32
}
type AppUploaderFilesAccess struct {
FileID uuid.UUID
Uid sql.NullString
IpAddress string
Agent string
AccessTime time.Time
}
2024-08-21 01:08:47 +02:00
type Session struct {
ID int32
2024-08-21 17:31:03 +02:00
Uid string
2024-08-21 01:08:47 +02:00
Token string
Expires sql.NullTime
2024-08-21 17:31:03 +02:00
LastActivity time.Time
2024-08-21 01:08:47 +02:00
CreatedAt time.Time
}
type SessionIp struct {
ID int32
SessionID int32
2024-08-21 17:31:03 +02:00
IpAddress string
Agent string
AccessTime time.Time
2024-08-21 01:08:47 +02:00
}
type User struct {
2024-08-21 17:31:03 +02:00
ID int32
Uid string
Email string
EmailVerified bool
FullName string
Username string
CreatedAt time.Time
UpdatedAt time.Time
2024-08-21 01:08:47 +02:00
}