package com.kamco.cd.kamcoback.postgres.repository;

import com.kamco.cd.kamcoback.postgres.entity.AnimalEntity;
import com.kamco.cd.kamcoback.zoo.dto.AnimalDto;
import java.util.Optional;
import org.springframework.data.domain.Page;

public interface AnimalRepositoryCustom {

  Optional<AnimalEntity> getAnimalByUid(Long uid);

  Optional<AnimalEntity> getAnimalByUuid(String uuid);

  Page<AnimalEntity> listAnimal(AnimalDto.SearchReq req);
}
