1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-03-16 18:54:43 +08:00
1Panel/backend/app/model/group.go

10 lines
199 B
Go
Raw Normal View History

package model
import "gorm.io/gorm"
type Group struct {
gorm.Model
Name string `gorm:"type:varchar(64);not null" json:"name"`
Type string `gorm:"type:varchar(16);unique;not null" json:"type"`
}