19 lines
528 B
Plaintext
19 lines
528 B
Plaintext
package com.healthcare.ohctech.service;
|
|
|
|
import com.healthcare.ohctech.dto.FoodMasterDto;
|
|
import com.healthcare.ohctech.entity.FoodMaster;
|
|
import org.springframework.data.domain.Page;
|
|
import org.springframework.data.domain.Pageable;
|
|
|
|
public interface FoodMasterService {
|
|
FoodMaster getFoodById(Long foodId);
|
|
|
|
Page<FoodMaster> getAllFoods(Pageable pageable);
|
|
|
|
void addFood(FoodMasterDto foodMasterDto, Long userId);
|
|
|
|
void updateFood(FoodMasterDto foodMasterDto, Long userId);
|
|
|
|
void deleteFood(Long foodId);
|
|
}
|