18 lines
497 B
Go
18 lines
497 B
Go
package models
|
|
|
|
import "penahub.gitlab.yandexcloud.net/backend/quiz/common.git/model"
|
|
|
|
type Category struct {
|
|
ID int32 `json:"id"`
|
|
Name string `json:"name"`
|
|
Sort int32 `json:"sort"`
|
|
EntityTypeId model.IntegerEntityType `json:"entityTypeId"`
|
|
IsDefault model.BitrixIsDefault `json:"isDefault"`
|
|
}
|
|
|
|
type CategoryResponse struct {
|
|
Result struct {
|
|
Categories []Category `json:"categories"`
|
|
} `json:"result"`
|
|
}
|