Compare commits
3 Commits
05797d47d4
...
c093fcad24
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c093fcad24 | ||
|
|
bae92ded58 | ||
|
|
210579de68 |
@@ -0,0 +1,5 @@
|
|||||||
|
package com.example.demo.app.domain.service;
|
||||||
|
|
||||||
|
public interface TransactionService {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
package com.example.demo.app.domain.service.impl;
|
||||||
|
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
import com.example.demo.app.domain.service.TransactionService;
|
||||||
|
|
||||||
|
@Service
|
||||||
|
public class TransactionServiceImpl implements TransactionService{
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
package com.example.demo.app.infra.repository;
|
||||||
|
|
||||||
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
|
||||||
|
import com.example.demo.app.infra.entity.TransactionEntity;
|
||||||
|
|
||||||
|
public interface TransactionRepository extends JpaRepository<TransactionEntity, Long>{
|
||||||
|
|
||||||
|
}
|
||||||
@@ -2,10 +2,16 @@ package com.example.demo.app.presentation.controller;
|
|||||||
|
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
|
|
||||||
|
import com.example.demo.app.domain.service.TransactionService;
|
||||||
|
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
|
|
||||||
@Controller
|
@Controller
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class SelectTransactionController {
|
public class TransactionController {
|
||||||
|
|
||||||
|
private final TransactionService transactionService;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user