package cn.reghao.oss.console.account.db.repository;

import cn.reghao.oss.console.account.model.po.DiskFile;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author reghao
 * @date 2024-01-29 09:24:29
 */
public interface DiskFileRepository extends JpaRepository<DiskFile, Integer> {
    DiskFile findByObjectName(String objectName);
    List<DiskFile> findBySha256sum(String sha256sum);
}
