package com.ecep.contract.ds.project.repository;

import java.util.List;

import com.ecep.contract.ProjectFileType;
import com.ecep.contract.ds.MyRepository;
import com.ecep.contract.model.Project;
import com.ecep.contract.model.ProjectFile;

public interface ProjectFileRepository extends MyRepository<ProjectFile, Integer> {

    List<ProjectFile> findByProject(Project project);

    List<ProjectFile> findByProjectAndType(Project project, ProjectFileType type);
}