package com.td.Dawa.game.excelcharactercreate.repository;

import com.td.Dawa.common.repository.*;
import com.td.Dawa.game.excelcharactercreate.pojo.ExcelCharacterCreate;
import org.springframework.data.domain.Sort;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ExcelCharacterCreateRepository extends CommonRepository<ExcelCharacterCreate, Integer> {

    //List<ExcelCharacterCreate> findALlByRoleIdIn(List<Integer> roleId, Sort sort);

    List<ExcelCharacterCreate> findAllByIdIn(List<Integer> id, Sort sort);

    List<ExcelCharacterCreate> findAllByModelIn(Integer[] models,Sort sort);
}
