fin-check-api/db/metric.go

15 lines
158 B
Go
Raw Permalink Normal View History

2024-11-19 09:12:28 +01:00
package db
import "gorm.io/gorm"
type Metric struct {
gorm.Model
Value uint8
Name string
Short string
}
func (m Metric) GetID() uint {
return m.ID
}