package ru.vyatsu.qr_access_admin.unit.entity;

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

import java.util.List;

@Repository
public interface UnitRepository extends JpaRepository<UnitEntity, String> {
    List<UnitEntity> findAllByAdminEditableIsTrue();
}
