19 package org.turro.financials.entity;
21 import java.util.Date;
22 import javax.persistence.Column;
23 import javax.persistence.Entity;
24 import javax.persistence.GeneratedValue;
25 import javax.persistence.GenerationType;
26 import javax.persistence.Id;
27 import javax.persistence.OneToOne;
28 import javax.persistence.Temporal;
29 import javax.persistence.TemporalType;
39 @GeneratedValue(strategy=GenerationType.IDENTITY)
40 @Column(name=
"IDENTIFIER")
46 @Column(nullable=
false)
47 @Temporal(value = TemporalType.DATE)
48 private Date transactionDate;
50 @Column(nullable=
false)
51 @Temporal(value = TemporalType.DATE)
52 private Date valueDate;
54 private String concept;
56 private double debit, credit, balance;
58 private long registerOrder;
73 this.contract = contract;
77 return transactionDate;
81 this.transactionDate = transactionDate;
89 this.valueDate = valueDate;
97 this.concept = concept;
113 this.credit = credit;
121 this.balance = balance;
125 return registerOrder;
129 this.registerOrder = registerOrder;
void setRegisterOrder(long registerOrder)
Date getTransactionDate()
void setDebit(double debit)
void setTransactionDate(Date transactionDate)
void setValueDate(Date valueDate)
void setCredit(double credit)
void setConcept(String concept)
void setContract(Contract contract)
void setBalance(double balance)