Files
pokeval/models/structs.go
2025-04-28 00:04:14 +02:00

33 lines
862 B
Go

package models
import "encoding/json"
type Card struct {
ID int `json:"id"`
Number string `json:"number"`
Name string `json:"name"`
Attributes map[string]interface{} `json:"attributes"`
}
type Auction struct {
ID int `json:"id"`
CardID int `json:"card_id"`
Price float64 `json:"price"`
Currency string `json:"currency"`
Platform string `json:"platform"`
DateSold string `json:"date_sold"`
Link string `json:"link"`
Attributes map[string]json.RawMessage `json:"attributes"`
}
type Factors struct {
GF float64
RF float64
EF float64
ST float64
DF float64
AF float64
MF float64
TAF float64
}