package com.gyee.wisdom.dao.sql.system.repository;

import com.gyee.wisdom.dao.sql.system.entity.RoleEntity;
import com.gyee.wisdom.dao.sql.system.entity.UserEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;


@Repository
public interface RoleRepository extends JpaRepository<RoleEntity, String>, JpaSpecificationExecutor {

    RoleEntity findFirstByName(String roleName);

}
