2025-03-05 14:21:06 +08:00
|
|
|
package dto
|
|
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
|
|
type ScriptInfo struct {
|
2025-05-06 18:09:37 +08:00
|
|
|
ID uint `json:"id"`
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
|
IsInteractive bool `json:"isInteractive"`
|
|
|
|
|
Lable string `json:"lable"`
|
|
|
|
|
Script string `json:"script"`
|
|
|
|
|
GroupList []uint `json:"groupList"`
|
|
|
|
|
GroupBelong []string `json:"groupBelong"`
|
|
|
|
|
IsSystem bool `json:"isSystem"`
|
|
|
|
|
Description string `json:"description"`
|
|
|
|
|
CreatedAt time.Time `json:"createdAt"`
|
2025-03-05 14:21:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ScriptOperate struct {
|
2025-05-06 18:09:37 +08:00
|
|
|
ID uint `json:"id"`
|
|
|
|
|
IsInteractive bool `json:"isInteractive"`
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
|
Script string `json:"script"`
|
|
|
|
|
Groups string `json:"groups"`
|
|
|
|
|
Description string `json:"description"`
|
2025-03-05 14:21:06 +08:00
|
|
|
}
|