package kr.co.accura.wtm.domain.user.repository;

import kr.co.accura.wtm.domain.user.entity.HrUpload;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HrUploadRepository extends JpaRepository<HrUpload, Long> {

    List<HrUpload> findByUser_IdOrderByCreatedAtDesc(Long userId);

    List<HrUpload> findByStatus(String status);
}
