Skip to content

Commit

Permalink
ADD: Mument Entity에 대해 Spring Data JPA Custom Repository 구성 #4
Browse files Browse the repository at this point in the history
  • Loading branch information
kimchaeeun3447 committed Jun 3, 2023
1 parent 67f09ba commit decbbe0
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,7 @@
package com.mument.mument.core.mument.repository;

import com.mument.mument.core.mument.domain.Mument;
import org.springframework.data.jpa.repository.JpaRepository;

public interface MumentRepository extends JpaRepository<Mument, Long>, MumentRepositoryCustom {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package com.mument.mument.core.mument.repository;

public interface MumentRepositoryCustom {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package com.mument.mument.core.mument.repository;

import com.querydsl.jpa.impl.JPAQueryFactory;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Repository;

@Repository
@RequiredArgsConstructor
public class MumentRepositoryImpl implements MumentRepositoryCustom {

private final JPAQueryFactory queryFactory;
}

0 comments on commit decbbe0

Please sign in to comment.