forked from Olympic/NTO-2025-Backend-TeamTask
14 lines
230 B
Java
14 lines
230 B
Java
package com.example.nto.service;
|
|
|
|
import com.example.nto.entity.Employee;
|
|
|
|
import java.util.Optional;
|
|
|
|
|
|
public interface EmployeeService {
|
|
|
|
boolean existsByCode(String code);
|
|
|
|
Optional<Employee> findByCode(String code);
|
|
}
|