Reminders for league. Now just reminders, without attack button
This commit is contained in:
16
lib/dbmapping/alarms.go
Normal file
16
lib/dbmapping/alarms.go
Normal file
@@ -0,0 +1,16 @@
|
||||
// i2_bot – Instinct PokememBro Bot
|
||||
// Copyright (c) 2017 Vladimir "fat0troll" Hodakov
|
||||
|
||||
package dbmapping
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// Alarm is a struct, which represents `alarms` table item in databse.
|
||||
type Alarm struct {
|
||||
ID int `db:"id"`
|
||||
PlayerID int `db:"player_id"`
|
||||
TurnirNumber int `db:"turnir_number"` // From 1 to 12
|
||||
CreatedAt time.Time `db:"created_at"`
|
||||
}
|
Reference in New Issue
Block a user