package com.YuyeTech.TPlat.service;

import com.YuyeTech.TPlat.dataobject.FcInfo;
import com.YuyeTech.TPlat.dataobject.GameInfo;
import com.YuyeTech.TPlat.dto.FcDTO;
import com.YuyeTech.TPlat.dto.GameDTO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

/**
 * 游戏
 *
 * @author:slambb
 * @date:2020/1/10
 */
public interface FcInfoService {

    /**
     * 根据游戏类目type，来查询对应的游戏列表.
     */
    List<FcDTO> findList(String userId, Integer categoryType, String endTime, Pageable pageable);

    Page<FcInfo> findPage(String userId, Integer categoryType, Pageable pageable);

    List<FcDTO> findListByType(String userId, Integer categoryNumber, String endTime, Pageable pageable);

    /**
     * 查询全部游戏
     */
    List<FcInfo> findAll();

}
