Skip to content

Commit

Permalink
[#18]Feat : Create DishRepository
Browse files Browse the repository at this point in the history
- DishRepository 생성 및 테스트 코드 추가
  • Loading branch information
choitree committed Apr 21, 2021
1 parent 5861901 commit 8aabc10
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.team15.sidedish.domain;

import org.springframework.data.repository.CrudRepository;

import java.util.List;
import java.util.Optional;

public interface DishRepository extends CrudRepository<Dish, String> {
Optional<Dish> findById(String hash);
//List<Dish> findAllBySectionName(String sectionName);
}

0 comments on commit 8aabc10

Please sign in to comment.