// Code generated by sqlc. DO NOT EDIT.
// versions:
//   sqlc v1.30.0

package db

import (
	"time"
)

type Bot struct {
	ID             string         `json:"id"`
	Username       string         `json:"username"`
	Avatar         *string        `json:"avatar"`
	Overview       *string        `json:"overview"`
	Description    *string        `json:"description"`
	IsSlash        bool           `json:"is_slash"`
	InstallContext InstallContext `json:"install_context"`
	GuildCount     *int32         `json:"guild_count"`
	InstallCount   *int32         `json:"install_count"`
	ImportedFrom   *string        `json:"imported_from"`
	Prefix         *string        `json:"prefix"`
	CreatedAt      *time.Time     `json:"created_at"`
	UpdatedAt      *time.Time     `json:"updated_at"`
	Status         BotStatus      `json:"status"`
	MainOwnerID    *string        `json:"main_owner_id"`
}

type BotCoOwner struct {
	BotID  string `json:"bot_id"`
	UserID string `json:"user_id"`
}

type Session struct {
	ID        string     `json:"id"`
	UserID    string     `json:"user_id"`
	CreatedAt *time.Time `json:"created_at"`
	ExpiresAt time.Time  `json:"expires_at"`
	Revoked   bool       `json:"revoked"`
}

type User struct {
	ID        string  `json:"id"`
	Username  string  `json:"username"`
	Biography *string `json:"biography"`
}

type Vote struct {
	UserID  string    `json:"user_id"`
	BotID   string    `json:"bot_id"`
	VotedAt time.Time `json:"voted_at"`
}
