18 lines
213 B
Go
18 lines
213 B
Go
package models
|
|
|
|
import (
|
|
"gorm.io/gorm"
|
|
)
|
|
|
|
type Hardware struct {
|
|
gorm.Model
|
|
Name string
|
|
Type string
|
|
|
|
// has many tests
|
|
Tests []Test
|
|
|
|
// has many results
|
|
Results []Result
|
|
}
|