mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 01:41:44 +00:00
49 lines
833 B
Go
49 lines
833 B
Go
// Code generated from Pkl module `vault`. DO NOT EDIT.
|
|||
|
|
package vault
|
||
|
|
|
||
|
|
type Chain interface {
|
||
|
|
Model
|
||
|
|
|
||
|
|
GetId() uint
|
||
|
|
|
||
|
|
GetName() string
|
||
|
|
|
||
|
|
GetNetworkId() string
|
||
|
|
|
||
|
|
GetCreatedAt() *string
|
||
|
|
}
|
||
|
|
|
||
|
|
var _ Chain = (*ChainImpl)(nil)
|
||
|
|
|
||
|
|
type ChainImpl struct {
|
||
|
|
Table string `pkl:"table"`
|
||
|
|
|
||
|
|
Id uint `pkl:"id" gorm:"primaryKey" json:"id,omitempty"`
|
||
|
|
|
||
|
|
Name string `pkl:"name" json:"name,omitempty"`
|
||
|
|
|
||
|
|
NetworkId string `pkl:"networkId" json:"networkId,omitempty"`
|
||
|
|
|
||
|
|
CreatedAt *string `pkl:"createdAt" json:"createdAt,omitempty"`
|
||
|
|
}
|
||
|
|
|
||
|
|
func (rcv *ChainImpl) GetTable() string {
|
||
|
|
return rcv.Table
|
||
|
|
}
|
||
|
|
|
||
|
|
func (rcv *ChainImpl) GetId() uint {
|
||
|
|
return rcv.Id
|
||
|
|
}
|
||
|
|
|
||
|
|
func (rcv *ChainImpl) GetName() string {
|
||
|
|
return rcv.Name
|
||
|
|
}
|
||
|
|
|
||
|
|
func (rcv *ChainImpl) GetNetworkId() string {
|
||
|
|
return rcv.NetworkId
|
||
|
|
}
|
||
|
|
|
||
|
|
func (rcv *ChainImpl) GetCreatedAt() *string {
|
||
|
|
return rcv.CreatedAt
|
||
|
|
}
|