60 lines
1.7 KiB
Go
60 lines
1.7 KiB
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.31.1
|
|
|
|
package repository
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/jackc/pgx/v5/pgtype"
|
|
)
|
|
|
|
type Session struct {
|
|
Token string `json:"token"`
|
|
IpAddress string `json:"ip_address"`
|
|
UserAgent string `json:"user_agent"`
|
|
ClientType *string `json:"client_type"`
|
|
ExpiresAt pgtype.Timestamptz `json:"expires_at"`
|
|
CreatedAt pgtype.Timestamptz `json:"created_at"`
|
|
}
|
|
|
|
type Song struct {
|
|
SoundtrackID int32 `json:"soundtrack_id"`
|
|
SongName string `json:"song_name"`
|
|
Path string `json:"path"`
|
|
TimesPlayed int32 `json:"times_played"`
|
|
Hash string `json:"hash"`
|
|
FileName *string `json:"file_name"`
|
|
ID pgtype.Int4 `json:"id"`
|
|
}
|
|
|
|
type SongList struct {
|
|
MatchDate time.Time `json:"match_date"`
|
|
MatchID int32 `json:"match_id"`
|
|
SongNo int32 `json:"song_no"`
|
|
SoundtrackName *string `json:"soundtrack_name"`
|
|
SongName *string `json:"song_name"`
|
|
}
|
|
|
|
type Soundtrack struct {
|
|
ID int32 `json:"id"`
|
|
SoundtrackName string `json:"soundtrack_name"`
|
|
Added time.Time `json:"added"`
|
|
Deleted *time.Time `json:"deleted"`
|
|
LastChanged *time.Time `json:"last_changed"`
|
|
Path string `json:"path"`
|
|
TimesPlayed int32 `json:"times_played"`
|
|
LastPlayed *time.Time `json:"last_played"`
|
|
NumberOfSongs int32 `json:"number_of_songs"`
|
|
Hash string `json:"hash"`
|
|
}
|
|
|
|
type Vgmq struct {
|
|
SongNo int32 `json:"song_no"`
|
|
Path *string `json:"path"`
|
|
Clue *string `json:"clue"`
|
|
Answered bool `json:"answered"`
|
|
Answer *string `json:"answer"`
|
|
}
|