package com.YuyeTech.HeartRate.game.levelInfo.repository;

import com.YuyeTech.HeartRate.game.levelInfo.projo.LevelHonor;
import com.YuyeTech.HeartRate.dto.LevelHonorDTO;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

/**
 * @author:slambb
 * @date:2021/8/4
 */
public interface LevelHonorRepository extends JpaRepository<LevelHonor,Integer>{

    Optional<LevelHonorDTO> findByType(Integer type);
}
