Files
blt/models/benchmark.go
Gregory Ballantine 008a6a5c72
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
[Issue #11] - added ability to create new benchmark settings profiles
2025-10-22 00:58:32 -04:00

22 lines
311 B
Go

package models
import (
"strconv"
"gorm.io/gorm"
)
type Benchmark struct {
gorm.Model
Name string
ScoringType string
Description string
// one-to-many BenchmarkProfiles
BenchmarkProfiles []BenchmarkProfile
}
func (b *Benchmark) StringID() string {
return strconv.Itoa(int(b.ID))
}