forked from ebhomengo/niki
1
0
Fork 0
niki/param/admin/kind_box/get_all.go

19 lines
480 B
Go
Raw Normal View History

2023-12-25 17:08:19 +00:00
package adminkindboxparam
2024-07-09 17:17:04 +00:00
import (
"git.gocasts.ir/ebhomengo/niki/entity"
"git.gocasts.ir/ebhomengo/niki/param"
)
2024-07-09 17:17:04 +00:00
type KindBoxGetAllRequest struct {
Pagination param.PaginationRequest
Sort param.SortRequest
Filter param.FilterRequest
}
type KindBoxGetAllResponse struct {
AllKindBox []entity.KindBox `json:"all_kind_box"`
Pagination param.PaginationResponse `json:"pagination"`
FieldErrors map[string]string `json:"field_errors,omitempty"`
}