package com.accenture.multibank.bank;

import com.accenture.multibank.accounts.AccountType;

/**
 * @author manuel
 * @version 11/29/16
 */
public interface Bank {
    // TODO: Generic bank because the account number may not be represented by an integer
    boolean withdraw(Integer accountNumber, int amount);
    boolean deposit(Integer accountNumber, int amount);
    boolean transfer(Integer fromAccountNumber, Integer toAccountNumber, int amount);
    Integer createAccount(AccountType type, int balance);
}

@@ -84,16 +84,63 @@
 untType;
+%0Aimport org.springframework.stereotype.Service;
 %0A%0A/**%0A *
@@ -180,16 +180,25 @@
 /16%0A */%0A
+@Service%0A
 public i

add service annotation