TA 역할 Spring 경계 smoke #6
1 changed files with 13 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
||||||
|
package com.klaroworks.runtime.rolematrix.repository;
|
||||||
|
|
||||||
|
import com.klaroworks.runtime.rolematrix.domain.RoleMatrix;
|
||||||
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
import java.util.Optional;
|
||||||
|
|
||||||
|
/** 역할 매트릭스 JPA 리포지토리 */
|
||||||
|
@Repository
|
||||||
|
public interface RoleMatrixRepository extends JpaRepository<RoleMatrix, Long> {
|
||||||
|
Optional<RoleMatrix> findByName(String name);
|
||||||
|
boolean existsByName(String name);
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue