package com.toscana.model.reports;

import com.toscana.model.sessions.Session;
import com.toscana.model.reports.templates.ReceiptTemplate;

public class ReceiptCashOut {

    /*
     * Class methods
     */
    /*
     * Getters and Setters
     */
    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public Session getSession() {
        return session;
    }

    public void setSession(Session session) {
        this.session = session;
    }

    public double getRetirementAmount() {
        return retirementAmount;
    }

    public void setRetirementAmount(double retirementAmount) {
        this.retirementAmount = retirementAmount;
    }

    public String getCurrencyType() {
        return currencyType;
    }

    public void setCurrencyType(String currencyType) {
        this.currencyType = currencyType;
    }

    public ReceiptTemplate getReceiptTempleate() {
        return receiptTempleate;
    }

    public void setReceiptTempleate(ReceiptTemplate receiptTempleate) {
        this.receiptTempleate = receiptTempleate;
    }

    
     /*
     * Inner methods
     */
    
     /*
     * Attributes
     */
    private int ID;
    private Session session;
    private double retirementAmount;
    private String currencyType;
    private ReceiptTemplate receiptTempleate;
}

@@ -132,16 +132,78 @@
 mplate;%0A
+import javax.persistence.*;%0A%0A@Entity%0A@Table (name = %22cashout%22)
 %0Apublic 
@@ -1255,52 +1255,181 @@
     
-private int ID;%0A    private Session session;
+@Id%0A    @Column (name = %22ID%22)%0A    @GeneratedValue%0A    private int ID;%0A    @Column (name = %22session%22)%0A    @OneToOne%0A    private Session session;%0A    @Column (name = %22amount%22)
 %0A   
@@ -1458,24 +1458,59 @@
 mentAmount;%0A
+    @Column (name = %22curencytype%22)%0A
     private 
@@ -1526,24 +1526,29 @@
 rrencyType;%0A
+    %0A
     private 

Update ReciptCashOut