Added result creation route

This commit is contained in:
Gregory Ballantine
2024-05-29 11:40:42 -04:00
parent fa92321176
commit 958c72ee63
5 changed files with 82 additions and 16 deletions

View File

@ -6,18 +6,19 @@ import (
type Result struct {
gorm.Model
Name string
Description string
AverageScore float
MinimumScore float
MaximumScore float
// belongs to Hardware
HardwareID int
Hardware Hardware
HardwareID int
Hardware Hardware
// belongs to Benchmark
BenchmarkID int
Benchmark Benchmark
BenchmarkID int
Benchmark Benchmark
// belongs to Test
TestID int
Test Test
TestID int
Test Test
}