Skip to content

Commit

Permalink
#16 [Create] store domian 뼈대 구성
Browse files Browse the repository at this point in the history
  • Loading branch information
Anna-Jin committed Jul 8, 2022
1 parent 797b7f5 commit 0644697
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package com.mpnp.baechelin.store.controller;

import com.mpnp.baechelin.store.service.StoreService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequiredArgsConstructor
@RequestMapping("/store")
public class StoreController {

private final StoreService storeService;


}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package com.mpnp.baechelin.store.repository;

import com.mpnp.baechelin.store.domain.Store;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface StoreRepository extends JpaRepository<Store, Integer> {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package com.mpnp.baechelin.store.service;

import org.springframework.stereotype.Service;

@Service
public class StoreService {
}

0 comments on commit 0644697

Please sign in to comment.