student-30864-patch-1 #11

Closed
student-30864 wants to merge 19 commits from student-30864/NTO-2025-Backend-TeamTask-1:student-30864-patch-1 into main
Showing only changes of commit ffe6d20c58 - Show all commits

View File

@@ -1,10 +1,13 @@
package com.example.nto.service;
/**
* TODO: ДОРАБОТАТЬ в рамках задания
* =================================
* МОЖНО: Добавлять методы, аннотации, зависимости
* НЕЛЬЗЯ: Изменять название класса и пакета
*/
import com.example.nto.entity.Employee;
import java.util.Optional;
public interface EmployeeService {
boolean existsByCode(String code);
Optional<Employee> findByCode(String code);
}