mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-12 18:11:34 +08:00
26 lines
614 B
Go
26 lines
614 B
Go
package catalogue_dto
|
|
|
|
type CreateCatalogue struct {
|
|
Id string `json:"id"`
|
|
Name string `json:"name"`
|
|
Parent *string `json:"parent" aocheck:"catalogue"`
|
|
Sort *int `json:"sort"`
|
|
}
|
|
|
|
type EditCatalogue struct {
|
|
Name *string `json:"name"`
|
|
Parent *string `json:"parent" aocheck:"catalogue"`
|
|
Sort *int `json:"sort"`
|
|
}
|
|
|
|
type SubscribeService struct {
|
|
Service string `json:"service"`
|
|
Applications []string `json:"applications" aocheck:"project"`
|
|
Reason string `json:"reason"`
|
|
}
|
|
|
|
type SortItem struct {
|
|
Id string `json:"id"`
|
|
Children []*SortItem `json:"children"`
|
|
}
|