OSDN Git Service

34917c620b61ef92c7bcea2e987768f04e372734
[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         IsOpenFederationIssue bool             `json:"_"`
14         CreatedAt             common.Timestamp `json:"-"`
15         UpdatedAt             common.Timestamp `json:"-"`
16 }