OSDN Git Service

rename dir (#283)
[bytom/vapor.git] / toolbar / federation / database / orm / chain.go
1 package orm
2
3 import (
4         "github.com/vapor/toolbar/federation/types"
5 )
6
7 type Chain struct {
8         ID          uint64 `gorm:"primary_key"`
9         Name        string
10         BlockHeight uint64
11         BlockHash   string
12         CreatedAt   types.Timestamp
13         UpdatedAt   types.Timestamp
14 }