alai-server/backend/models/os.go

10 lines
170 B
Go
Raw Normal View History

2022-06-29 21:26:05 -04:00
package models
import "gorm.io/gorm"
type OS struct {
gorm.Model
ID uint64 `json:"ID" gorm:"primaryKey"`
Name string `json:"name" gorm:"unique;size:8;not null"`
}