portal/db/models/sc_price_history.go

18 lines
237 B
Go
Raw Normal View History

2024-03-10 16:41:42 +00:00
package models
import (
"time"
"gorm.io/gorm"
)
func init() {
registerModel(&SCPriceHistory{})
}
type SCPriceHistory struct {
gorm.Model
CreatedAt time.Time `gorm:"index:idx_rate"`
Rate float64 `gorm:"index:idx_rate"`
}