alai-server/backend/models/level.go

10 lines
166 B
Go
Raw Normal View History

2022-06-29 21:26:05 -04:00
package models
import "gorm.io/gorm"
type Level struct {
gorm.Model
ID uint64 `json:"ID" gorm:"primaryKey"`
2023-02-07 23:31:06 -03:00
Name string `json:"name" gorm:"unique;not null"`
2022-06-29 21:26:05 -04:00
}