package com.YuyeTech.TPlat.repository;

import com.YuyeTech.TPlat.dataobject.LevelHonor;
import com.YuyeTech.TPlat.dataobject.LevelJump;
import com.YuyeTech.TPlat.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);
}
