26 lines
835 B
Go
26 lines
835 B
Go
|
// i2_bot – Instinct PokememBro Bot
|
|||
|
// Copyright (c) 2017 Vladimir "fat0troll" Hodakov
|
|||
|
|
|||
|
package dbmappings
|
|||
|
|
|||
|
import (
|
|||
|
// stdlib
|
|||
|
"time"
|
|||
|
)
|
|||
|
|
|||
|
type Pokememes struct {
|
|||
|
Id int `db:"id"`
|
|||
|
Grade int `db:"grade"`
|
|||
|
Name string `db:"league_id"`
|
|||
|
Description string `db:"description"`
|
|||
|
Attack int `db:"attack"`
|
|||
|
HP int `db:"int"`
|
|||
|
MP int `db:"mp"`
|
|||
|
Defence int `db:"defence"`
|
|||
|
Price int `db:"price"`
|
|||
|
Purchaseable bool `db:"purchaseable"`
|
|||
|
Image_url string `db:"image_url"`
|
|||
|
Player_id int `db:"player_id"`
|
|||
|
Created_at *time.Time `db:"created_at"`
|
|||
|
}
|