OSDN Git Service

mv timestamp type def
[bytom/vapor.git] / toolbar / federation / database / orm / chain.go
1 package orm
2
3 import (
4         "github.com/vapor/toolbar/common"
5 )
6
7 type Chain struct {
8         ID          uint64           `gorm:"primary_key" json:"-"`
9         Name        string           `json:"name"`
10         BlockHeight uint64           `json:"block_height"`
11         BlockHash   string           `json:"block_hash"`
12         CreatedAt   common.Timestamp `json:"-"`
13         UpdatedAt   common.Timestamp `json:"-"`
14 }