package com.itsol.quantrivanphong.manage.timesheet.repository;

import com.itsol.quantrivanphong.model.Employee;
import com.itsol.quantrivanphong.model.Eproject;
import org.springframework.data.jpa.repository.JpaRepository;

public interface EProjectRepository extends JpaRepository<Eproject, Integer> {
//    Eproject findEprojectById(int id);
    Eproject findEprojectByEmployee(Employee employee);

    Eproject findEprojectByIdAndEmployee(int eProject_Id, Employee employee);
}
