Added models; started working on project routes
This commit is contained in:
13
models/hardware.go
Normal file
13
models/hardware.go
Normal file
@ -0,0 +1,13 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
type Hardware struct {
|
||||
gorm.Model
|
||||
Name string
|
||||
Type string
|
||||
SerialNumber string
|
||||
Description string
|
||||
}
|
Reference in New Issue
Block a user