blt/models/benchmark.go

16 lines
230 B
Go

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