This repository has been archived on 2022-11-04. You can view files and clone it, but cannot push or open issues/pull-requests.
2017-10-06 02:56:06 +04:00
|
|
|
|
// 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"`
|
2017-10-07 02:23:25 +04:00
|
|
|
|
Name string `db:"name"`
|
2017-10-06 02:56:06 +04:00
|
|
|
|
Description string `db:"description"`
|
|
|
|
|
Attack int `db:"attack"`
|
2017-10-07 02:23:25 +04:00
|
|
|
|
HP int `db:"hp"`
|
2017-10-06 02:56:06 +04:00
|
|
|
|
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"`
|
2017-10-07 02:23:25 +04:00
|
|
|
|
Created_at time.Time `db:"created_at"`
|
2017-10-06 02:56:06 +04:00
|
|
|
|
}
|