add dto, refactor names, update controllers #14

Merged
mirrerror merged 4 commits from dimas into master 2023-10-05 10:42:37 +00:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit f4ca6b8f08 - Show all commits

View File

@@ -10,7 +10,7 @@ import java.util.List;
@Service
public class ExpenseService {
private ExpenseRepository expenseRepository;
private final ExpenseRepository expenseRepository;
@Autowired
public ExpenseService(ExpenseRepository expenseRepository) {

View File

@@ -10,7 +10,7 @@ import java.util.List;
@Service
public class IncomeService {
private IncomeRepository incomeRepository;
private final IncomeRepository incomeRepository;
@Autowired
public IncomeService(IncomeRepository incomeRepository) {

View File

@@ -10,7 +10,7 @@ import java.util.List;
@Service
public class UserService {
private UserRepository userRepository;
private final UserRepository userRepository;
@Autowired
public UserService(UserRepository userRepository) {