OSDN Git Service

rename (#465)
[bytom/vapor.git] / toolbar / federation / database / orm / asset.go
1 package orm
2
3 import (
4         "github.com/bytom/vapor/toolbar/common"
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       common.Timestamp `json:"-"`
14         UpdatedAt       common.Timestamp `json:"-"`
15 }