1Panel/backend/app/dto/command.go
2022-12-14 17:47:03 +08:00

14 lines
295 B
Go

package dto
type CommandOperate struct {
ID uint `json:"id"`
Name string `json:"name" validate:"required"`
Command string `json:"command" validate:"required"`
}
type CommandInfo struct {
ID uint `json:"id"`
Name string `json:"name"`
Command string `json:"command"`
}