mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-06-04 12:56:06 +00:00
14 lines
321 B
Java
14 lines
321 B
Java
package com.openisle.repository;
|
|
|
|
import com.openisle.model.Image;
|
|
import org.springframework.data.jpa.repository.JpaRepository;
|
|
|
|
import java.util.Optional;
|
|
|
|
/**
|
|
* Repository for images stored on COS.
|
|
*/
|
|
public interface ImageRepository extends JpaRepository<Image, Long> {
|
|
Optional<Image> findByUrl(String url);
|
|
}
|