OSDN Git Service

8b92987f43041079fa94f63943adb938e2652f77
[bytom/vapor.git] / federation / database / orm / chain.go
1 package orm
2
3 import (
4         "github.com/vapor/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 }