Interface TaxRateRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<TaxRate,,Integer> org.springframework.data.repository.PagingAndSortingRepository<TaxRate,,Integer> org.springframework.data.repository.Repository<TaxRate,Integer>
public interface TaxRateRepository
extends org.springframework.data.repository.CrudRepository<TaxRate,Integer>, org.springframework.data.repository.PagingAndSortingRepository<TaxRate,Integer>
Repository for interacting with the tax_rate table in postgres.
-
Method Summary
Modifier and TypeMethodDescriptionfindDistinctById(int id) Used to find individual tax rate entries in the database.Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll, findAll
-
Method Details
-
findDistinctById
Used to find individual tax rate entries in the database.- Parameters:
id- id- Returns:
- tax rate entity
-