Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Currency ¶
type Currency struct { ID int64 `xorm:"id bigint autoincr pk"` CID string `xorm:"cid varchar(255) notnull unique"` Name string `xorm:"name varchar(255) notnull"` Symbol string `xorm:"symbol varchar(255) notnull"` Description string `xorm:"description text notnull"` ReleaseTime int `xorm:"release_time int notnull"` Site string `xorm:"site varchar(255) notnull"` Type int `xorm:"type tinyint notnull"` ParentCID string `xorm:"parent_cid varchar(255) notnull"` Rank int `xorm:"rank int notnull"` CreatedTime time.Time `xorm:"created_time created notnull"` UpdatedTime time.Time `xorm:"updated_time updated notnull"` DeletedTime time.Time `xorm:"deleted_time deleted default null"` }
type CurrencyExchangeRate ¶
type CurrencyExchangeRate struct { ID int64 `xorm:"id bigint autoincr pk"` Timestamp int `xorm:"timestamp int notnull unique"` USD float64 `xorm:"usd double notnull"` CNY float64 `xorm:"cny double notnull"` EUR float64 `xorm:"eur double notnull"` JPY float64 `xorm:"jpy double notnull"` KRW float64 `xorm:"krw double notnull"` }
func (CurrencyExchangeRate) TableName ¶
func (t CurrencyExchangeRate) TableName() string
Click to show internal directories.
Click to hide internal directories.