2025-03-28 17:51:34 +08:00

19 lines
359 B
Go

package dto
type TreeDto struct {
ID int `json:"id"`
Title string `json:"title"`
Children []*TreeDto `json:"children"`
}
type DTreeDto struct {
ID string `json:"id"`
Title string `json:"title"`
Last bool `json:"last"`
ParentId string `json:"parentId"`
Spread bool `json:"spread"`
Children []*DTreeDto `json:"children"`
}