package store import "gorm.io/gorm" type TronAccount struct { gorm.Model AccountID string `gorm:"unique" json:"account_id"` Label string `json:"label"` Address string `gorm:"unique" json:"address"` HDIndex int `gorm:"unique" json:"hd_index"` Spender string `json:"spender"` } func (a *TronAccount) GetAccountID() string { return a.AccountID } func (a *TronAccount) GetHDIndex() int { return a.HDIndex } func (a *TronAccount) GetAddress() string { return a.Address } func (a *TronAccount) GetSpender() string { return a.Spender } func (a *TronAccount) GetLabel() string { return a.Label }