add pagination approval flows

This commit is contained in:
efrilm
2025-10-10 19:02:52 +07:00
parent 239f052a9a
commit 3717b0b53c
5 changed files with 83 additions and 34 deletions
@@ -245,7 +245,8 @@ type ApprovalFlowStepResponse struct {
type ListApprovalFlowsRequest struct {
Limit int `json:"limit"`
Offset int `json:"offset"`
Page int `json:"page"`
Search *string `json:"search"`
DepartmentID *uuid.UUID `json:"department_id,omitempty"`
IsActive *bool `json:"is_active,omitempty"`
}