package com.nameless.bank.logic;

/**
 * Created by  on 05.03.2016.
 */
public class Transaction {
    private int id;
    Account from;
    Account to;
    int amount;

    public Transaction(){}

    public Transaction(int id, Account from, Account to, int amount) {
        this.id = id;
        this.from = from;
        this.to = to;
        this.amount = amount;
    }

    public int getId() {
        return id;
    }

    public Account getFrom() {
        return from;
    }

    public Account getTo() {
        return to;
    }

    public int getAmount() {
        return amount;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setFrom(Account from) {
        this.from = from;
    }

    public void setTo(Account to) {
        this.to = to;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    @Override
    public String toString() {
        return "    "+amount+" .    "+from.getHolder().getName()+"    "+to.getHolder().getName();
    }
}

@@ -48,16 +48,20 @@
 ated by 
+%D0%93%D0%BB%D0%B5%D0%B1
  on 05.0
@@ -992,27 +992,73 @@
 rn %22
-    %22+amount+%22 .   
+%D0%9E%D1%81%D1%83%D1%89%D0%B5%D1%81%D1%82%D0%B2%D0%BB%D0%B5%D0%BD%D0%B0 %D1%82%D1%80%D0%B0%D0%BD%D0%B7%D0%B0%D1%86%D0%B8%D1%8F %D0%B2 %D1%80%D0%B0%D0%B7%D0%BC%D0%B5%D1%80%D0%B5 %22+amount+%22 %D1%80%D1%83%D0%B1. %D1%81%D0%BE %D1%81%D1%87%D0%B5%D1%82%D0%B0 %D0%BA%D0%BB%D0%B8%D0%B5%D0%BD%D1%82%D0%B0
  %22+f
@@ -1085,18 +1085,31 @@
 ame()+%22 
-  
+%D0%BD%D0%B0 %D1%81%D1%87%D0%B5%D1%82 %D0%BA%D0%BB%D0%B8%D0%B5%D0%BD%D1%82%D0%B0
  %22+to.ge

Update Transaction.java