OSDN Git Service

rename dir (#283)
[bytom/vapor.git] / toolbar / federation / database / orm / asset.go
1 package orm
2
3 import (
4         "github.com/vapor/toolbar/federation/types"
5 )
6
7 type Asset struct {
8         ID              uint64          `gorm:"primary_key;foreignkey:ID" json:"-"`
9         AssetID         string          `json:"asset_id"`
10         IssuanceProgram string          `json:"-"`
11         VMVersion       uint64          `json:"-"`
12         Definition      string          `json:"-"`
13         CreatedAt       types.Timestamp `json:"-"`
14         UpdatedAt       types.Timestamp `json:"-"`
15 }