2024-05-29 11:25:45 -04:00
|
|
|
package models
|
|
|
|
|
|
|
|
import (
|
|
|
|
"gorm.io/gorm"
|
|
|
|
)
|
|
|
|
|
2024-05-29 11:26:17 -04:00
|
|
|
type Result struct {
|
2024-05-29 11:25:45 -04:00
|
|
|
gorm.Model
|
2024-05-29 11:41:53 -04:00
|
|
|
AverageScore float32
|
|
|
|
MinimumScore float32
|
|
|
|
MaximumScore float32
|
2024-05-29 11:25:45 -04:00
|
|
|
|
|
|
|
// belongs to Hardware
|
2024-05-29 11:40:42 -04:00
|
|
|
HardwareID int
|
|
|
|
Hardware Hardware
|
2024-05-29 11:25:45 -04:00
|
|
|
|
|
|
|
// belongs to Benchmark
|
2024-05-29 11:40:42 -04:00
|
|
|
BenchmarkID int
|
|
|
|
Benchmark Benchmark
|
2024-05-29 11:25:45 -04:00
|
|
|
|
|
|
|
// belongs to Test
|
2024-05-29 11:40:42 -04:00
|
|
|
TestID int
|
|
|
|
Test Test
|
2024-05-29 11:25:45 -04:00
|
|
|
}
|