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

import com.td.Dawa.common.repository.*;
import com.td.Dawa.game.comcharactersdiscovery.pojo.ComCharactersDiscovery;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface ComCharactersDiscoveryRepository extends CommonRepository<ComCharactersDiscovery, Integer> {

    Optional<ComCharactersDiscovery> findByUserIdAndSceneId(String userId, Integer sceneId);

}
