2024-01-02 14:04:16 +00:00
|
|
|
package benefactorkindboxreqparam
|
2023-12-25 17:08:19 +00:00
|
|
|
|
2024-07-03 17:18:06 +00:00
|
|
|
import (
|
|
|
|
"git.gocasts.ir/ebhomengo/niki/param"
|
|
|
|
)
|
2023-12-25 17:08:19 +00:00
|
|
|
|
2024-07-03 17:18:06 +00:00
|
|
|
type GetAllRequest struct {
|
|
|
|
Pagination param.PaginationRequest
|
|
|
|
Sort param.SortRequest
|
|
|
|
Filter param.FilterRequest
|
2023-12-25 17:08:19 +00:00
|
|
|
}
|
|
|
|
|
2024-07-03 17:18:06 +00:00
|
|
|
type GetAllResponse struct {
|
2024-09-10 20:55:19 +00:00
|
|
|
Data []Data `json:"data"`
|
|
|
|
Pagination param.PaginationResponse `json:"pagination"`
|
|
|
|
FieldErrors map[string]string `json:"field_errors,omitempty"`
|
2023-12-25 17:08:19 +00:00
|
|
|
}
|