mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-03-16 18:54:43 +08:00
10 lines
199 B
Go
10 lines
199 B
Go
![]() |
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"`
|
||
|
}
|