package cn.reghao.bnt.web.admin.db.repository;

import cn.reghao.bnt.web.admin.model.po.Role;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @author reghao
 * @date 2019-08-29 10:52:14
 */
public interface RoleRepository extends JpaRepository<Role, Integer>, JpaSpecificationExecutor<Role> {
    Role findByName(String name);
}
