Added result model; added form to submit results

This commit is contained in:
2025-07-14 13:53:50 -04:00
parent 346b9e3911
commit b93c8a5319
3 changed files with 59 additions and 1 deletions

23
models/result.go Normal file
View File

@ -0,0 +1,23 @@
package models
import (
"gorm.io/gorm"
)
type Test struct {
gorm.Model
Name string
Description string
// belongs to Hardware
HardwareID int
Hardware Hardware
// belongs to Benchmark
BenchmarkID int
Benchmark Benchmark
// belongs to Test
TestID int
Test Test
}