package kr.ac.ajou.dsd.kda.repository;

import java.util.List;
import java.util.UUID;

import org.springframework.data.repository.CrudRepository;

import kr.ac.ajou.dsd.kda.model.Meal;

public interface IMealRepository extends CrudRepository<Meal, UUID> {
	
	//Meal findById(UUID uuid);
	
	//Iterable<Meal> findByKoreanName(String query);

	<S extends Meal> S save(Meal meal);

	void delete(Meal meal);
	
	List<Meal> findAll();

}

@@ -333,16 +333,18 @@
 uery);%0A%0A
+//
 %09%3CS exte
@@ -372,17 +372,21 @@
  meal);%0A
-%0A
+//%0A//
 %09void de
@@ -402,16 +402,18 @@
  meal);%0A
+//
 %09%0A%09List%3C

use standard methods of CrudRepository