Skip to content

Commit

Permalink
feat: product 도메인 레포지토리 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
Ogu1208 committed Aug 4, 2024
1 parent 853e6e6 commit 712e848
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package org.store.clothstar.product.repository

import org.springframework.data.jpa.repository.JpaRepository
import org.store.clothstar.product.domain.entity.Item

interface ItemRepository : JpaRepository<Item, Long> {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package org.store.clothstar.product.repository

import org.springframework.data.jpa.repository.JpaRepository
import org.store.clothstar.product.domain.entity.OptionValue

interface OptionValueRepository : JpaRepository<OptionValue, Int> {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package org.store.clothstar.product.repository

import org.springframework.data.jpa.repository.JpaRepository
import org.store.clothstar.product.domain.entity.ProductOption

interface ProductOptionRepository : JpaRepository<ProductOption, Long> {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.store.clothstar.product.repository

import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository
import org.store.clothstar.product.domain.entity.Product

@Repository
interface ProductRepository : JpaRepository<Product, Long> {

}

0 comments on commit 712e848

Please sign in to comment.