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.ProjectSaleType;

@Repository
public interface ProjectSaleTypeRepository extends MyRepository<ProjectSaleType, Integer> {

    Optional<ProjectSaleType> findByName(String name);

    Optional<ProjectSaleType> findByCode(String code);
}
