19 lines
544 B
Plaintext
19 lines
544 B
Plaintext
package com.healthcare.ohctech.service;
|
|
|
|
import com.healthcare.ohctech.dto.InjuryTypeDto;
|
|
import com.healthcare.ohctech.entity.InjuryType;
|
|
import org.springframework.data.domain.Page;
|
|
import org.springframework.data.domain.Pageable;
|
|
|
|
public interface InjuryTypeService {
|
|
InjuryType getInjuryTypeById(Long injuryTypeId);
|
|
|
|
Page<InjuryType> getAllInjuryTypes(Pageable pageable);
|
|
|
|
void addInjuryType(InjuryTypeDto injuryTypeDto);
|
|
|
|
void updateInjuryType(InjuryTypeDto injuryTypeDto);
|
|
|
|
void deleteInjuryType(Long injuryTypeId);
|
|
}
|