package gc.mda.kcg.master;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface PatrolShipRepository extends JpaRepository<PatrolShip, Long> {

    List<PatrolShip> findByIsActiveTrueOrderByShipCode();

    List<PatrolShip> findByCurrentStatus(String status);
}
