package kr.co.accura.wbx.spring.admin;

import kr.co.accura.wbx.spring.rbac.WbxRole;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface WbxRoleRepository extends JpaRepository<WbxRole, Long> {
    Optional<WbxRole> findByCode(String code);
}
