package models type Ammeter struct { BoxId string `gorm:"column:boxId"` StandaloneId int `gorm:"column:standaloneId"` MsTotalElec interface{} `gorm:"column:msTotalElec"` } func (Ammeter) TableName() string { return "btk_runstat_ammeter" }