Skip to content

Commit

Permalink
chore: repository 패키지 생성 및 JPA repository 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
mirupio committed Feb 14, 2025
1 parent 9908565 commit f05a8b3
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.untitled.cherrymap.repository;

import com.untitled.cherrymap.domain.AlertMessage;
import org.springframework.data.jpa.repository.JpaRepository;

public interface AlertMessageRepository extends JpaRepository<AlertMessage, Long> {
AlertMessage findByMode(String mode);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.untitled.cherrymap.repository;

import com.untitled.cherrymap.domain.Member;
import org.springframework.data.jpa.repository.JpaRepository;

public interface MemberRepository extends JpaRepository<Member, Long> {
Member findByProviderId(String providerId);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package com.untitled.cherrymap.repository;

import com.untitled.cherrymap.domain.Route;
import org.springframework.data.jpa.repository.JpaRepository;

public interface RouteRepository extends JpaRepository<Route, Long> {
}

0 comments on commit f05a8b3

Please sign in to comment.