package com.red.circle.other.inner.endpoint.dynamic.api;

import com.red.circle.framework.dto.PageResult;
import com.red.circle.framework.dto.ResultResponse;
import com.red.circle.other.inner.model.cmd.approval.ApprovalProfileDescQryCmd;
import com.red.circle.other.inner.model.cmd.approval.ApprovalUserProfileQryCmd;
import com.red.circle.other.inner.model.dto.approval.ApprovalProfileDescDTO;
import com.red.circle.other.inner.model.dto.approval.ApprovalUserProfileDTO;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 用户审批相关列表
 *
 * @author zongpubin on 2024/1/22
 */
public interface ApprovalUserSettingInfoClientApi {

  String API_PREFIX = "/approval/user-setting/client";

  @PostMapping("/pageProfileDescApproval")
  ResultResponse<PageResult<ApprovalProfileDescDTO>> pageProfileDescApproval(
      @RequestBody ApprovalProfileDescQryCmd query);

  @PostMapping("/pageUserProfileApproval")
  ResultResponse<PageResult<ApprovalUserProfileDTO>> pageUserProfileApproval(
      @RequestBody ApprovalUserProfileQryCmd query);
}
