3 Commits

4 changed files with 31 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
package com.example.demo.app.domain.service;
public interface TransactionService {
}

View File

@@ -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{
}

View File

@@ -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>{
}

View File

@@ -2,10 +2,16 @@ package com.example.demo.app.presentation.controller;
import org.springframework.stereotype.Controller;
import com.example.demo.app.domain.service.TransactionService;
import lombok.RequiredArgsConstructor;
@Controller
@RequiredArgsConstructor
public class SelectTransactionController {
public class TransactionController {
private final TransactionService transactionService;
}