package com.red.circle.console.infra.database.rds.dao.app.invite;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.red.circle.console.infra.database.rds.dto.app.invite.InviteCampaignInviteeQuery;
import com.red.circle.console.infra.database.rds.dto.app.invite.InviteCampaignInviteeRow;
import com.red.circle.console.infra.database.rds.dto.app.invite.InviteCampaignInviterQuery;
import com.red.circle.console.infra.database.rds.dto.app.invite.InviteCampaignInviterRow;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 邀请活动自定义查询 DAO.
 */
@Mapper
public interface InviteCampaignQueryDAO {

  IPage<InviteCampaignInviterRow> pageInviters(IPage<?> page,
      @Param("query") InviteCampaignInviterQuery query);

  IPage<InviteCampaignInviteeRow> pageInvitees(IPage<?> page,
      @Param("query") InviteCampaignInviteeQuery query);
}
