package adminkindboxreqparam

import (
	"git.gocasts.ir/ebhomengo/niki/param"
	adminbenefactoreparam "git.gocasts.ir/ebhomengo/niki/param/admin/benefactor"
)

type KindBoxReqGetAllRequest struct {
	Pagination param.PaginationRequest
	Sort       param.SortRequest
	Filter     param.FilterRequest
	Search     param.SearchRequest
}

type Info struct {
	Benefactors []adminbenefactoreparam.Data `json:"benefactors"`
}

type KindBoxReqGetAllResponse struct {
	Data        []Data                   `json:"data"`
	Info        Info                     `json:"info"`
	Pagination  param.PaginationResponse `json:"pagination"`
	FieldErrors map[string]string        `json:"field_errors,omitempty"`
}
