mirror of https://github.com/1Panel-dev/1Panel
18 lines
343 B
Go
18 lines
343 B
Go
package dto
|
|
|
|
type GroupOperate struct {
|
|
ID uint `json:"id"`
|
|
Name string `json:"name" validate:"required"`
|
|
Type string `json:"type" validate:"required"`
|
|
}
|
|
|
|
type GroupSearch struct {
|
|
Type string `json:"type" validate:"required"`
|
|
}
|
|
|
|
type GroupInfo struct {
|
|
ID uint `json:"id"`
|
|
Name string `json:"name"`
|
|
Type string `json:"type"`
|
|
}
|