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

import java.util.Optional;

import org.springframework.stereotype.Repository;

import com.ecep.contract.ds.MyRepository;
import com.ecep.contract.model.ProjectIndustry;

@Repository
public interface ProjectIndustryRepository extends MyRepository<ProjectIndustry, Integer> {

    Optional<ProjectIndustry> findByName(String name);

    Optional<ProjectIndustry> findByCode(String code);
}
