2025-03-21 11:05:42 +08:00

18 lines
326 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"`
Children []*DTreeDto `json:"children"`
}