File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
src/main/java/dmu/dasom/api/domain/activity/repository Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 1+ package dmu .dasom .api .domain .activity .repository ;
2+
3+ import dmu .dasom .api .domain .activity .entity .Activity ;
4+ import org .springframework .data .jpa .repository .JpaRepository ;
5+
6+ public interface ActivityRepository extends JpaRepository <Activity , Long > {
7+
8+ }
Original file line number Diff line number Diff line change 1+ package dmu .dasom .api .domain .activity .repository ;
2+
3+ import dmu .dasom .api .domain .activity .entity .Section ;
4+ import org .springframework .data .jpa .repository .JpaRepository ;
5+ import org .springframework .stereotype .Repository ;
6+
7+ import java .util .Optional ;
8+
9+ @ Repository
10+ public interface SectionRepository extends JpaRepository <Section , Long > {
11+ Optional <Section > findByName (String name );
12+ }
You can’t perform that action at this time.
0 commit comments