mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-15 09:18:59 +08:00
14 lines
295 B
Go
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"`
|
|
}
|