Revision 45549
Added by Panagiotis Kanakakis over 7 years ago
Request.java | ||
---|---|---|
50 | 50 |
private Budget budget; |
51 | 51 |
|
52 | 52 |
//@Column(columnDefinition = "text default 'EUR'") |
53 |
private String currency; |
|
53 |
@Basic |
|
54 |
@Convert( converter=CurrencyConverter.class ) |
|
55 |
private Currency currency; |
|
54 | 56 |
|
55 | 57 |
private Timestamp date; |
56 | 58 |
|
... | ... | |
217 | 219 |
this.budget = budget; |
218 | 220 |
} |
219 | 221 |
|
220 |
public String getCurrency() {
|
|
222 |
public Currency getCurrency() {
|
|
221 | 223 |
return this.currency; |
222 | 224 |
} |
223 | 225 |
|
224 |
public void setCurrency(String currency) {
|
|
226 |
public void setCurrency(Currency currency) {
|
|
225 | 227 |
this.currency = currency; |
226 | 228 |
} |
227 | 229 |
|
Also available in: Unified diff