1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 16:29:17 +08:00
1Panel/backend/app/dto/command.go

14 lines
295 B
Go
Raw Normal View History

package dto
2022-09-01 10:25:38 +08:00
type CommandOperate struct {
ID uint `json:"id"`
Name string `json:"name" validate:"required"`
Command string `json:"command" validate:"required"`
}
type CommandInfo struct {
2022-09-01 10:25:38 +08:00
ID uint `json:"id"`
Name string `json:"name"`
Command string `json:"command"`
}