mirror of https://github.com/go-sonic/sonic.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
536 B
Go
21 lines
536 B
Go
package dto
|
|
|
|
type CategoryDTO struct {
|
|
ID int32 `json:"id"`
|
|
Name string `json:"name"`
|
|
Slug string `json:"slug"`
|
|
Description string `json:"description"`
|
|
Thumbnail string `json:"thumbnail"`
|
|
ParentID int32 `json:"parentId"`
|
|
Password string `json:"password"`
|
|
CreateTime int64 `json:"createTime"`
|
|
FullPath string `json:"fullPath"`
|
|
Priority int32 `json:"priority"`
|
|
Type int32 `json:"type"`
|
|
}
|
|
|
|
type CategoryWithPostCount struct {
|
|
*CategoryDTO
|
|
PostCount int32 `json:"postCount"`
|
|
}
|