mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-05 10:28:59 +08:00
26 lines
574 B
Go
26 lines
574 B
Go
package dto
|
|
|
|
type GroupCreate 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 GroupUpdate struct {
|
|
ID uint `json:"id"`
|
|
Name string `json:"name"`
|
|
Type string `json:"type" validate:"required"`
|
|
IsDefault bool `json:"isDefault"`
|
|
}
|
|
|
|
type GroupInfo struct {
|
|
ID uint `json:"id"`
|
|
Name string `json:"name"`
|
|
Type string `json:"type"`
|
|
IsDefault bool `json:"isDefault"`
|
|
}
|