OSDN Git Service

rename node.host to node.ip
[bytom/vapor.git] / toolbar / precog / database / orm / node.go
1 package orm
2
3 import (
4         "time"
5 )
6
7 type Node struct {
8         ID                       uint16 `gorm:"primary_key"`
9         Alias                    string
10         Xpub                     string
11         PublicKey                string
12         IP                       string
13         Port                     uint16
14         BestHeight               uint64
15         LatestDailyUptimeMinutes uint64
16         CreatedAt                time.Time
17         UpdatedAt                time.Time
18 }