package com.crm.ucard.dao.repository;

import com.crm.rely.backend.core.pojo.table.ucard.CardGlobalCurrenciesFieldAvailableTable;
import com.crm.rely.backend.dao.repository.BaseRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CardGlobalCurrenciesFieldAvailableRepository extends BaseRepository<CardGlobalCurrenciesFieldAvailableTable> {

    List<CardGlobalCurrenciesFieldAvailableTable> findAllByFieldId(Long fieldId);
    CardGlobalCurrenciesFieldAvailableTable findAllByFieldIdAndValueId(Long fieldId, String valueId);
}
