forked from Olympic/NTO-2025-Backend-TeamTask
Update src/main/java/com/example/nto/service/EmployeeService.java
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user