package com.YuyeTech.TPlat.game.gameInfo.repository;

import com.YuyeTech.TPlat.game.gameInfo.projo.FcCategoryReference;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;


/**
 * @author:slambb
 * @date:2020/1/16
 */
public interface FcCategoryReferenceRepository extends JpaRepository<FcCategoryReference,Integer> {

    Page<FcCategoryReference> findByGameId(String gameId, Pageable pageable);

    Page<FcCategoryReference> findByCategoryId(Integer categoryId,Pageable pageable);
}
