package com.dbnt.faisp.main.faStatistics.crackdownsStatus.repository;

import com.dbnt.faisp.main.faStatistics.crackdownsStatus.model.fishingBoat.FishingBoat;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface FishingBoatRepository extends JpaRepository<FishingBoat, Integer> {

    Optional<FishingBoat> findByCdsKey(Integer cdsKey);
    Optional<FishingBoat> findByFbKey(Integer fbKey);

}
