package com.red.circle.order.inner.endpoint.api;

import com.red.circle.framework.dto.PageResult;
import com.red.circle.framework.dto.ResultResponse;
import com.red.circle.order.inner.model.cmd.MonthlyRechargePageTableQry;
import com.red.circle.order.inner.model.cmd.QualityUserMonthlyPageTableQry;
import com.red.circle.order.inner.model.dto.MonthlyRechargeUserDTO;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 每月充值用户.
 *
 * @author pengliang on 2024/1/23
 */
public interface MonthlyRechargeUserClientApi {

  String API_PREFIX = "/monthly/recharge/user/client";

  /**
   * 分页查询(运营后台).
   */
  @PostMapping("/opsPageQuery")
  ResultResponse<PageResult<MonthlyRechargeUserDTO>> opsPageQuery(
      @RequestBody QualityUserMonthlyPageTableQry qry);


  /**
   * 分页查询(运营后台).
   */
  @PostMapping("/opsPageMonthlyQuery")
  ResultResponse<PageResult<MonthlyRechargeUserDTO>> opsPageMonthlyQuery(
      @RequestBody MonthlyRechargePageTableQry qry);

}
