package models

import (
	"time"
)

type Played struct {
	Song int
}

type VersionData struct {
	Version   string        `json:"version" example:"1.0.0swagger.yaml"`
	Changelog string        `json:"changelog" example:"account name"`
	History   []VersionData `json:"history"`
}

type SongInfo struct {
	Game             string `json:"Game"`
	GamePlayed       int    `json:"GamePlayed"`
	Song             string `json:"Song"`
	SongPlayed       int    `json:"SongPlayed"`
	CurrentlyPlaying bool   `json:"CurrentlyPlaying"`
	SongNo           int    `json:"SongNo"`
}

type GameData struct {
	Id            int
	GameName      string
	Added         time.Time
	Deleted       time.Time
	LastChanged   time.Time
	Path          string
	TimesPlayed   int
	LastPlayed    time.Time
	NumberOfSongs int32
}

type SongData struct {
	GameId      int
	SongName    string
	Path        string
	TimesPlayed int
	FileName    string
}

type SongListData struct {
	MatchDate time.Time
	MatchId   int
	SongNo    int
	GameName  string
	SongName  string
}

type VgmqData struct {
	SongNo   int
	Path     string
	Clue     string
	Answered bool
	Answer   string
}
