package com.red.circle.other.infra.database.rds.dao.sys;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.red.circle.framework.mybatis.dao.BaseDAO;
import com.red.circle.other.infra.database.rds.entity.sys.Administrator;
import com.red.circle.other.inner.model.cmd.sys.AppUserDetailsQryCmd;
import com.red.circle.other.inner.model.dto.sys.SysAdministratorInfoDTO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * APP管理员表 Mapper 接口.
 * </p>
 *
 * @author pengliang
 * @since 2021-03-30
 */
public interface AdministratorDAO extends BaseDAO<Administrator> {

  IPage<SysAdministratorInfoDTO> pageUserDetails(IPage<Administrator> page,
      @Param("query") AppUserDetailsQryCmd appUserDetailsQuery);
}
