package com.rera.mss.repository

import com.rera.mss.model.Name
import com.rera.mss.model.Role
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository

@Repository
interface RoleRepository : JpaRepository<Role, Long> {
    fun findByName(name: Name): Role?
}