Interface CowLotRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<CowLot,Long>, org.springframework.data.repository.Repository<CowLot,Long>

@Repository public interface CowLotRepository extends org.springframework.data.repository.CrudRepository<CowLot,Long>
  • Method Details

    • findAllByUserCommonsId

      Iterable<CowLot> findAllByUserCommonsId(Long userCommonsId)
    • findByUserCommonsIdAndHealth

      Optional<CowLot> findByUserCommonsIdAndHealth(Long userCommonsId, Double Health)
    • findTopByUserCommonsIdOrderByHealthDesc

      CowLot findTopByUserCommonsIdOrderByHealthDesc(Long userCommonsId)