-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
init: mentor, mentee's Repo
- Loading branch information
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,5 +27,4 @@ public class User { | |
@Column | ||
private String role; | ||
|
||
//TODO: 이제 추가적으로 입력받는 정보 | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/java/com/soongsil/CoffeeChat/repository/MenteeRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package com.soongsil.CoffeeChat.repository; | ||
|
||
import com.soongsil.CoffeeChat.entity.Mentee; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface MenteeRepository extends JpaRepository<Mentee, Long> { | ||
Mentee findByUsername(String username); | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/java/com/soongsil/CoffeeChat/repository/MentorRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package com.soongsil.CoffeeChat.repository; | ||
|
||
import com.soongsil.CoffeeChat.entity.Mentor; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface MentorRepository extends JpaRepository<Mentor, Long> { | ||
Mentor findByUsername(String username); | ||
} |