Skip to content

Commit

Permalink
Merge pull request #19 from Soongsil-CoffeeChat/init/#17
Browse files Browse the repository at this point in the history
init: mentor, mentee's Repo
  • Loading branch information
KimKyoHwee authored Mar 31, 2024
2 parents b9cff09 + 10f9db8 commit 387b12e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/com/soongsil/CoffeeChat/entity/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@ public class User {
@Column
private String role;

//TODO: 이제 추가적으로 입력받는 정보
}
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);
}
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);
}

0 comments on commit 387b12e

Please sign in to comment.