package com.healthcare.ohctech.service; import com.healthcare.ohctech.dto.OhcDto; import com.healthcare.ohctech.entity.OhcType; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.domain.Specification; import java.util.List; public interface OhcService { public OhcType getOhcById(Integer ohcId); public Page getAllOhc(Pageable pageable); public void addOhc(OhcDto ohcDto); public OhcType updateOhc(OhcDto ohcDto); public void deleteOhc(Integer ohcId); }