blt/models/benchmark.go

16 lines
230 B
Go
Raw Normal View History

package models
import (
"gorm.io/gorm"
)
type Benchmark struct {
gorm.Model
2023-12-02 22:16:16 -05:00
Name string
ScoringType string
Description string
2023-12-02 22:16:16 -05:00
// many-to-many test
Tests[] Test `gorm:"many2many:tests_benchmarks;"`
}