ohctechv3/.svn/pristine/d3/d3bf1b358845b9547150d0cb4e5d94b20b55fa0e.svn-base
2024-10-28 15:03:36 +05:30

20 lines
587 B
Plaintext

package com.healthcare.ohctech.service;
import com.healthcare.ohctech.dto.ItemDto;
import com.healthcare.ohctech.entity.Item;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import java.util.List;
import java.util.Map;
public interface ItemService {
Item getItemById(Long itemId);
Page<Item> getAllItems(Pageable pageable);
void addItem(ItemDto itemDto, Long userId);
void updateItem(ItemDto itemDto, Long userId);
void deleteItem(Long itemId);
List<Map<String, String>> getItemNamesAndCodesWithMedicineForm();
}